AP_HAL_ChibiOS: Pixhawk6X peripheral power on at startup

This commit is contained in:
Randy Mackay 2024-04-10 19:09:54 +09:00 committed by Andrew Tridgell
parent d951898f13
commit 561d1254a1
2 changed files with 6 additions and 8 deletions

View File

@ -60,9 +60,9 @@ PD9 USART3_RX USART3
# armed indication
PE6 nARMED OUTPUT HIGH
# start peripheral power off
PF12 nVDD_5V_HIPOWER_EN OUTPUT HIGH
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
# start peripheral power on
PF12 nVDD_5V_HIPOWER_EN OUTPUT LOW
PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
# LEDs
PE3 LED_ACTIVITY OUTPUT OPENDRAIN HIGH # red

View File

@ -227,11 +227,9 @@ PF4 VDD_3V3_SENSORS2_EN OUTPUT HIGH
PE7 VDD_3V3_SENSORS3_EN OUTPUT HIGH
PG8 VDD_3V3_SENSORS4_EN OUTPUT HIGH
# start peripheral power off, then enable after init
# this prevents a problem with radios that use RTS for
# bootloader hold
PG10 nVDD_5V_HIPOWER_EN OUTPUT HIGH
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
# start peripheral power on
PG10 nVDD_5V_HIPOWER_EN OUTPUT LOW
PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
# Control of Spektrum power pin
PH2 SPEKTRUM_PWR OUTPUT HIGH GPIO(73)