CHAPTER 12 SERIAL INTERFACE UART6
Preliminary User’s Manual U16846EJ1V0UD
224
Remark
LIN stands for Local Interconnect Network and is a low-speed (1 to 20 kbps) serial communication
protocol intended to aid the cost reduction of an automotive network.
LIN communication is single-master communication, and up to 15 slaves can be connected to one
master.
The LIN slaves are used to control the switches, actuators, and sensors, and these are connected to the
LIN master via the LIN network.
Normally, the LIN master is connected to a network such as CAN (Controller Area Network).
In addition, the LIN bus uses a single-wire method and is connected to the nodes via a transceiver that
complies with ISO9141.
In the LIN protocol, the master transmits a frame with baud rate information and the slave receives it and
corrects the baud rate error. Therefore, communication is possible when the baud rate error in the slave
is
±
15% or less.
Figures 12-1 and 12-2 outline the transmission and reception operations of LIN.
Figure 12-1. LIN Transmission Operation
Sleep
bus
Wakeup
signal frame
8 bits
Note 1
55H
transmission
Data
transmission
Data
transmission
Data
transmission
Data
transmission
13-bit
Note 2
SBF
transmission
Note 3
Synchronous
break field
Synchronous
field
Indent
field
Data field
Data field
Checksum
field
TX6
INTST6
Notes 1.
The wakeup signal frame is substituted by 80H transmission in the 8-bit mode.
2.
The synchronous break field is output by hardware. The output width is the bit length set by bits 4 to 2
(SBL62 to SBL60) of asynchronous serial interface control register 6 (ASICL6). If more precise output
width adjustment is necessary, use baud rate generator control register 6 (BRGC6) (see
12.4.2 (2) (h)
SBF transmission
).
3.
INTST6 is output on completion of each transmission. It is also output when SBF is transmitted.
Remark
The interval between each field is controlled by software.