TSC21
ca42483794
update msgs fields from camelCase to snake_case so rosidl_generate_interfaces() is able to generate code for ROS IDL files
2018-07-30 21:40:28 +02:00
mcsauder
cf7dd383b1
Update ADC voltage calculation instances to avoid divide by integer.
2018-07-09 07:51:15 +02:00
Daniel Agar
02d4405a62
c++11 default destructors
2018-06-30 19:55:08 -04:00
Daniel Agar
387bc81f26
move systemlib/circuit_breaker.cpp to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng
bb6802a1ed
kinetis: fix PPM decoding
...
On kinetis, the TPM_STATUS_TOF was used to detect missed interrupts for
PPM decoding. However this was not correct, because the TOF bit was set on
each timer overflow. This happened regularly after every 64ms interval,
which meant that most PPM frames were just discarded.
I have not found any equivalent register/solution that is used on STMF4,
so this just removes the TOF handling. However there is now no way to
detect missed edges/interrupts!
2018-03-12 11:56:59 +01:00
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