期刊文献+

ARM Linux下的CAN设备驱动程序设计与实现 被引量:4

Design and implementation of CAN device driver under embedded ARM Linux operating system
在线阅读 下载PDF
导出
摘要 以嵌入式微处理器S3C2410为主控制器,通过SPI接口,采用MCP2510控制器扩展CAN总线接口。文章分析了Linux下设备驱动程序的结构和工作原理,论述了嵌入式Linux操作系统下CAN设备驱动程序的设计方法和具体实现。针对字符设备驱动程序的特点,采用中断驱动I/O方式结合缓冲区的使用可将数据接收和read系统调用隔离开,同时在系统调用函数中加入了休眠代码,确保设备在系统中的高效运行。 Basing on S3C2410 microprocessor,through its SPI interface,the article extended CAN Bus through adopting MCP2510 CAN controller.The paper analyzes device driver of the structure and working principle under the Linux,The way of design and realization of CAN device driver under the embedded operating system LINNUX are discussed in detail.According to the characteristics of Character device driver,data receiving and system call can be seperated by the combination of interrupt-driven I/O and data buffer and the sleep code are added in the function of system call.To ensure the Equipment is operating efficiency in the system.
出处 《微计算机信息》 2010年第14期105-107,共3页 Control & Automation
基金 基金申请人:韩峻峰 项目名称:基于CAN总线的车用智能网络传感器研究 基金颁发部门:广西科技厅(桂科自0832066)
关键词 LINUX S3C2410 CAN总线 设备驱动 MCP2510 Linux S3C2410 CAN Bus Device Driver MCP2510
  • 相关文献

参考文献4

二级参考文献7

  • 1张维刚.基于CAN总线结构的并联液压混合动力车控制系统[J].微计算机信息,2006,22(10S):1-3. 被引量:4
  • 2[1]CANpie User Manual[EB/OL]. http://www. microcontrol.net/CANpie/download/cp_user_manual. pdf
  • 3[2]Mendoza P, Via J. Developing CAN based network on RTLinux. 0-7803-7/01 IEEE, 2001.
  • 4[3]李驹光,聂雪媛.ARM应用开发系统详解.北京:清华大学出版社,2003
  • 5[4]Rubini A, Corbet J. Linux device drivers. USA:O' REILLY,2002
  • 6[5]BOSCH. CAN specification(version 2.0). 1991;9
  • 7[6]PHILIPS Semiconductors. SJA1000 stand-alone CAN controller.1999;8

共引文献16

同被引文献25

引证文献4

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部