A Novel Solution to the Synchronization Problem of CAN
Ms. Shilpa Mayannavar , Prof. Ashwini Desai, Dr. Uday Wali
Abstract
One of the main problems in synchronous digital system design is synchronization of different clocks in the system. Obviously, this problem is always present in CAN bus related equipment. The problem is more acute in CAN compared to other high speed serial protocols like I2C and SPI. Speed of communication is pre-negotiated but synchronization is provided by the data frame. No separate clock line is provided. We have implemented a CAN transceiver that can automatically detect the speed and synchronization from the data frame. We have approached the problem in two distinct steps. First step is to identify the baud rate. In the following step, which is applied to every frame independently, the sampling time is adjusted with respected to the frame clock. The method also adjusts the sampling rate to reduce the number of samples required to sense the input signal. We also use a novel bit-central-sampling scheme to increase the reliability of data reading.
Keywords
CAN (Controller Area Network), Frame synchronization, I2C (Inter Integrated Circuits), SPI (Serial Peripheral Interface)
References
[1] Digital electronics (Principles and Integrated Circuits) by Anil K. Maini WILEY PRECISE edition.
[2] U. V. Wali “Plug and Play CAN”, Tutorial presented at International Embedded system Conference ESC JULY 2009, Bangalore.
[3] Shilpa Mayannavar, “A Novel solution to the Synchronization problem of CAN” M.Tech. Thesis submitted to VTU, June 2014.
[4] Design of CAN transmitter with an I2C interface, Anupama B and Uday Wali, International Journal of Computer Applications, Vol. 46, no. 21, ISBN 973-93-80868-65-5
[5] High speed CAN Transceiver, Microchip, available from web link http://ww1.microchip.com/downloads/en/DeviceDoc/21667E.pdf
[6] LPC2119/2129/2194/2292/2294 User Manual, NXP Semiconductor, http://www.nxp.com/acrobat_download/usermanuals/UM_LPC21XX _LPC22XX_2.pdf
[7] CAN specification 2.0, Rober Bosch, 1991, http://www.semiconductors.bosch.de/pdf/can2spec.pdf
Cites this article as
M. S. Mayannavar, P. A. Desai, D. U. Wali,
"A Novel Solution to the Synchronization Problem of CAN", International Journal of Innovative Research in Computer Science and Technology (IJIRCST), Vol-2, no.4, pp.69-72, 2014. Available from:
Corresponding Author
Ms. Shilpa Mayannavar
M.Tech. 4th semester student (VLSI Design and Embedded System), KLE DR MSS CET, Belgaum, India, 8431478910., (e-mail: mayannavar.shilpa@gmail.com).