EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 435

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 435 / 703
LIN is short for Local Interconnect Network and is a low-speed (1 to 20kbps) serial communication
protocol to reduce the cost of automotive networks. LIN communication is a single master communication, a
master device can connect up to 15 slave devices.
LIN slave devices are used for the control of switches, transmissions, sensors, etc., which are connected
to the master control device via LIN.
LIN masters are generally connected to networks such as the Controller Area Network.
The LIN bus is a single-wire bus that connects nodes through an ISDO9141-compliant transceiver.
According to the LIN protocol, the master device sends a frame with additional baud rate information, and
the slave device receives this frame and corrects the baud rate error with the master control device.
Therefore, if the baud rate error of the slave device is not greater than 15% ±, communication can be made.
A summary of the LIN's send operation is shown in Figure 14-113.
Figure 12-113 LIN Transmission Operation
wake up
signal frame
interval field sync field identifier data field checksumdata 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 the corresponding data is sent
by 80H.
2. The interval segment is specified as a 13-bit wide low-level output, so assuming that the baud rate used for the
main transmission is N[bps], the baud rate used in the break field is as follows:
Send data of 00H through this baud rate, generating interval segments.
3. Outputs INTST0 at the end of each data transmission, and also outputs
INTST0 when BF is transmitted.
Remarks The software controls the spacing between segments.
(baud rate for break field) =9/13
N

Table of Contents

Related product manuals