Skip to content

Odd UART behaviour #10674

Feb 5, 2023 · 3 comments · 16 replies
Discussion options

You must be logged in to vote

Just a note: my test showed that uart.flush() may return from the call up to 1 ms after the transmission of the last byte has started. At 38400 baud that would be ~750µs after the end of transmission. You do not use that here, but it should better be changed to make it more dependable, that just exactly one character time delay has to be added.
That does not help you here, but your problem may be caused by a similar effect.

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
5 replies
@robert-hh
Comment options

@drzee99
Comment options

@robert-hh
Comment options

@drzee99
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
11 replies
@robert-hh
Comment options

@cve2022
Comment options

@drzee99
Comment options

@cve2022
Comment options

@drzee99
Comment options

Answer selected by drzee99
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants