mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_HAL_ChibiOS: Pixhawk5X peripheral power on at startup
This commit is contained in:
parent
d72bf5575f
commit
fb40b3e6fc
@ -70,9 +70,9 @@ PD9 USART3_RX USART3 NODMA
|
|||||||
# armed indication
|
# armed indication
|
||||||
PC12 nARMED OUTPUT HIGH
|
PC12 nARMED OUTPUT HIGH
|
||||||
|
|
||||||
# start peripheral power off
|
# start peripheral power on
|
||||||
PF12 nVDD_5V_HIPOWER_EN OUTPUT HIGH
|
PF12 nVDD_5V_HIPOWER_EN OUTPUT LOW
|
||||||
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
|
||||||
|
|
||||||
# LEDs
|
# LEDs
|
||||||
PE3 LED_ACTIVITY OUTPUT OPENDRAIN HIGH # red
|
PE3 LED_ACTIVITY OUTPUT OPENDRAIN HIGH # red
|
||||||
|
@ -214,11 +214,9 @@ PD15 VDD_3V3_SENSORS2_EN OUTPUT HIGH
|
|||||||
PE7 VDD_3V3_SENSORS3_EN OUTPUT HIGH
|
PE7 VDD_3V3_SENSORS3_EN OUTPUT HIGH
|
||||||
PG8 VDD_3V3_SENSORS4_EN OUTPUT HIGH
|
PG8 VDD_3V3_SENSORS4_EN OUTPUT HIGH
|
||||||
|
|
||||||
# start peripheral power off, then enable after init
|
# start peripheral power on
|
||||||
# this prevents a problem with radios that use RTS for
|
PF12 nVDD_5V_HIPOWER_EN OUTPUT LOW
|
||||||
# bootloader hold
|
PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
|
||||||
PF12 nVDD_5V_HIPOWER_EN OUTPUT HIGH
|
|
||||||
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
|
||||||
|
|
||||||
# Control of Spektrum power pin
|
# Control of Spektrum power pin
|
||||||
PH2 SPEKTRUM_PWR OUTPUT HIGH GPIO(73)
|
PH2 SPEKTRUM_PWR OUTPUT HIGH GPIO(73)
|
||||||
|
Loading…
Reference in New Issue
Block a user