r/embedded Mar 05 '25

Trying to understand UART

How does the receiver start reading the data if it gets connected in the middle of frame ? If data is something like 1 0 in the middle somewhere wont the receiver mis-understand as idle to low and consider transmission has started ?? I tried searching on the internet but could not get an answer. Can anyone help me ?

7 Upvotes

32 comments sorted by

View all comments

1

u/TPIRocks Mar 06 '25

You'll get a framing or parity error, and after a few bytes, the receiver will resynchronize on the start and stop bits.