Professional Documents
Culture Documents
I. LIN properties
II. LIN bus
III. LIN frame format
IV. LIN communication
V. LIN frames
a. Un-Conditional frames
b. Event triggered frames
c. Sporadic frames
d. Diagnostic frame
e. Reserved frame
VI. LIN error handling
VII. LIN in OSI model
VIII. Miscellaneous
a. Dominant & Recessive bit levels
b.
i. LIN properties
/Single master_Multi-slave
-Arbitration not necessary
/Single wire implementation
/Supports the hot swapping
/self-synchronization without crystal in slave nodes
/Broadcast type serial network
Master
/Communication is controlled by the master device.
/master device contain both master task and also slave task.
Slave
/slave device contain only slave task.
SYNC Field:-
/It is transmitted by master
/All slave nodes synchronize with master
/It having 8-bits, Sync is defined as the character 0x55.
PID Field:-
/Transmitted by the master.
/It having total 8-bits.
/The lower 6-bits are Identifier and the upper 2-bits containing the
parity.
/length of the identifier is 6-bits.The LIN bus provides a total of
64 IDs.
>IDs 0 to 59 are used for carry the data (data-frame).
>60 & 61 are used to carry diagnostic data.
>62 are reserved for user-defined extensions.
>63 are reserved for future protocol enhancements.
Parity bits:-
//Message Response//
Data Bytes:-
/The data bytes field is transmitted by the slave task in the
response.
/This field contains from one to eight bytes of payload data bytes.
Checksum:-
/The checksum field is transmitted by the slave task in the response.
/It has 8-bit check sum value.
ix. Miscellaneous
/Do not need excessive bandwidth, performance, or extreme fault
tolerance.
/It is low cost to implement compare to CAN.