]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
Michal Horn [Tue, 26 Feb 2013 16:22:46 +0000 (17:22 +0100)]
Comments added to the source code
Michal Horn [Tue, 26 Feb 2013 16:15:58 +0000 (17:15 +0100)]
Comments to adc added
Michal Horn [Tue, 26 Feb 2013 15:52:47 +0000 (16:52 +0100)]
Global variable removed from header file into souce file
Michal Horn [Tue, 26 Feb 2013 15:51:02 +0000 (16:51 +0100)]
Project file backups added
Michal Horn [Fri, 22 Feb 2013 16:31:55 +0000 (17:31 +0100)]
Header file for HOUT PWM API added
Michal Horn [Fri, 22 Feb 2013 16:29:52 +0000 (17:29 +0100)]
check for bad arguments in hbr set pwm function added
Michal Horn [Fri, 22 Feb 2013 16:29:26 +0000 (17:29 +0100)]
check for bad values as argument to hbr set pwm command added
Michal Horn [Fri, 22 Feb 2013 16:28:46 +0000 (17:28 +0100)]
HOUT pwm commands added
Michal Horn [Fri, 22 Feb 2013 16:28:03 +0000 (17:28 +0100)]
API for HOUT pwm created.
N2HET program modified to control coresponding NHET1 pins
Michal Horn [Fri, 22 Feb 2013 11:48:14 +0000 (12:48 +0100)]
Coments added for din
Michal Horn [Fri, 22 Feb 2013 11:47:40 +0000 (12:47 +0100)]
din help tuned
Michal Horn [Fri, 22 Feb 2013 11:47:06 +0000 (12:47 +0100)]
More intuitive command order for din
Michal Horn [Fri, 22 Feb 2013 11:40:28 +0000 (12:40 +0100)]
comments added and repaired
Michal Horn [Fri, 22 Feb 2013 11:38:49 +0000 (12:38 +0100)]
Better status text, ordered by real pin numbers.
Michal Horn [Fri, 22 Feb 2013 11:38:18 +0000 (12:38 +0100)]
Better identificator for spi response variable.
Return value repaired in reset and switch state commands
Sending switch state command in getter commands
Michal Horn [Fri, 22 Feb 2013 11:32:36 +0000 (12:32 +0100)]
Better values passing as arguments added into commands state write and interrput write
Michal Horn [Fri, 22 Feb 2013 11:31:07 +0000 (12:31 +0100)]
Better values passing as arguments created
Michal Horn [Tue, 19 Feb 2013 22:36:14 +0000 (23:36 +0100)]
din API modified to add new functions, remove old functions and be more encapsulated
Michal Horn [Tue, 19 Feb 2013 22:33:54 +0000 (23:33 +0100)]
commands accessing single pins removed, new commands for setting added, original setting commands repaired
set_pin_st removed
set_pin_pr removed
get_pin_val removed
--
switch_status added
din_reset added
din_int_wr added
--
coments added
Michal Horn [Tue, 19 Feb 2013 18:28:51 +0000 (19:28 +0100)]
Bad DIN pins indexes repaired
Michal Horn [Tue, 19 Feb 2013 18:27:22 +0000 (19:27 +0100)]
Bug in command preparation repaired
LSB -> MSB
Michal Horn [Tue, 19 Feb 2013 17:51:17 +0000 (18:51 +0100)]
Better decription for DIN SPI response
Michal Horn [Tue, 19 Feb 2013 17:50:45 +0000 (18:50 +0100)]
DIN command accepts 16b argument
Michal Horn [Tue, 19 Feb 2013 17:50:07 +0000 (18:50 +0100)]
DIN commands accept pin numbers greater than 9
Michal Horn [Tue, 19 Feb 2013 17:48:48 +0000 (18:48 +0100)]
Bad DIN_INT pin descriptor repaired to be input
Michal Horn [Tue, 19 Feb 2013 10:26:53 +0000 (11:26 +0100)]
N2HET program for HBR_PWM modified to avoid PWM autostart after MCU reset
Michal Horn [Mon, 18 Feb 2013 14:50:41 +0000 (15:50 +0100)]
Commands for HBR_PWM controll added
Michal Horn [Mon, 18 Feb 2013 14:50:01 +0000 (15:50 +0100)]
number base parameter added to read_arg function
Now the function is able to parse other than hexadecimal numbers
Michal Horn [Mon, 18 Feb 2013 14:47:47 +0000 (15:47 +0100)]
Functions for PWM controll added to hbridge API
Michal Horn [Mon, 18 Feb 2013 14:47:16 +0000 (15:47 +0100)]
Program for generating PWM signal on HET7 added
In header is modified structure to avoid syntax error message from compiler
Michal Horn [Mon, 18 Feb 2013 09:50:07 +0000 (10:50 +0100)]
Bug in flexray status command and translator from spi repaired
SPI response is LSB
Michal Horn [Thu, 14 Feb 2013 14:25:31 +0000 (15:25 +0100)]
Added command for reading flexray status
Michal Horn [Thu, 14 Feb 2013 14:25:07 +0000 (15:25 +0100)]
Added API for communicating with flexray chips over SPI
just for getting responses, bacouse those chips are read only
Michal Horn [Tue, 12 Feb 2013 15:20:18 +0000 (16:20 +0100)]
Commands for DAC control added
Michal Horn [Tue, 12 Feb 2013 15:19:59 +0000 (16:19 +0100)]
Help text tuned to look better (tabulators)
Michal Horn [Tue, 12 Feb 2013 15:19:07 +0000 (16:19 +0100)]
Bug in reporting pin state repaired,
Syntax error repaired
Michal Horn [Tue, 12 Feb 2013 15:18:07 +0000 (16:18 +0100)]
Voltage computation for DAC tuned to support more accurate values
Michal Horn [Tue, 12 Feb 2013 15:17:02 +0000 (16:17 +0100)]
DAC communicatin over SPI tuned, one procedure instead of two
Michal Horn [Tue, 12 Feb 2013 15:15:20 +0000 (16:15 +0100)]
DAC constants for exuation from datasheet added
Michal Horn [Tue, 12 Feb 2013 15:14:31 +0000 (16:14 +0100)]
DAC init values repaired
Michal Horn [Tue, 12 Feb 2013 11:45:04 +0000 (12:45 +0100)]
Created API for comfortable control DAC over SPI.
Michal Horn [Mon, 17 Dec 2012 14:55:55 +0000 (15:55 +0100)]
highlevel din command added, not yet tested
Michal Horn [Mon, 17 Dec 2012 11:57:38 +0000 (12:57 +0100)]
lout spi status translator repaired to respect LSB tranfer protocol
Michal Horn [Tue, 11 Dec 2012 09:33:47 +0000 (10:33 +0100)]
pin list command added
Michal Horn [Mon, 10 Dec 2012 14:31:48 +0000 (15:31 +0100)]
Welcome text added, buffer size increased for it
Michal Horn [Mon, 10 Dec 2012 13:57:52 +0000 (14:57 +0100)]
lout control commands added
Michal Horn [Mon, 10 Dec 2012 13:57:43 +0000 (14:57 +0100)]
lout pin control functions added
Michal Horn [Mon, 10 Dec 2012 13:55:49 +0000 (14:55 +0100)]
field getter and setter moved to util.h, baceuse is now used on several places
Michal Horn [Mon, 10 Dec 2012 13:54:21 +0000 (14:54 +0100)]
field value setter and getter moved to utils header file, because is used by several functions
Michal Horn [Mon, 10 Dec 2012 13:53:32 +0000 (14:53 +0100)]
warning at lout spi response translator removed
Pavel Pisa [Mon, 10 Dec 2012 12:15:24 +0000 (13:15 +0100)]
VBAT1 switch on ramp profile tuned for boards with fixes.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Horn [Mon, 10 Dec 2012 10:34:37 +0000 (11:34 +0100)]
cmd_vbat1_set_bit function renamed, because it is used by several commands.
Michal Horn [Mon, 10 Dec 2012 10:29:11 +0000 (11:29 +0100)]
duplicated function cmd_do_vbat1_set_bit commented.
Michal Horn [Mon, 10 Dec 2012 10:13:15 +0000 (11:13 +0100)]
power off and power on commands added
Michal Horn [Fri, 7 Dec 2012 14:39:50 +0000 (15:39 +0100)]
VBAT control tuned and added PWM vbat set command for vbat1
Michal Horn [Fri, 7 Dec 2012 14:39:26 +0000 (15:39 +0100)]
Error in port definition constant repaired
Michal Horn [Mon, 3 Dec 2012 13:57:11 +0000 (14:57 +0100)]
New port DACDREF - DAC - DIN reference voltage - added
Michal Horn [Mon, 3 Dec 2012 13:43:34 +0000 (14:43 +0100)]
Added command for SPI device responses translations
Michal Horn [Mon, 3 Dec 2012 13:43:11 +0000 (14:43 +0100)]
Added library for creating translations from binary SPI device responses into readable structure.
Michal Horn [Fri, 30 Nov 2012 14:51:12 +0000 (15:51 +0100)]
ADC port read command values indexind repaired,
Flexray prints added
Michal Horn [Fri, 30 Nov 2012 14:50:34 +0000 (15:50 +0100)]
SPI port reader - number of bytes in descriptor repaired
Michal Horn [Thu, 29 Nov 2012 19:18:20 +0000 (20:18 +0100)]
Flexray code for test porpose added
Michal Horn [Thu, 29 Nov 2012 13:35:07 +0000 (14:35 +0100)]
old commands for port handling replaced by new master command
Michal Horn [Thu, 29 Nov 2012 13:33:44 +0000 (14:33 +0100)]
functions for control each port class added
Michal Horn [Thu, 29 Nov 2012 13:29:17 +0000 (14:29 +0100)]
ADC code separated from commands and driver generated by halcogen
Michal Horn [Thu, 29 Nov 2012 13:27:58 +0000 (14:27 +0100)]
Some forgotten pin definitons added
Michal Horn [Thu, 29 Nov 2012 13:27:12 +0000 (14:27 +0100)]
Geteral support for port handling added
Michal Horn [Fri, 23 Nov 2012 11:13:29 +0000 (12:13 +0100)]
general gio set pin value and gio set direction commands added
Michal Horn [Fri, 23 Nov 2012 11:12:40 +0000 (12:12 +0100)]
get pin descriptor function tuned to return null if string was not found
Michal Horn [Mon, 12 Nov 2012 14:41:04 +0000 (15:41 +0100)]
HAL for gpio
port definitions
pin definitions
functions for basic access - not yet done
Michal Horn [Mon, 12 Nov 2012 14:40:04 +0000 (15:40 +0100)]
DMM comments and macros added
Michal Horn [Mon, 12 Nov 2012 14:39:30 +0000 (15:39 +0100)]
Command repaired to set lower Vth on hbridge
Michal Horn [Fri, 9 Nov 2012 17:32:47 +0000 (18:32 +0100)]
HBR watchdog periodical reset command added
Michal Horn [Mon, 5 Nov 2012 17:31:30 +0000 (18:31 +0100)]
error notification code tuned
canloopback command tuned - now can should do proper restart and recovery from error states
Michal Horn [Mon, 5 Nov 2012 17:29:21 +0000 (18:29 +0100)]
halcogen code for can tuned
Michal Horn [Mon, 5 Nov 2012 17:28:54 +0000 (18:28 +0100)]
Cod for toggling mout pins tuned according to repaired dmm halcogen code
Michal Horn [Mon, 5 Nov 2012 17:28:01 +0000 (18:28 +0100)]
dmm Error from Halcogen repaired
Michal Horn [Mon, 29 Oct 2012 14:44:36 +0000 (15:44 +0100)]
An ability to toggle pins HBR_DIR and HBR_PWM added
Michal Horn [Mon, 29 Oct 2012 14:43:28 +0000 (15:43 +0100)]
SPI4 ball mutex tuned
Michal Horn [Mon, 29 Oct 2012 14:43:00 +0000 (15:43 +0100)]
L99H01 chip needs data format 1 insted of 0
Michal Horn [Mon, 29 Oct 2012 12:56:59 +0000 (13:56 +0100)]
useless command MOUTFAIL removed
Michal Horn [Mon, 29 Oct 2012 12:55:56 +0000 (13:55 +0100)]
DMM pins used for MOUT_EN control were changed to output with open drain
Michal Horn [Mon, 29 Oct 2012 12:55:04 +0000 (13:55 +0100)]
giosetbit and giogetbit used for control MOUT were cloned and modified into moutgetbit and moutsetbit to be able toogle DMM bits
Michal Horn [Mon, 29 Oct 2012 10:41:16 +0000 (11:41 +0100)]
GIO for MOUT_EN pins set as out and open colector
Michal Horn [Mon, 29 Oct 2012 10:40:27 +0000 (11:40 +0100)]
SETMOUT a GETMOUT commands tuned
there was error with access to array of pins and regs
Pavel Pisa [Mon, 29 Oct 2012 10:12:10 +0000 (11:12 +0100)]
Define specific SPI clock phase for MCP4922 chips.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Horn [Fri, 26 Oct 2012 17:07:47 +0000 (19:07 +0200)]
Added sleep command for LIN and CAN
Michal Horn [Fri, 26 Oct 2012 17:06:28 +0000 (19:06 +0200)]
DMM comments and initial values tuned
CAN end LIN requires NSLP and NSTB pins to be set to high level to ensure keep board awaken
Rostislav Lisovy [Fri, 26 Oct 2012 15:14:48 +0000 (17:14 +0200)]
i2c: Halcogen generated source codes
Rostislav Lisovy [Wed, 24 Oct 2012 13:58:27 +0000 (15:58 +0200)]
Git: Ignore build directory
Rostislav Lisovy [Wed, 24 Oct 2012 12:48:48 +0000 (14:48 +0200)]
EMAC: Minor changes
Rostislav Lisovy [Wed, 24 Oct 2012 12:48:05 +0000 (14:48 +0200)]
SPI: Multiplexed CS
Rostislav Lisovy [Wed, 24 Oct 2012 12:47:27 +0000 (14:47 +0200)]
DMM: Initialize all pins as GPIO, out direction, set to H
Michal Horn [Mon, 22 Oct 2012 13:47:09 +0000 (15:47 +0200)]
HBR_EN and HBR_DIR modification commands added.
Rostislav Lisovy [Mon, 22 Oct 2012 13:02:27 +0000 (15:02 +0200)]
IRQ: Fix wrong VIM table
Rostislav Lisovy [Mon, 22 Oct 2012 10:24:17 +0000 (12:24 +0200)]
EMAC: Dummy RX and TX works (with interrupts)
Rostislav Lisovy [Fri, 19 Oct 2012 16:54:39 +0000 (18:54 +0200)]
EMAC: TX interrupt seems to be ok.
EMAC interrupts are set to FIQ (in Halcogen config. is still IRQ).
Petr Porazil [Tue, 9 Oct 2012 20:49:10 +0000 (22:49 +0200)]
Correct SDRAM test.
Signed-off-by: Petr Porazil <porazil@volny.cz>
Pavel Pisa [Tue, 9 Oct 2012 20:24:41 +0000 (22:24 +0200)]
GPREG1 bit 31 has to be set to enable EMIF (SDRAM) CS0 and other pins.
Next EMIF pins are not controlled if bit is not set
A[0,1,6,7,8], BA[1], nCS[0], nCS[3]
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 9 Oct 2012 19:17:06 +0000 (21:17 +0200)]
Attempt to define correct configuration for RPP SDRAM.
HalCogen generated values are total mess.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>