diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/README.md b/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/README.md index b99a439451..c921642f92 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/README.md +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/README.md @@ -25,13 +25,12 @@ receive pin for UARTn. The Tn pin is the transmit pin for UARTn. - SERIAL0 -> USB - SERIAL1 -> UART1 (Telem1) - - SERIAL2 -> UART2 (Telem2) + - SERIAL2 -> UART2 (Telem2) (connected to internal BT module) - SERIAL3 -> UART3 (GPS) - SERIAL4 -> UART4 - SERIAL5 -> not available - SERIAL6 -> UART6 - SERIAL7 -> UART7 - - SERIAL7 -> USB2 ## RC Input @@ -43,7 +42,7 @@ and inversion enabled. ## FrSky Telemetry -FrSky Telemetry is supported using the T6 pin (UART6 transmit). You need to set the following parameters to enable support for FrSky S.PORT +FrSky Telemetry is supported using the Tx pin of any UART including SERIAL6/UART6 . You need to set the following parameters to enable support for FrSky S.PORT (example shows SERIAL6). Note this assumes the RC input is using default (ALT_BRD_CONFIG =0). Obviously, if using ALT_BRD_CONFIG = 1 for full duplex RC prtocols, you must a different UART for FrSky Telemetry. - SERIAL6_PROTOCOL 10 - SERIAL6_OPTIONS 7 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/defaults.parm b/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/defaults.parm index 8ff4570cbf..6f3be2884a 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/defaults.parm +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/defaults.parm @@ -1,3 +1,5 @@ # setup for LEDs on chan9 SERVO9_FUNCTION 120 NTF_LED_TYPES 257 +SERIAL7_PROTOCOL 16 + diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat index f28b049415..8e0099b89f 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteH7/hwdef.dat @@ -28,7 +28,7 @@ define HAL_STORAGE_SIZE 32768 I2C_ORDER I2C1 # order of UARTs (and USB) -SERIAL_ORDER OTG1 USART1 USART2 USART3 UART4 EMPTY USART6 UART7 OTG2 +SERIAL_ORDER OTG1 USART1 USART2 USART3 UART4 EMPTY USART6 UART7 # buzzer PC13 BUZZER OUTPUT LOW PULLDOWN GPIO(80) @@ -72,7 +72,7 @@ PC1 BATT_CURRENT_SENS ADC1 SCALE(1) PA8 VBUS INPUT -# define default battery setup +# define default battery setup (note external current sensor required) define HAL_BATT_VOLT_PIN 10 define HAL_BATT_CURR_PIN 11 define HAL_BATT_VOLT_SCALE 11.0