mirror of https://github.com/ArduPilot/ardupilot
tested 12V output en and adc
This commit is contained in:
parent
99d1c1d0d1
commit
5e33b0c521
|
@ -26,9 +26,6 @@ PB7 USART1_RX USART1
|
|||
# Armed indication
|
||||
PE6 nARMED OUTPUT HIGH
|
||||
|
||||
# 12V peripheral enable
|
||||
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
||||
|
||||
# LEDs
|
||||
PE3 LED_ACTIVITY OUTPUT OPENDRAIN HIGH # red
|
||||
PE5 LED_BOOTLOADER OUTPUT OPENDRAIN HIGH # blue
|
||||
|
|
|
@ -48,7 +48,8 @@ define DEFAULT_SERIAL3_PROTOCOL SerialProtocol_GPS
|
|||
# VTX (DJI Air Unit, RX only)
|
||||
PA3 USART2_RX USART2
|
||||
PD5 USART2_TX USART2 NODMA
|
||||
define DEFAULT_SERIAL4_PROTOCOL SerialProtocol_None # TODO: DJI HDL?
|
||||
# TODO: DJI HDL?
|
||||
define DEFAULT_SERIAL4_PROTOCOL SerialProtocol_None
|
||||
|
||||
# ESC Telem (RX only)
|
||||
PH13 UART4_TX UART4 NODMA
|
||||
|
@ -66,8 +67,8 @@ define DEFAULT_SERIAL6_PROTOCOL SerialProtocol_RCIN
|
|||
# ADCs
|
||||
PA0 SCALED1_V3V3 ADC1 SCALE(2)
|
||||
PB1 VDD_5V_SENS ADC1 SCALE(2)
|
||||
# TODO: 12V monitor
|
||||
# PA4 SCALED2_V3V3 ADC1 SCALE(7.66)
|
||||
# 12V monitor
|
||||
PA4 FMU_SERVORAIL_VCC_SENS ADC1 SCALE(7.66)
|
||||
|
||||
PB0 BATT_VOLTAGE_SENS ADC1 SCALE(1)
|
||||
PC2 BATT_CURRENT_SENS ADC1 SCALE(1)
|
||||
|
@ -148,13 +149,16 @@ PE6 nARMED OUTPUT HIGH
|
|||
PC13 VDD_3V3_SD_CARD_EN OUTPUT HIGH
|
||||
PI11 VDD_3V3_SENSORS1_EN OUTPUT HIGH
|
||||
|
||||
# 12V enable, start with it off
|
||||
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
||||
# 12V enable, start with it ON
|
||||
PG4 VDD_5V_PERIPH_EN OUTPUT HIGH
|
||||
|
||||
# Power sensing
|
||||
PE15 VDD_5V_PERIPH_nOC INPUT PULLUP
|
||||
PF13 VDD_5V_HIPOWER_nOC INPUT PULLUP
|
||||
PG1 VDD_BRICK_nVALID INPUT PULLUP
|
||||
# 12V PGOOD
|
||||
PE15 VDD_5V_PERIPH_nOC INPUT FLOATING
|
||||
# 5V PGOOD
|
||||
PF13 VDD_5V_HIPOWER_nOC INPUT FLOATING
|
||||
# 5V_ON_BATn
|
||||
PG1 VDD_BRICK_nVALID INPUT FLOATING
|
||||
|
||||
# MicroSD
|
||||
PD6 SDMMC2_CK SDMMC2
|
||||
|
|
Loading…
Reference in New Issue