0 ratings0% found this document useful (0 votes) 9 views5 pagesCommunication Protocols
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Communication protocols summary
=) ©",
-~
LOCAL INTERCONNECT NETWORK@o
LOCAL INTERCONNECT NETWORK
LIN Protocol
UART based
Single wire 12V
Half-duplex communication
Single master multi slave
Limited up to 16 slaves
Speed is 20 KPS
Time triggered
Communication between
sensors/actuators and ECU
Low cost
Massage based protocol
Error detection
Error detection:
1. Parity check
2. checksum
CLIN Monitor )
Wed
> a
Toe LIN Frame
Slot 4
Master Head "gay" Slave Response
Smesrek — Syne Fed enter Darts awses) checksum
From MASTER From addressed SLAVE to
— -Wires Used 2
Maximum Speed ‘Any speed up to 115200 baud, usually 9600 baud
Synchronous or Asynchronous? Asynchronous
Serial or Parallel? Serial
Max # of Masters 1
Max # of Slaves 1 Ty
MCU1 MCU2
UART protocol
Start bit Word data Parity Stop bit
- bit logic 4
--____£t ————_| (optional) |
Bad | [mm | m | oe | me | |Wires Used 2
Maximum Speed ‘Standard mode= 100 kbps
Fast mode= 400 kbps
High speed mode= 3.4 Mbps
Ultra fast mode= 5 Mbps
Synchronous or Asynchronous? ‘Synchronous
Serial or Parallel? Serial 7
= = i2c protocol
Max # of Slaves 1008
SG
Slave Address Data Frame 1 Data Frame 2
Start Condition ‘Stop ConditionWires Used
Maximum Speed
Synchronous or Asynchronous?
Serial or Parallel?
Max # of Masters
Max # of Slaves
4
Up to 10 Mbps
‘Synchronous
Serial
1
Theoretically unlimited*
SPI protocol
CPHA PETE areeg
oo
Peer
ure
ened