›› 2013, Vol. 26 ›› Issue (2): 83-.

• 论文 • 上一篇    下一篇

Android系统下CAN总线驱动程序的设计与实现

李玉洁,朱维杰   

  1. (1.武警工程大学 研究生管理大队,陕西 西安 710086;2.武警工程大学 通信工程系,陕西 西安 710086)
  • 出版日期:2013-02-15 发布日期:2013-06-20
  • 作者简介:李玉洁(1986—),女,硕士研究生。研究方向:信号与信息处理。E-mail:1083391885@qq.com。朱维杰(1972—),男,博士,副教授。研究方向:信号与信息处理。

Design and Implementation of CAN Bus Driver in the Android System

 LI Yu-Jie, ZHU Wei-Jie   

  1. (1.Postgraduate Brigade,Engineering University of CAPF,Xi'an 710086,China;
    2.Communication Engineering Department,Engineering University of CAPF,Xi'an 710086,China)
  • Online:2013-02-15 Published:2013-06-20

摘要:

嵌入式操作系统Android下CAN驱动程序的实现,不但需要在Linux内核中添加CAN驱动设备,还要实现Android HAL层的调用。以S5PV210微处理器与CAN总线控制器MCP2515为例,分析了Android设备驱动原理,以及Android下CAN设备驱动程序的开发流程和方法,设计了相关的重要数据结构和代码,实现了CAN总线的驱动程序开发。

关键词: CAN总线, Android, Android HAL

Abstract:

The implementation of CAN bus driver in the embedded operating system-Android requires not only the registration of CAN bus driver in the Linux kernel but also its call in the Android HAL layer.Take the CAN bus controller MCP2515 and S5PV210 microprocessor for example,this paper analyses the principles of Android devices and the processes development and methods of CAN device driver in the Android,and designs some important data structures and codes.Finally,the driver program of CAN bus driver is implemented.

Key words: CAN bus;Android;Android HAL

中图分类号: 

  • TP368.1