Commit Graph
23 Commits
Author SHA1 Message Date
Daniel Agar 1a0238f20c tone_alarm fix circuit breaker param handling 2018-02-10 20:37:47 -05:00
David Sidrane bed4714cfe kinetis:adc fix typo vailid->valid (#8054)
Fix typo on master
2017-10-04 08:05:18 -10:00
David Sidrane e1496a6d57 kinetis:io_timer Added SYC on CCR setting
Fixes error in fmu test "servo 0 readback error, got 900
                          expected 1002"
2017-10-04 04:49:35 -10:00
David Sidrane e11b08aa68 nxphlite-v3:ADC 12 use bit 2017-10-04 04:49:35 -10:00
David Sidrane 3e863dff5d nxphlite-v3:ADC digital USB connected 2017-10-04 04:49:35 -10:00
David Sidrane 1615d5642e kinetis:drv_io_timer ensure the Mod register is updated 2017-10-04 04:49:35 -10:00
David Sidrane f68da76701 kinetis:PWM LED driver 2017-10-04 04:49:35 -10:00
David Sidrane 812128d565 nxphlite-v3:V3.5 HW changes 2017-10-04 04:49:35 -10:00
David Sidrane 7c5f3ea623 kinetis io timer:fix sign-compare 2017-09-29 10:13:51 -04:00
David Sidrane 58a6e57452 nxphlite-v3:Use ADC reading for VBUS
On this HW the VBUS detection is on the ADC. The ADC module
   reads the value and sets a global flag as well as publishing
   the value via uOrb.
2017-09-29 10:13:51 -04:00
David Sidrane 1bc760c194 Kinetis:Added PX4 ADC Driver.
PX4 Driver for Kinetis uisng just ADC1.

   On V3 HW RC00 the USB_VBUS_VALID on pin 36 of the MCU
   ADC0_SE16/ADC1_SE22 is bridged to pin 29 ADC1_DP0 and read
   there. But because of missing schottky diodes on V3 HW RC00
   the signal is true (3.3V) when powered by the Power Module.
2017-09-29 10:13:51 -04:00
David Sidrane 7d8eee202b Kinetis:Hack for imediate PWM update 2017-09-29 10:13:51 -04:00
David Sidrane 2b54ef458b Kinetis:PWM 2017-09-29 10:13:51 -04:00
David Sidrane 520850f5f4 kinetis:Implemented Tone Alarm using TPM timers 2017-09-29 10:13:51 -04:00
David Sidrane f1e8b532d9 ADC hack to get comd prompt 2017-09-29 10:13:51 -04:00
David Sidrane f6cacfc586 Kinteis:HRT Driver using TPM Timer
This is the PX4 HRT driver fir the Kinetis K family with TPM
   timers.

   The requirements for use are an input frequency divisible by
   N = {2^0-2^7}. To get a 1 MHz frequency. We currently use
   the OCSERCLK of 16 MHz /16.
2017-09-29 10:13:51 -04:00
David Sidrane e2bd3b31d2 Kinetis:tone_alarm updated copyright 2017-09-29 10:13:51 -04:00
David Sidrane bc4102bf3f Added pwm_trigger from master 2017-09-29 10:13:51 -04:00
David Sidrane 7ab29a38bf Kinetins ADC wip just to built and boot. Still Stubs 2017-09-29 10:13:51 -04:00
David Sidrane 790da4dec3 Kinetis:hrt stub - to get to command prompt 2017-09-29 10:13:51 -04:00
David Sidrane 53e9ce8352 incorperate master's oneshot api - not functional 2017-09-29 10:13:51 -04:00
David Sidrane e5eab6854c Update Kinetis stubs to uses NuttX IRQ API changes 2017-09-29 10:13:51 -04:00
David Sidrane c1812af45e Inital commit of NXPhlite-v1 2017-09-29 10:13:51 -04:00