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

[BACKPORT v1.15] stm32h7: Reset USART clock selection (#23498) #23516

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

julianoes
Copy link
Contributor

Backport of #23498

This resets the USARTs' clock source selection to the default, in case
it has been changed by the bootloader.

This is required if booting from the ArduPilot bootloader which happens
to reset the clock selection to PLL.

Without this fix, UARTs (including the console) is garbled, so
presumably at an invalid baudrate.
@julianoes julianoes requested a review from davids5 August 7, 2024 22:57
@julianoes
Copy link
Contributor Author

Tested on 2 separate UARTS (for each defines respectively) on Pixhawk 6C, Pixhawk 6X, and Cube Orange and Cube Orange+.

@julianoes julianoes merged commit fe26cde into release/1.15 Aug 8, 2024
5 checks passed
@julianoes julianoes deleted the pr-1.15-backport-fix-usart-clock branch August 8, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants