Andrew Tridgell
82aca3d65c
FMUv4: enable RSSI analog input pin
2016-05-01 14:22:58 +02:00
Robert Dickenson
45a601b9c1
New driver for the LIS3MDL magnetometer.
2016-04-22 10:30:19 +02:00
Lorenz Meier
ef69f74977
Do not use low level debug output on USB resume
2016-04-21 10:35:57 +02:00
Robert Dickenson
7061bc804a
Remove file with only whitespace change as not required in PR
2016-03-08 09:29:17 +01:00
Robert Dickenson
95e51ed8c6
Cleanup mpu9250 driver in preparation for PR
2016-03-08 09:29:17 +01:00
Mark Whitehorn
ef2a7bda53
add fmuv4 safety switch handling
2016-02-27 11:25:56 +01:00
Mark Whitehorn
5a7d31f7a9
fix typo in comment
2016-02-27 11:25:56 +01:00
Lorenz Meier
19151e93e1
FMUv4: Initialize PWM pins to low state
2016-02-18 19:01:44 +01:00
Lorenz Meier
61bb8ac603
FMUv4: Do not mess with GPIO5 during startup
2016-02-01 10:10:36 +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
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
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
Lorenz Meier
45e4def3eb
FMUv4: Rename Spektrum power correctly
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
a2db2a3e53
FMUv4: Add DSM controls
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
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
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
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