CAN PROTOCOL Characterization Presentation supervisor : Oren Kerem performer : Ohad Gidon , Ilan Degani
Block Diagram Led New CAN element Tran ALTERA PS Old vhdl PCI Computer ALTERA Led PS New element CAN Tran Old vhdl PCI connection
CAN protocol major 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 : S O F Arbitration Field Data CRC ACK EOF 12 Bit 6 Bit 0 to 8 Byte 16 Bit 2 Bit 7 Bit 1Bit Control S O F Arbitration Field CRC ACK EOF 12 Bit 6 Bit 16 Bit 2 Bit 7 Bit 1Bit Control
CAN Protocol - frames Error frame : Flags type: Type of error : Passive Active Type of error : Bit error Stuff error CRC error Form error Acknowledgement error Error flag Superposition of error flags Error Delimiter 6 Bit 8 Bit Max 12 Bit
CAN Protocol - frames Overload frame : Interframe space : overload flag Superposition of overload flags overload Delimiter 6 Bit 8 Bit Max 12 Bit 3 Bit intermission Bus idle Suspend transmission 8 Bit intermission Bus idle 3 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