How to improve the detection length or detection accuracy of the break segment of LIN communication? About the detection length of the break section of LIN communication.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
tony
Level 2
Level 2
First solution authored First like received 5 questions asked

(1) I set the beak segment detection length to 11, but when sending a beak segment with a length of 11.3 bits, the break detection interrupt cannot be triggered.

(2) In the face of such a situation, is there any way to detect the 11.3 bit break segment? What kind of hardware changes or software processing needs to be done.

0 Likes
1 Reply
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @tony ,

As per spec, the master is expected to send a break field of at least 13 nominal bit times of dominant value. Sending 11.3 bit times could be a violation of the LIN spec. 

However, even though master will keep the bus voltage at Low for 13 bit times minimum, the slave should get ready by 11bit time, to receive any data. You can change the Break detection threshold (bit times) in the configurator to 12 or more if you feel the slave clock is not accurate.

Regards,
Bragadeesh