BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
705 / 1149
Rev.1.02
LIN, short for Local Interconnect Network, is a low-speed (1 to 20kbps) serial communication protocol for
reducing the cost of automotive networks. LIN communication is a single master communication, and a
master device can connect up to 15 slave devices.
LIN slaves are used for the control of switches, actuators, sensors, etc., which are connected to the
master control device via LIN.
The LIN master is generally connected to a network such as CAN (Controller Area Network).
The LIN bus is a one-wire bus that connects nodes through ANDO9141-compliant transceivers.
According to the LIN protocol, the master device sends a frame with additional baud rate information, and
the slave receives this frame and corrects the baud rate error with the master device. Therefore, if the baud
rate error of the slave is not greater than 15% of the ±, communication can be carried out.
A summary of the send operation of LIN is shown in Figure 19-112.
Figure 19-112: The send operation of a LIN
wake up
signal frame
interval field
sync field
identifier
data field
checksum
data field
TxD0
(output)
8 bit
Note1
13 bit
Note2
BF transmit
"55H" transmit
data transmit data transmit data transmit data transmit
INTST0
Note3
Note 1
In order to meet the requirements of the wake-up signal, the baud rate is set and corresponds by sending
the
data "80H".
2. The spacer segment is specified as a
13-bit
wide low-level output, so it is assumed that the baud rate used by the
main transmission is
N[bps], and the baud rate used in the spacer segment is as follows:
The data of "00H"
is sent at this baud rate
to generate interval segments.
3. Output INTST0
at the end of each data transmission, and
also output
INTST0
when
BF
is sent
.
Note The software controls the interval between segments.
(baud rate of the interval segment).
=9/13
×
N