marcoveeneman
ca60a9cba2
Tiva. I2C. Fixed bug where number of bytes read is 2 more then requested. This only occurs when the number of bytes to read is 3 or more.
2015-04-24 22:00:47 +02:00
marcoveeneman
e5f1b8b034
Tiva. ST. Moved ST interrupt priority check from hal_lld to st_lld.
2015-04-16 22:15:15 +02:00
marcoveeneman
5130840d32
Tiva. MAC. Added check for valid interrupt priority.
2015-04-16 22:03:13 +02:00
marcoveeneman
cd95bc80f0
Tiva. EXT. Added checks for valid interrupt priorities.
2015-04-16 21:56:32 +02:00
marcoveeneman
7b7c6fd198
Tiva. Replaced all references to CORTEX_IS_VALID_KERNEL_PRIORITY with OSAL_IRQ_IS_VALID_PRIORITY.
2015-04-16 21:46:53 +02:00
marcoveeneman
a8358f2140
Tiva. EXT. Changed name of ext_serve_port_interrupt and ext_serve_pin_interrupt.
2015-04-14 23:00:29 +02:00
marcoveeneman
2c66f54771
Tiva. EXT. Fixed typo in ext_serve_pin_interrupt macro.
2015-04-14 22:53:48 +02:00
marcoveeneman
f4e68ad23a
Tiva. EXT. Wrapped ext_serve_port_interrupt and ext_serve_pin_interrupt in a do{}while(0)
2015-04-14 22:52:22 +02:00
marcoveeneman
1afe28e9be
Tiva. EXT. Added ext_lld files and added ext_lld.c to platform.mk
2015-04-14 22:43:42 +02:00
marcoveeneman
91d9d09673
Removing GPTM_TAMR_TASNAPS was a bad idea. This caused the TAR register to not update at match so an incorrect value was read in st_lld_get_counter.
2015-03-23 21:08:57 +01:00
marcoveeneman
560076be34
Removed ST_CLOCK_SRC for Tiva st_lld and replaced with TIVA_SYSCLK.
2015-03-23 20:55:52 +01:00
marcoveeneman
927cbb1bee
Tiva tickless mode is working for 16 bit timers too. Typecasting was not correct before.
2015-03-22 22:46:09 +01:00
marcoveeneman
2d6792780a
Added macros in st_lld for Tiva defices to wait until a timer is ready before using it.
2015-03-22 22:40:22 +01:00
marcoveeneman
61f2081d66
Fixed incorrect Tiva ST_HANDLER and ST_NUMBER defines in st_lld.
2015-03-22 22:27:51 +01:00
marcoveeneman
bc7117e04c
Wait until the timer peripheral is ready to continue. When built with -O0 this was not needed, but with -O2 the peripheral was not ready when it was accessed.
2015-03-20 21:38:01 +01:00
marcoveeneman
273b1fa525
Fixed using incorrect registers.
2015-03-20 21:36:52 +01:00
marcoveeneman
b3c2194d95
Tiva st_lld files cleanup.
2015-03-20 21:11:57 +01:00
marcoveeneman
94ae99ab51
Tiva Tickless timer in down mode turned out not to work in last commit. It's working for WGPT5 now.
...
Started some cleanup in st_lld driver.
2015-03-20 21:04:38 +01:00
marcoveeneman
87e99fedd8
Changed the Tiva tickless timer implementation to use the timer in down mode. It's working for WGPT5 now.
2015-03-20 20:21:38 +01:00
marcoveeneman
930d2d6de0
Tickless mode for Tiva seems to be working using WGPT5 in up mode.
2015-03-20 19:49:21 +01:00
marcoveeneman
c38910ced9
Added Tiva SPI low level driver.
2015-03-17 21:47:56 +01:00
marcoveeneman
a1899308aa
Added Tiva UDMA driver.
2015-03-17 21:47:12 +01:00
marcoveeneman
61b7a9f0f3
Added missing PAL_TIVA_DEN_ENABLE for PAL_MODE_INPUT in Tiva devices.
2015-03-03 23:02:56 +01:00
marcoveeneman
0f7928dd85
Added missing drive strength enable for PAL_MODE_OUTPUT_OPENDRAIN in Tiva devices.
2015-03-03 22:02:56 +01:00
marcoveeneman
4cd44e345e
Implemented PAL_MODE_* defines for Tiva devices.
2015-03-03 21:53:33 +01:00
marcoveeneman
555d45f70a
Implemented AHB access for GPIOA - GPIOJ for TM4C123x devices. On TM4C129x devices the AHB is the only used bus for GPIO.
...
Replaced the nops after starting the gpio peripheral clocks with a busy wait until all GPIO peripherals are ready.
Added Sub-Family identifier for TM4C123x devices.
2015-03-03 21:15:21 +01:00
marcoveeneman
12d6c494d3
Restructured Tiva pal_lld.h
2015-02-26 22:45:32 +01:00
marcoveeneman
631ec2d5cb
Added missing static keyword for Tiva gpio_init function.
2015-02-26 21:38:20 +01:00
marcoveeneman
71f9a8ff50
Fixed incorrect and missing GPIO pin unlocking for JTAG and NMI pins in pal_lld_init.
2015-02-26 21:35:46 +01:00
marcoveeneman
f376aec4d8
Changed the Tiva pal driver RCGCGPIO enable mask name.
...
Added a note about the RCGC register.
2015-02-26 21:11:51 +01:00
marcoveeneman
8a7ede5e0a
Fixed wrong bit mask in Tiva pal driver.
2015-02-26 21:09:10 +01:00
marcoveeneman
c17c2f6edf
Added Tiva I/O mode flags.
...
Implemented _pal_lld_setgroupmode.
2015-02-26 20:31:47 +01:00
marcoveeneman
2463abdd1b
Renamed Tiva launch and debug configurations.
...
Fixed wrong SYSCTL access of gpt, i2c and pwm after changing the SYSCTL structure in TM4C123x.h.
2015-02-17 21:25:12 +01:00
marcoveeneman
7b73ccd1d0
Added basic demo for TM4C1294 Connected Launchpad with LwIP.
2015-02-16 21:49:29 +01:00
marcoveeneman
59499bd0cf
Added MAC low level driver for the TM4C129x. Tested on the TM4C1294 Connected Launchpad.
2015-02-16 21:31:04 +01:00
marcoveeneman
0214eb9bcc
Changed some peripheral register structures in tm4c123x.h and tm4c129x.h to reduce the amount of duplicated text.
...
Updated gpt_lld, i2c_lld, pal_lld, pwm_lld, serial_lld, hal_lld register access to the changed peripheral register structures.
Replaced old interrupt numbers from tm4c123x.h and tm4c129x.h in serial_lld.c with the new interrupt number defines from tiva_isr.h.
2014-10-16 20:59:31 +02:00
marcoveeneman
b74008c849
Added Tiva HAL files.
2014-10-13 23:01:10 +02:00