0% found this document useful (0 votes)
54 views7 pages

LIN Local Interconnect Network

LIN is a single-wire serial communication protocol used in automotive applications for low-speed communication between microcontrollers. It uses a master-slave topology with a single master node that controls communication. LIN frames have a message header transmitted by the master containing a sync field, PID, and optional checksum. Slave nodes can respond with data bytes. Common frame types include unconditional, event-triggered, and diagnostic frames. LIN supports multiple slave nodes, single-wire implementation, self-synchronization, and hot swapping of devices.

Uploaded by

KARTHIK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views7 pages

LIN Local Interconnect Network

LIN is a single-wire serial communication protocol used in automotive applications for low-speed communication between microcontrollers. It uses a master-slave topology with a single master node that controls communication. LIN frames have a message header transmitted by the master containing a sync field, PID, and optional checksum. Slave nodes can respond with data bytes. Common frame types include unconditional, event-triggered, and diagnostic frames. LIN supports multiple slave nodes, single-wire implementation, self-synchronization, and hot swapping of devices.

Uploaded by

KARTHIK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

LIN

Local Interconnect Network


……………VINOD KUMAR.J

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

//Byte oriented protocol//

/Data is sending byte by byte. One byte field contain


.Start bit (dominant)
.8-bits (data)
.Stop bit (recessive)
In data LSB bits are sent first.
ii. LIN bus

/It follows the wired AND logic

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.

iii. LIN Frame format


//Message Header//

SCI : - Serial Communication Interface


PID : - Protected Identifier

SYNC Break Field:-


/It transmitted by master.
/It is nothing but Start of Frame
/It having minimum 13-dominant bits followed by a one break delimiter
bit (recessive).

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.

iv. LIN communication types

/In master_Slave communication the above figure indicates the


master sends the complete message frame (both header and response)
usually referred to as CMD (Command) frame.
/Here the message is broadcast.
/In slave to master communication Master requests a response from
one specific slave
/It is usually referred as request frame.

/In slave to slave communication one slave sends its response on


LIN network on or more slaves used this data.
/There is no need to data processing by the maser.

ix. Miscellaneous
/Do not need excessive bandwidth, performance, or extreme fault
tolerance.
/It is low cost to implement compare to CAN.

You might also like