Commit Graph

154 Commits

Author SHA1 Message Date
patacongo bf1e50eb94 Fix the STM32 PWM driver pulse count logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4298 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 18:44:12 +00:00
patacongo 309633cbdb For STM32 PWM output on TIM1/8, need to set master output enable (MOE)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4296 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 16:01:18 +00:00
patacongo 7d970cf8bb Fix bug in STM32 CAN: It must be interrupt driven
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4295 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 14:56:56 +00:00
patacongo ede0deaaa8 CAN request order priority
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4292 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 01:01:44 +00:00
patacongo 8129fb8f09 Implement the new CAN txready method for STM32
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4291 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 00:13:45 +00:00
patacongo 1e16645fb4 Fix LPC17 CAN driver; TX must be interrupt driven
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4290 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 22:29:39 +00:00
patacongo 6cd77c1702 Fix CAN callback argument
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4289 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 21:19:12 +00:00
patacongo a734f89a13 Correct GPIO dump output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4288 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 16:25:52 +00:00
patacongo d83819e4bb Finish PWM pulse count configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4287 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 21:34:58 +00:00
patacongo 94e1048f0b Add basic support for pulse count in the PWM interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4285 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 18:23:30 +00:00
patacongo d012f2fd06 Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4284 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 21:33:57 +00:00
patacongo 632b6f6f78 More progress on the PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4282 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 18:41:49 +00:00
patacongo abb776a834 Add support for STM32 UART4-5 and USART6
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4281 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 15:09:05 +00:00
patacongo c7a7ac6cfb Apply STM32 timer patch from Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4280 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 00:44:41 +00:00
patacongo b89a9f92c8 More register definitions for the PIC32 Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4278 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 21:46:47 +00:00
patacongo 4043707a27 More PIC32 Ethernet register definitions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4277 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 20:26:47 +00:00
patacongo ac2726af8e Add PIC32 Ethernet driver (initial is just crude LPC17xx port)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4276 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 18:31:43 +00:00
patacongo a0df72a73e Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4272 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 21:25:27 +00:00
patacongo 1446c5f804 Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4271 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 20:59:57 +00:00
patacongo ae529b8648 Incorporate Z80 bugfixes reported by Phillip Klaus Krause
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4270 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 19:29:37 +00:00
patacongo a81a8867a6 Fix issue with LPC17xx CAN baud calculation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4269 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 15:58:30 +00:00
patacongo d90e91b4d6 LPC17xx CAN PCLK divisor is not a configuration parameter
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4268 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 14:07:47 +00:00
patacongo ad270ba835 Add hooks for SD media change callbacks
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4267 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 01:58:03 +00:00
patacongo 7de5004f47 Add logic to control CAN bit rate via the .config file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4266 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 20:39:56 +00:00
patacongo 43392986a0 Add suport for the Stellaris LM3S6432S2E and the TI RDK-S2E
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4260 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 22:27:35 +00:00
patacongo a2f9aff906 Fixes for STM32 ADC driver on the F4; LC17xx LED initial state
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4257 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 23:25:49 +00:00
patacongo 77f614d624 Fixes for LPC1766-STK without LED support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4256 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 16:26:00 +00:00
patacongo b63c7c35d3 Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4255 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 13:47:40 +00:00
patacongo 8da8798071 LPC17xx CAN driver now supports all 3 transmit buffers and loopback mode; LCP1766-STK NSH configuration will support the CAN loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4253 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 01:03:56 +00:00
patacongo 4f07eda719 Add support for STM32 Potentiometer via ADC3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4252 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 18:22:19 +00:00
patacongo 3d3bc75c12 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4251 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 16:33:05 +00:00
patacongo 6a3f04eeab Fix an integer overflow bug in LPC17xx GPIO interrupt configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4247 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-01 15:57:03 +00:00
patacongo 9a1c94e294 Fix some LPC17xx GPIO/button interrupt logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4246 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 23:09:33 +00:00
patacongo 61b8ff0845 Extend lpc1766-stk LED support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4242 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 00:11:55 +00:00
patacongo 2901574aff STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4241 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-30 14:54:43 +00:00
patacongo e136368c1f Correct last set of changes to configuration logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4237 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-29 12:52:15 +00:00
patacongo 0acfb62c65 A little STM32 logic in the PIC32 USB driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4235 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-28 19:40:37 +00:00
patacongo 50eddba2ce Changes to tools to support MAC OS
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4232 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-27 12:44:39 +00:00
patacongo 60006bab7a Update to the STM32 ADC and CAN drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4215 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 21:55:54 +00:00
patacongo e2ef959d92 STM32 CAN debug fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4214 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 18:28:13 +00:00
patacongo bfc578860c Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4213 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 15:59:50 +00:00
patacongo 907471d5dc Disable interrupts while accessing the APB2RTSR register
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4212 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 03:09:25 +00:00
patacongo 59f355daeb STM32 ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4211 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 00:31:47 +00:00
patacongo fbd1db66e1 STM32 CAN driver now compiles
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4210 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-21 23:31:03 +00:00
patacongo 073df6d28c Add the beginning of an STM32 CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4209 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-21 15:50:06 +00:00
patacongo 67609317a5 STM32 ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4208 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 23:44:21 +00:00
patacongo 468bf27b12 Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4207 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 21:16:39 +00:00
patacongo 5a714f6d99 Finishes the PWM driver for the STM32
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4206 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 18:28:50 +00:00
patacongo 025c867f10 PWM driver works
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4205 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 17:31:06 +00:00
patacongo 0047c1f1b1 First round of PWM driver debug changes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4204 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 14:41:32 +00:00
patacongo 7dd484954b ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4203 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 00:30:12 +00:00
patacongo b7edb56d6f Add a test for PWM drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4202 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 23:06:41 +00:00
patacongo c0424dae99 Remove the PWM pulse count method. It can't be support on current hardware
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4201 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 19:35:52 +00:00
patacongo add995c32e Completes coding of the PWM module
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4200 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 19:24:09 +00:00