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

STM32U5 UART loses data with baud rates higher than 67800 #310

Open
JohnK1987 opened this issue Jul 21, 2024 · 2 comments
Open

STM32U5 UART loses data with baud rates higher than 67800 #310

JohnK1987 opened this issue Jul 21, 2024 · 2 comments
Assignees

Comments

@JohnK1987
Copy link
Member

STM32U5 UART loses data with baud rates higher than 67800 - need to be verified.
This potential issue, based on #227, was created for easy track of the issue

We need:

  • an example for reproducing
  • someone with STM32U5 target for verification
@wdx04
Copy link

wdx04 commented Jul 22, 2024

To use higher baud rates for serial communication it is required to disable deep sleep with the sleep_manager_lock_deep_sleep() function. Also, when DMA is used, it is possible to achieve very high baud rates without data loss. For example, with my BurstSerial library, I archived 10M baud rate (the theoretical maximum for 16x oversampling) on a NUCLEO-U545RE board, when communicating with the PC through the ST-LINK virtual COM port.

@lefebvresam lefebvresam self-assigned this Jul 24, 2024
@lefebvresam
Copy link

Once I have some time, I will try to reproduce the issue, strip down my project en put an example online.

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

No branches or pull requests

3 participants