What is the LIN message format?

The LIN telegram transmission starts with a dominant level of 13-bit that is transmitted by the master to identify the start of the frame. In an alternate sequence of 1-0, the master transmits a sync field that can be used for clock synchronization by slave node.

The identifier is transmitted by the master after the sync field with a 6-bit long message ID and a parity field of 2-bit. The message ID is in addition to ID that contains an optional message with length information of 2, 4, or 8 data bytes. Message ID that is used as an address by the slave can now transmit data bytes in the range of (1-8) followed by a checksum.

The classic checksum is used by the protocol version 1.3 whereas the 2.0 version is used for enhancing the checksum.

2.0, the LIN specification is defined as an event-triggered frame in addition to an unconditional frame. Due to this reason, event-triggered are defined as several frame IDs within the network. If such a frame is requested by the master device, a corresponding slave starts to transmit data. Due to this occurrence, a frame ID is transmitted by the slave, a standard frame within the first data byte, assigned to this information. If an event is triggered or a collision occurs then it can not be identified correctly. Individually the information will then be transmitted by using a standard frame.

Source:- Elektronik Praxis

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.