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 # armed indication
PE6 nARMED OUTPUT HIGH PE6 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

View File

@ -227,11 +227,9 @@ PF4 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 PG10 nVDD_5V_HIPOWER_EN OUTPUT LOW
# bootloader hold PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
PG10 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)