CAN PROTOCOL Characterization Presentation supervisor : Oren Kerem performer : Ohad Gidon, Ilan...
-
date post
21-Dec-2015 -
Category
Documents
-
view
263 -
download
3
Transcript of CAN PROTOCOL Characterization Presentation supervisor : Oren Kerem performer : Ohad Gidon, Ilan...
CAN PROTOCOLCAN PROTOCOLCharacterization PresentationCharacterization Presentation
CAN PROTOCOLCAN PROTOCOLCharacterization PresentationCharacterization Presentation
supervisor : Oren Kerem supervisor : Oren Kerem
performer :
Ohad Gidon , Ilan Degani
performer :
Ohad Gidon , Ilan Degani
Block Diagram
Computer
ALTERA
Led
PS
Newelement
CA
N Tran
TranOld vhdl
PCIconnection
CAN protocol major characterizationmajor characterization
• System flexibility - Nodes may be added to the CAN without requiring any change .
• Multicast – any number of nodes may receive and act simultaneously upon the same message .
• Multi master – the node with the highest priority to be transmitted gains bus access .
• Data integrity – signaling and self checking in every CAN node .
• Fault confinement – defective node are switched off .
CAN Protocol- frames• There are four Frame type :
– Data frame :
– Remote frame :
SOF
ArbitrationField
DataField
CRCField
ACKField
EOF
12 Bit 6 Bit 0 to 8 Byte 16 Bit 2 Bit 7 Bit1Bit
ControlField
SOF
ArbitrationField
CRCField
ACKField
EOF
12 Bit 6 Bit 16 Bit 2 Bit 7 Bit1Bit
ControlField
CAN Protocol - frames– Error frame :
– Flags type:– Passive– Active
– Type of error :– Bit error– Stuff error– CRC error– Form error– Acknowledgement error
Error flagSuperposition of
error flagsError
Delimiter
8 Bit6 Bit
Max 12 Bit
CAN Protocol - frames– Overload frame :
– Interframe space :
intermission Bus idle
3 Bit3 Bit
intermission Bus idleSuspend
transmission
8 Bit
overload flagSuperposition of
overload flagsoverloadDelimiter
8 Bit6 Bit
Max 12 Bit
Block diagram• Top :
Block diagram• Nodes configuration
Block diagram• Slave_master
Block diagram• Receive
Block diagram• Transmit
Schedule
DATE DESCRIPTION
15.12.02-21.12.02 BUILD CONTROL BLOCK
22.12.02 – 11.01.03 TESTING THE EVALUATION BOARD
12.1.03 – 25.01.03 SIMULATION
26.1.03 – 03.02.03 SYNTHESYS + TEST THE PROGRAM ON THE EVALUATION BOARD