Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andyp1per
Copy link
Collaborator

No description provided.

|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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


# USART6 (SBUS, inverted)
# USART6 (Spare)
Copy link
Collaborator

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

Copy link
Collaborator Author

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)
Copy link
Collaborator

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

Copy link
Collaborator Author

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)
Copy link
Collaborator

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

Copy link
Collaborator Author

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

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Dec 29, 2024
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
@andyp1per andyp1per force-pushed the pr-betafpv-pavo20pro branch from 018fd1a to 06587ec Compare December 30, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WikiNeeded needs wiki update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants