Commit Graph
158 Commits
Author SHA1 Message Date
Lorenz Meier f2a6645cc9 FMUv2: Do not mess with GPIO5 during startup 2016-02-01 10:10:35 +01:00
David Sidrane 2949578832 Renamed pwm_timers to more appropriate io timers for use in pwm in/out and capture 2016-02-01 10:10:34 +01:00
David Sidrane 019e197714 Change pin init state to 1 to uses late pwm init with not pulses 2016-02-01 10:10:34 +01:00
Andrew Tridgell b8a60f2501 pwm: change default_value for all boards from 1000 to 0
the value '1000' is not really magic, and it was resulting in sending
a single 1ms pulse on all IO channels for a brief instant on
startup. With some servos this led to the control surfaces being at
extremes (and straining) on startup. It may also contribute to making
ESC calibration harder on multi-rotors

In the worst case it could cause a IC motor with reverse throttle to
go full throttle on startup

A logic analyser shows the problem very clearly. Changing the
default_value fields to 0 from 1000 fixes the issue and no pulses are
generated until an explicit value suitable for the airframe is
provided via one of the many methods PWM output values can be
generated

Conflicts:
	src/drivers/boards/px4fmu-v4/px4fmu_pwm_servo.c
	src/lib/ecl
2016-01-29 08:57:20 +01:00
Lorenz Meier 9d5728b96f FMU: Default to 900 us pulses 2016-01-25 12:08:26 +01:00
Lorenz Meier d32d533d11 FMUv4: Disable unused ADC channels 2016-01-25 12:07:38 +01:00
Lorenz Meier 99068aebac FMUv4: Run FRAM bus faster 2016-01-23 13:32:32 +01:00
Lorenz Meier 883148d3d1 Revert "Adjust to AUAV screwup on voltage / current pins"
This reverts commit 3c401c396c.
2016-01-20 11:13:24 +01:00
Lorenz Meier 3c401c396c Adjust to AUAV screwup on voltage / current pins 2016-01-20 10:47:50 +01:00
Lorenz Meier cbde246f0a FMUv4: Remove non-existent airspeed sensing channel 2016-01-20 10:09:07 +01:00
Lorenz Meier a76ecf3821 Remove differential pressure ADC 2016-01-19 19:27:21 +01:00
Lorenz Meier 7ea41491e5 FMUv4: Fix code style 2016-01-15 23:48:18 +01:00
Lorenz Meier 0910cb3256 FMUv4: Add baro SPI bus define 2016-01-15 22:34:20 +01:00
Lorenz Meier e663b60c69 FMUv2: Add baro SPI bus define 2016-01-15 22:34:09 +01:00
Mark Whitehorn 4d7fe08069 fix code style 2016-01-14 17:55:55 +01:00
Mark Whitehorn df5cb5472d configure GPIO_SBUS_INV for PixRacer R12 2016-01-14 17:55:54 +01:00
Mark Whitehorn ecbcfe838b clean up, change SPI2 clock back to 12MHz and remove debug prints 2016-01-14 17:55:54 +01:00
Mark Whitehorn ab71af6053 fix spi select logic 2016-01-14 17:55:54 +01:00
Mark Whitehorn 4952d05652 debugging ms5611 on spi2 2016-01-14 17:55:54 +01:00
Mark Whitehorn 47207b8fc8 set FMU_RC_OUTPUT high for all non-SBUS modes 2016-01-14 17:55:54 +01:00
Mark Whitehorn 5cf78cd450 configure usart6 TX for RC out
add RC_OUT pin to FMUv4 config
2016-01-14 17:55:54 +01:00
Mark Whitehorn 72156d9cd6 add macro to control RC input inverter
remove redundant variable
2016-01-14 17:55:53 +01:00
Mark Whitehorn 0f3878a48a DSM input tested OK with DX7 2016-01-14 17:55:52 +01:00
Mark Whitehorn af42f454f7 fix sbus for pixracer beta 2016-01-14 17:55:52 +01:00
lchish 6e1f54e2ff Add missing stm32f4discovery make targets 2015-12-29 11:57:29 +01:00
Lorenz Meier 45e4def3eb FMUv4: Rename Spektrum power correctly 2015-12-24 09:47:29 +01:00
Lorenz Meier 0af727192e FMUv1 board config: Enable DSM binding 2015-12-24 09:47:29 +01:00
Lorenz Meier 7ed3fbb1bc Formatted IOv2 board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 40f9ed0507 Formatted IOv1 board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 2fb604e951 Formatted FMUv4 board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 72eda2d7c9 IOv2: Add DSM controls 2015-12-24 09:47:29 +01:00
Lorenz Meier 8520db884e IOv1: Add DSM controls 2015-12-24 09:47:29 +01:00
Lorenz Meier a2db2a3e53 FMUv4: Add DSM controls 2015-12-24 09:47:29 +01:00
Lorenz Meier a5835bfb4f IOv2: Generalize board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 32d298c4b6 IOv1: Generalize board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 4637cc1f07 FMUv4: Generalize board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 9a1301dd96 FMUv2: Generalize board config 2015-12-24 09:47:29 +01:00
Lorenz Meier 1426779572 FMUv1: Generalize board config 2015-12-24 09:47:29 +01:00
Lorenz Meier e175ef5626 Aerocore: Generalize PWM out config 2015-12-24 09:47:29 +01:00
Lorenz Meier 22c7f72a1c FMUv4 config: Fix periph 3.3V en signal, fix typo on 8266 RST signal 2015-11-29 17:12:26 +01:00
Lorenz Meier cb286d0ae6 FMUv4: Initialize complete board correctly 2015-11-29 17:03:50 +01:00
Lorenz Meier 57ce3cfd01 FMUv2: Remove unneeded code 2015-11-29 17:03:19 +01:00
Lorenz Meier f8ccac69bc FMUv1: Remove unneeded code 2015-11-29 17:03:06 +01:00
Lorenz Meier a3eeafebeb Enable UART6 and enable S.BUS. Tested to work. 2015-11-28 09:13:15 +01:00
Lorenz Meier 6bc6eda295 Fixed drivers 2015-11-28 09:13:15 +01:00
Lorenz Meier abfd471fed v4 board config: Move HRT to TIM3 2015-11-28 09:13:15 +01:00
Lorenz Meier 83ed9e1096 Update IOv2 config 2015-11-28 09:13:15 +01:00
Lorenz Meier 2d5b02e967 Update IOv1 2015-11-28 09:13:15 +01:00
David Sidrane 6df5aab064 px4fmu-v4 uses MPU6000 driver for ICM-20609-G 2015-11-28 09:13:15 +01:00
David Sidrane a67097731a Renamed pax4fmu-v3 to pax4fmu-v4 2015-11-28 09:13:15 +01:00