


There are several versions of the LIN standard. The master controls the sequencing of message frames, which is fixed in a schedule.

Upon reception and interpretation of the ID, one slave begins the message response, which consists of one to eight bytes of data and an 8-bit checksum. The ID denotes a specific message address but not the destination. The identifier (ID) consists of a 6-bit message ID and a 2-bit parity field. The message header consists of a break used to identify the start of the frame and the sync field used by the slave node for clock synchronization. The LIN bus uses a master/slave approach that comprises a LIN master and one or more LIN slaves. Modern automotive networks use a combination of LIN for low-cost applications primarily in body electronics, CAN for mainstream powertrain and body communications, and the emerging FlexRay bus for high-speed synchronized data communications in advanced systems such as active suspension.
#High speed checksum calculator serial
You can implement LIN relatively inexpensively using the standard serial universal asynchronous receiver/transmitter (UART) embedded into most modern low-cost 8-bit microcontrollers. LIN provides cost-efficient communication in applications where the bandwidth and versatility of CAN are not required. Though the Controller Area Network ( CAN) bus addresses the need for high-bandwidth, advanced error-handling networks, the hardware and software costs of CAN implementation have become prohibitive for lower performance devices such as power window and seat controllers. The Local Interconnect Network (LIN) bus was developed to create a standard for low-cost, low-end multiplexed communication in automotive networks.
