计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (15): 79-82.

• 产品、研发、测试 • 上一篇    下一篇

基于ARM Linux平台的CAN设备驱动程序设计与实现

王彦堂,李贻斌,宋 锐   

  1. 山东大学 控制科学与工程学院,济南 250061
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-05-21 发布日期:2007-05-21
  • 通讯作者: 王彦堂

Design and implementation of CAN device driver under embedded ARM Linux operating system

WANG Yan-tang,LI Yi-bin,SONG Rui   

  1. School of Control Science and Engineering,Shandong University,Ji’nan 250061,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-05-21 Published:2007-05-21
  • Contact: WANG Yan-tang

摘要: 针对移动机器人控制系统在实时性、可靠性方面的要求,提出了基于CAN总线的分布式控制系统方案,介绍了在核心数据处理单元S3C2410上扩展CAN总线设备的硬件接口设计,详细讨论了嵌入式ARM Linux上驱动程序开发的一般方法,以及CAN设备驱动程序的设计方法和具体实现。经实验证明,此系统结构简单,稳定性和可靠性强。

关键词: ARM Linux, CAN总线, 驱动程序

Abstract: A distributed CAN bus control system is introduced to meet the demand of real-time capability and system reliability on a mobile robotic control system.The hardware interface design for expanding CAN-bus device on a S3C2410 board is then described.Detailed discussions are made on the general method of device driver designing in ARM Linux and implementation of CAN device driver.Experiments indicate that this system is adequately stabile and reliable,but with a simple structure and easy implementation.

Key words: ARM Linux, CAN bus, device driver program