DocumentCode :
3187523
Title :
Development of a field programmable gate array based Controller Area Network sniffer
Author :
Jayananda, M.K. ; Jayarathne, Neranjaka
Author_Institution :
Dept. of Phys., Univ. of Colombo, Colombo, Sri Lanka
fYear :
2013
fDate :
17-20 Dec. 2013
Firstpage :
610
Lastpage :
615
Abstract :
In this paper we discuss about a hardware based Controller Area Network (CAN) sniffer. This sniffer will listen to a CAN network, read incoming frames, convert them to computer understandable form and forward it to the computer. For this an extensive study of the CAN protocol was carried out. In this study the CAN message frame architecture, bit coding techniques and CAN bit sampling techniques were examined. For the implementation, a developer board with Xilinx Spartan 3E Field Programmable Gate Array (FPGA) which has 1920 Configurable Logic Blocks (CLB) was used. To match the FPGA voltages and Transistor-Transistor Logic (TTL) to RS-232 logic, intermediate circuitry was used. When realizing the implementation, from the available total, 431 flip flops and 768 Look Up Tables (LUT) were used. From these 601 were used as logic, 166 were used as route through and 1 was used as a shift register. Due to the limitations of the FPGA and the developer board, the developed sniffer was limited to 125 Kbps low speed fault tolerant CAN. When a CAN frame arrives at the FPGA, it reads the frame, divides into 17 bytes and forwards to the computer using RS-232 serial communications. In the realized implementation there is a 20.625 ms delay between reading two frames. This is due to a bottle neck in RS-232 baud rate. This can be improved by using Universal Serial Bus (USB) protocols to communicate with the computer.
Keywords :
controller area networks; field programmable gate arrays; peripheral interfaces; shift registers; table lookup; CAN protocol; CLB; FPGA voltages; LUT; RS-232 logic; RS-232 serial communications; TTL; USB protocols; Xilinx Spartan 3E field programmable gate array; baud rate; bit coding techniques; bit sampling techniques; configurable logic blocks; developer board; hardware based controller area network sniffer; intermediate circuitry; look up tables; low speed fault tolerant; message frame architecture; shift register; time 20.625 ms; transistor-transistor logic; universal serial bus protocols; Arrays; Clocks; Computers; Field programmable gate arrays; Oscillators; Protocols; CAN; FPGA; Reconfigurable Hardware; Serial Communications;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Industrial and Information Systems (ICIIS), 2013 8th IEEE International Conference on
Conference_Location :
Peradeniya
Print_ISBN :
978-1-4799-0908-7
Type :
conf
DOI :
10.1109/ICIInfS.2013.6732054
Filename :
6732054
Link To Document :
بازگشت