SLAAEK9 February 2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0L1105 , MSPM0L1106 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
LIN (Local Interconnect Network) bus is a low-cost serial communication protocol based on UART/SCI (Universal Asynchronous Receiver-Transmitter/Serial Communication Interface). Due to the low cost, it is widely used in Auto area as the subline of CAN. As shown in Figure 1-1, LIN communication follows a single commander and multiple responders, and the MCU uses the UART interface combined with LIN transceiver to communicate between nodes.
Similar to most network protocols, LIN is defined as a multi-layered system officially, which varying from the physical interface to the application, as shown in Figure 1-2. The node application layer transmits signals and messages to the lower layer, and encapsulates them into a frame format through the protocol layer, and transmits them to other nodes through the LIN bus.
This application note focuses on the implementation of basic functions of LIN using MSPM0. Specifically, how MSPM0 works with LIN driver to implement protocol layer and physical layer functions is presented, which can help develop the software project quickly.