-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support new BARO on BETAFPV F405 #28962
base: master
Are you sure you want to change the base?
Conversation
|SERIAL4|TX4/RX4|UART4 (DJI)| | ||
|SERIAL5|RX5|UART5 (RX-only)| | ||
|SERIAL6|RX6|UART6 (SBUS, RX-only, inverted, DMA-enabled)| | ||
|SERIAL3|TX3/RX3|UART3 (ELRS, internal - can be freed up through board modifications) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See FAQ section here - https://betafpv.com/products/f4-2-3s-20a-aio-fc-v1?_pos=1&_sid=a0000be76&_ss=r
|
||
# USART6 (SBUS, inverted) | ||
# USART6 (Spare) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not agree with readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
define DEFAULT_SERIAL4_PROTOCOL SerialProtocol_DJI_FPV | ||
define DEFAULT_SERIAL4_PROTOCOL SerialProtocol_MSP_DisplayPort | ||
|
||
# UART5 (SBUS, RX-only) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this inverted to RX5? wont work otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's labelled as SBUS on the connector. It's either hardware inverted or uses the inversion pin (which is already defined)
PC6 USART6_TX USART6 | ||
|
||
# IO pin on alternate config | ||
PC6 EXTERN_GPIO1 OUTPUT GPIO(81) ALT(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure this works? just asking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, all tested. It's a bizarre thing to do, but its what betaflight does and the RTF kits rely on this
add UART6 and VBUS to BETAFPV F405 add alt config to BETAFPV-F405 to support RELAY2 instead of UART6_TX as per betaflight enable SBUS input on BETAFPV-F405 on UART5_RX enable IMU temperature calibration for BETAFPV-F405
018fd1a
to
06587ec
Compare
No description provided.