Serial Communication: Low inter-line interference, saving wiring harness and long transmission distance
Single-line transmission: enhanced ISO 9141 (ISO 15765-1), bus voltage based on vbat maximum rate: 20 kbit/s single-master multi-slave structure, no arbitration required: the master node contains both the master and slave tasks. The slave node only includes slave tasks, the master node is responsible for the messages on the bus, and the slave node is responsible for sending data. The master node sends headers, A low-cost interface hardware based on universal UART/SCI is formed by filling the header with a response from a task to form a complete packet: almost all MCU can flexibly increase or decrease the number of nodes based on the hardware of the LIN bus, A line can be connected to a maximum of 16 nodes to support multi-packet transmission. The diagnosis service Lin node model can be divided into application and Communication Data: Signal packets, signals are located in the frame data field, it appears in numbers or arrays. The same signal is always fixed in the position of the same ID of the message, and is transmitted by two reserved IDs, the diagnostic information used to transmit the node sends the packet Frame Structure in the order of the scheduling table: interval field: indicates the beginning of a frame message, which is sent by the master node. It consists of at least 13 dominant bits, the delimiter consists of at least one recessive bit in the synchronization field: Make sure that all slave nodes use the same baud rate as the master node to send and receive data, one byte, with a fixed structure of 0x55 Identifier Field: ID range: 0 to 63; parity bit data field: 1 to 8 bytes in length, low byte first, low first, validation field: Check whether the data is correct, classic verification and enhanced verification, the Byte interval is between each byte, and the response interval is between the header and the response: Leave enough processing time for the MCU. The frame length may increase. Frame Type: unconditional frame, event trigger frame, and retained frame, sporadic frame, diagnostic frame, custom frame
Automotive LIN bus features