Local Interconnect Network - LIN Protocol

LIN Protocol

The LIN-Master uses one or more predefined scheduling tables to start the sending and receiving to the LIN bus. These scheduling tables contain at least the relative timing, where the message sending is initiated. One LIN Frame consists of the two parts header and response. The header is always sent by the LIN Master, while the response is sent by either one dedicated LIN-Slave or the LIN master itself.

Transmitted data within the LIN is transmitted serially as eight bit data bytes with one start & stop-bit and no parity. Bit rates vary within the range of 1 kbit/s to 20 kbit/s. Data on the bus is divided into recessive (logical HIGH) and dominant (logical LOW). The time normal is considered by the LIN Masters stable clock source, the smallest entity is one bit time (52 µs @ 19.2 kbit/s).

Two bus states — Sleep-mode and active — are used within the LIN protocol. While data is on the bus, all LIN-nodes are requested to be in active state. After a specified timeout, the nodes enter Sleep mode and will be released back to active state by a WAKEUP frame. This frame may be sent by any node requesting activity on the bus, either the LIN Master following its internal schedule, or one of the attached LIN Slaves being activated by its internal software application. After all nodes are awakened, the Master continues to schedule the next Identifier.

Read more about this topic:  Local Interconnect Network

Famous quotes containing the word lin:

    Out then spak her father dear,
    And he spak meek and mild,
    And ever alas, sweet Janet, he says,
    I think thou gaes wi’ child.

    If that I gae wi’ child, father,
    Mysel maun bear the blame;
    There’s ne’er a laird about your ha’,
    Shall get the bairn’s name.
    —Unknown. Tam Lin (l. 53–60)