Commit Graph

146 Commits

Author SHA1 Message Date
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 f7ddf77250 Updated Tiva GCC port files. 2015-03-18 22:45:27 +01:00
marcoveeneman 799f3b5d8a Merge branch 'tiva_spi_dma' 2015-03-17 21:58:57 +01:00
marcoveeneman b72c3d2cba Added Tiva SPI example to testhal for TM4C123x devices. 2015-03-17 21:54:24 +01:00
marcoveeneman 7a68c44dd0 Added Tiva UDMA initialization in hal_lld of TM4C123x devices.
Added UDMA and SPI driver to platform.mk of TM4C123x devices.
2015-03-17 21:49:01 +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 6c105d29d2 Changed Tiva UDMA peripheral structure for TM4C123x. 2015-03-17 21:44:45 +01:00
marcoveeneman e941fc7f5b Added Tiva UDMA ISR names and numbers to TM4C123x tiva_isr.h 2015-03-17 21:43:40 +01:00
marcoveeneman 04d4618419 Renamed Tiva GPIOA SSI pins to their function (RX, TX and CLK) in TI_TM4C123G_LAUNCHPAD board.h. 2015-03-17 21:42:17 +01:00
barthess 0feccaa469 EICU. Updated authors. 2015-03-13 23:53:00 +03:00
barthess 6398d0d351 EICU. Low level driver moved to TIMv1 directory 2015-03-13 23:26:24 +03:00
barthess 22819b0f46 EICU. Temporal code moved to main chibios repo. 2015-03-13 23:19:12 +03:00
barthess 6f9bf595fd Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib into HEAD 2015-03-13 22:48:38 +03:00
barthess bff52a2141 EICU. Minor improvements 2015-03-13 22:48:25 +03:00
barthess bfac876090 EICU. Added support of single channel timers.
Tested in hardware with TIM11.
2015-03-13 12:07:48 +03:00
barthess ceb3c861d5 EICU improvements.
Added field containing available channels into EICU driver structure.
This simplified driver code.
2015-03-12 18:24:49 +03:00
barthess 070bcc130c EICU. Added const qualifier for driver pointer in some functions 2015-03-05 16:03:05 +03:00
barthess 6518ddaf22 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2015-03-05 16:00:24 +03:00
barthess ae1ce0ea2b EICU. Timer widht (16-32 bits) now stored in driver field and detected durign startup 2015-03-05 15:59:32 +03:00
marcoveeneman 817efe19e0 Merge branch 'tiva_pal_driver' 2015-03-04 21:57:47 +01:00
marcoveeneman 166421f69d Updated mcuconf files of Tiva teshal demos for GPT, I2C and PWM. 2015-03-04 21:52:15 +01:00
marcoveeneman b826d3a8e3 Updated Tiva testhal demo for I2C. 2015-03-04 20:42:54 +01:00
marcoveeneman 42add52912 Updated Tiva Testhal demos for GPT and PWM. 2015-03-04 20:32:05 +01:00
marcoveeneman 81b87913b4 Removed AHB setting of GPIOG - GPIOJ for the RT-TM4C123G-LAUNCHPAD demo since this device only has GPIOA - GPIOF. 2015-03-03 23:09:08 +01:00
marcoveeneman c6d7c1f7dc Adapted the RT-TM4C123G-LAUNCHPAD and RT-TM4C1294-LAUNCHPAD demos to configure the used pins at runtime and moved the TestThread execution before the blink threads are started. 2015-03-03 23:07:15 +01:00
marcoveeneman ff68a0b1f0 Changed the Tiva board.h files so all pins are configured as GPIOs and tri-stated except the JTAG pins. 2015-03-03 23:05:02 +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 df58a5cdb6 Changed the RT-TM4C1294-LAUNCHPAD demo to initialize the led pins to output push-pull. 2015-03-03 22:24: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
barthess e75668f53b EICU. Cosmetical cleanup 2015-03-03 22:43:25 +03:00
barthess 35c48df910 EICU. Deleted code for "fast" capture.
Reasons:
1) It duplicates functionality of "vanilla" ICU driver
2) Fast and slow modes are mutually exclided in single timer
2015-03-03 22:24:16 +03:00
barthess 8b2ddb7f2b EICU. Cosmetical improvements. 2015-03-03 21:10:03 +03:00
barthess 28ab149cf7 EICU. Cosmetical improvements. 2015-03-03 21:07:44 +03:00
barthess 75688209c2 EICU now able to capture data on all channels 2015-03-03 19:01:28 +03:00
barthess 4764c3ba15 EICU. Fixed handlign of 32-bit timers. General code cleanup. PWM mode still untested. 2015-03-01 21:09:12 +03:00
barthess 8bb246b572 EICU. Fixed another portion of typos. 2015-03-01 16:25:09 +03:00
barthess 71bba80a03 EICU. Fixed some typos. 2015-03-01 14:38:24 +03:00
barthess 4e7a5796b4 Added EICU driver in HAL. Added STM32 backend for EICU. 2015-02-28 21:42:40 +03:00
barthess 605fb84bcd Updated .project files 2015-02-28 21:41:55 +03: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