mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_HAL_ChibiOS: Pixhawk6C peripheral power on at startup
This commit is contained in:
parent
f5cd5e4c39
commit
2c870b0440
@ -59,9 +59,9 @@ PD2 UART5_RX UART5
|
|||||||
PD8 USART3_TX USART3
|
PD8 USART3_TX USART3
|
||||||
PD9 USART3_RX USART3
|
PD9 USART3_RX USART3
|
||||||
|
|
||||||
# start peripheral power off
|
# start peripheral power on
|
||||||
PC10 nVDD_5V_HIPOWER_EN OUTPUT HIGH
|
PC10 nVDD_5V_HIPOWER_EN OUTPUT LOW
|
||||||
PE2 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
PE2 nVDD_5V_PERIPH_EN OUTPUT LOW
|
||||||
|
|
||||||
# LEDs
|
# LEDs
|
||||||
PD10 LED_ACTIVITY OUTPUT OPENDRAIN GPIO(90) HIGH # red
|
PD10 LED_ACTIVITY OUTPUT OPENDRAIN GPIO(90) HIGH # red
|
||||||
|
@ -164,11 +164,9 @@ define HAL_IMUHEAT_I_DEFAULT 0.07
|
|||||||
# power enable pins
|
# power enable pins
|
||||||
PB2 VDD_3V3_SENSORS1_EN OUTPUT HIGH
|
PB2 VDD_3V3_SENSORS1_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
|
PC10 nVDD_5V_HIPOWER_EN OUTPUT LOW
|
||||||
# bootloader hold
|
PE2 nVDD_5V_PERIPH_EN OUTPUT LOW
|
||||||
PC10 nVDD_5V_HIPOWER_EN OUTPUT HIGH
|
|
||||||
PE2 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