Message format
A LIN message is fundamentally made of two parts:
- The Header is only transmitted from the LIN Master. It is received by all the LIN Slaves. Each Slave filters the messages which for it are relevant based on the Header. The Header indicates whether the LIN Master data is required or whether data follows which is specifically for the Slave.
- The Response comes directly after the Header. If the LIN Master transmits data to a Slave, the Master attaches this to the Header. If a Header prompts a Slave for a transmission, it completes the requested data itself.
A complete bus message looks like this on the oscilloscope:
The Header is always transmitted from the LIN Master, the Response can also be transmitted from the Slave.