cancel
Showing results for 
Search instead for 
Did you mean: 

USART receiver timeout after a (LIN) BREAK?

Pieter Conradie
Associate III

Hi there,

I am using the full featured USART in LIN mode. The start of a LIN packet is signaled by a BREAK condition. The next byte is the SYNC (0x55). After the BREAK is detected, I enable the receiver timeout so that if the SYNC (0x55) is not received then the LIN reception must restart. This does not happen, i.e. after a BREAK with no other bytes, it does not generate a receive timeout.

According to the RM, the receiver timeout starts after a valid STOP. So is the end of a BREAK not considered a valid STOP and therefore the receive timeout does not start?

Thanks in advance,

Pieter

https://piconomix.com

1 REPLY 1
Pavel A.
Evangelist III

Instead of RTO, try IDLE detection. A stop bit follows a data frame, so if no data was received, RTO won't occur.