A LOW COST AND FLEXIBLE APPROACH TO CAN CONFORMANCE TESTING

Imran Sheikh, Michael Short

2009

Abstract

Since its introduction in the early 1980’s, CAN has become the de-facto communications protocol employed in vehicle and industrial control applications. Before any new product can claim to support CAN-connectivity, compliance with the protocol at the physical and data link layers must be tested and verified. To help standardize the requirements for such testing, ISO has set a draft standard specifically for CAN conformance testing. Traditionally, CAN controllers and transceivers have been implemented at the silicon level, either in the form of dedicated IC’s or as on-chip peripherals of embedded devices. The practical implementation of CAN conformance testers has been realised using dedicated hardware and specially written analysis software; this is a practical approach when testing and verifying conformance prior to high-volume IC manufacture. However, recent years have seen an increased interest in the employment of CAN-connected devices implemented by programmable logic devices such as FPGA’s. Such ‘soft core’ implementations are often in small-volume (or even one-off) batches. In such circumstances, for cost and availability reasons, it may not be practical for developers to use traditional CAN-conformance testing equipment. To help alleviate this problem, this paper proposes a low-cost and easily implemented method which will allow developers to fully test a CAN soft core implementation. The method is based around simple off-the-shelf development boards and the simple analysis tool Chipscope, and allows developers to verify a CAN core against the relevant ISO standards. Finally, the paper describes the use of the test bed in the verification of an open-source CAN soft core implementation.

References

  1. Agilent Technologies, 2003. Deep Storage with Xilinx Chipscope Pro and Agilent Technologies FPGA Trace Port Analyzer. http://cp.literature.agilent.com/litweb/ pdf/5988-7352EN.pdf
  2. Bosch, R., 1991. CAN Specification 2.0, Postfach, Stuttgart, Germany: Robert Bosch GmbH.
  3. CAN 2.0 eVC, 2005. Yogitech SPA.
  4. Carmes, E., Junier, C., and Aussedat, F., 1996. CAN Conformance: Methodology and Tools, Keynote speech, CAN in Automation Proceedings of 3rd iCC 1996, Paris, October 1996
  5. Di Blasi, A., Colucci, F., and Mariani, R., 2003. Y-CAN Platform: A Re-usable Platform for Design, Verification and Validation of CAN-Based Systems On a Chip, ETS- 2003 Symposium, May2003
  6. Ferreira, J., Oliveira, A., and Fonesca, J., 2005. An Experiment to Assess Bit Error Rate in CAN, In Proceedings of 3rd International Workshop of Realtime Networks (RTN 2004), Catania, Italy.
  7. IEEE, 2001. Standard for Verilog Hardware Description Language, IEEE standard 1364.
  8. ISO, 1994. DIS 9646-1 The International Organization for Standardization. Information technology-Open Systems Interconnection-Conformance testing methodology and framework.
  9. ISO, 2000. DIS-16845, Road Vehicles- Controller Area Network (CAN) - Conformance Test Plan
  10. ISO, 2003. DIS 11898-1 Road vehicles - Controller area network (CAN) - Part 1: Controller area network data link layer and physical signalling.
  11. Kirschbaum, A.; Renner, F.M.; Wilmes, A.; Glesner, M., 1996. Rapid-prototyping of a CAN-Bus controller: a case study, Rapid System Prototyping, 1996. Proceedings. Seventh IEEE International Workshop on , vol., no., pp.146-151, 19-21 Jun 1996.
  12. Lawrenz, W., Kinowski, P., and Kircher,G., 1998a. CAN Conformance Testing-The Developing ISO Standard and Necessary Extensions, In Proceedings of International Truck and Bus Meeting and Exposition Indianapolis, Indiana, November 16-18, 1998.
  13. Lawrenz, W., Kinowski, P. and Kircher, G., 1998b. CAN Conformance Testing - State of the Art and Test Experience, In Proceedings of 5th International CAN Conference iCC'98, San Jose, California, November 1998.
  14. Lee, T., Fan, Y., Yen, S., Tsai, C., and Hsiao, R., 2007. An Integrated Functional Verification Tool for FPGA Systems, Second International Conference on Innovative Computing, Information and Control, ICICIC 7807, pp.203-203 5-7 Sept. 2007.
  15. Nimsub, K., Dawi, K., Kyuhyung, C., Jinsang, K., and Wonkyung, C., 2005. Design and Verification of a CAN Controller for Custom ASIC, CAN in Automation Proceedings of 10th iCC 2005.
  16. Oltu, O., Milea, P., Simion, A., 2005. Testing of digital circuitry using Xilinx Chipscope logic analyzer, In Proceedings International Semiconductor Conference, CAS 2005, vol.2, no., pp. 471-474, 3-5 Oct. 2005.
  17. Sheikh, I., Short. M, and Pont, M., 2008. Hardware Implementation of a Shared Clock Protocol for CAN: A Pilot Study, In proceedings of 4th UK Embedded Forum, Southampton, September, 2008.
  18. Sheikh, I., and Short, M., 2009. CAN Conformance Testing-A New approach, tech-report ESL-09-01, ESL, Engineering Department, University of Leicester.
  19. TTA-Group, 2003. Time-Triggered Protocol TTP/C HighLevel specification Doc. Protocol Ver. 1.1, 1.4.3 ed. Vienna, Austria, TTTECH.
  20. Xilinx Inc, 2000. Chipscope integrated logic analyzer, San Jose, CA 95124-3400. http://www.xilinx.com/ise/ optional_prod/cspro.htm
  21. Woodward, J., 2003. The in-circuit debug of FPGAs, CMP Media LLC, New York, Embedded Systems Europe, vol 7, No 49, pp.16-17.
  22. Zarri, G., Colucci, F., Dupuis, F., Mariani, R., Pasquariello, M., Risaliti, G. and Tibaldi,C., 2006. On the verification of automotive protocols, In Proceedings of Design, Automation and Test in Europe, 2006. DATE 7806. , vol.2, no., March 2006, pp.6-10.
Download


Paper Citation


in Harvard Style

Sheikh I. and Short M. (2009). A LOW COST AND FLEXIBLE APPROACH TO CAN CONFORMANCE TESTING . In Proceedings of the 6th International Conference on Informatics in Control, Automation and Robotics - Volume 3: ICINCO, ISBN 978-989-8111-99-9, pages 97-104. DOI: 10.5220/0002215300970104


in Bibtex Style

@conference{icinco09,
author={Imran Sheikh and Michael Short},
title={A LOW COST AND FLEXIBLE APPROACH TO CAN CONFORMANCE TESTING},
booktitle={Proceedings of the 6th International Conference on Informatics in Control, Automation and Robotics - Volume 3: ICINCO,},
year={2009},
pages={97-104},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002215300970104},
isbn={978-989-8111-99-9},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 6th International Conference on Informatics in Control, Automation and Robotics - Volume 3: ICINCO,
TI - A LOW COST AND FLEXIBLE APPROACH TO CAN CONFORMANCE TESTING
SN - 978-989-8111-99-9
AU - Sheikh I.
AU - Short M.
PY - 2009
SP - 97
EP - 104
DO - 10.5220/0002215300970104