12.2.4.3 LIN Header Detection and Auto Baud Rate Calculation

The LIN is a serial communications protocol, which efficiently supports the control of mechatronics nodes in distributed automotive applications. LIN is a broadcast serial network, comprising of one master and one or more slaves.

In a LIN system, the master and slave nodes are initially set to a given baud rate between 1 and 20 Kbps. The master controls the per-frame-change of the asynchronous baud rate with the LIN header's break/sync fields. The following figure shows that the communication in an active LIN network is always initiated by the master task. The master sends out a message header, which comprises the break field, synchronization byte field, followed by a protected identifier field (PID).

Figure 12-11. LIN Header