首页 | 本学科首页   官方微博 | 高级检索  
     

基于WinCE的数字罗盘集成电路I^2C驱动程序开发
引用本文:李文新,王广龙,陈建辉,邱鹏. 基于WinCE的数字罗盘集成电路I^2C驱动程序开发[J]. 电子测量技术, 2009, 32(10): 73-76,80
作者姓名:李文新  王广龙  陈建辉  邱鹏
作者单位:军械工程学院导弹工程系,石家庄,050003
摘    要:在某型军车的"姿态测量与数据存储系统"设计中,为实现嵌入式微处理器对数字罗盘集成电路HMC5843的数据的采集,需开发运行于WinCE操作系统下的I2C驱动程序。文章首先论述了ARM9微处理器与HCM5843的连接关系,随后论述了I^2C总线的概念、工作原理与WinCE的流驱动模型等基本知识,最后以Platform Builder 5.0为开发工具,开发了I2C驱动程序,并主要从中断服务线程IST与读函数IIC_Read两个方面,介绍了驱动程序的具体实现。实验表明,该驱动程序工作良好,顺利实现了ARM9与HMC5843之间的通信。

关 键 词:I2C驱动程序  WinCE  IST  流接口函数

Development of I2C driver for digital compass IC based on WinCE
Li Wenxin,Wang Guanglong,Chen Jianhui,Qiu Peng. Development of I2C driver for digital compass IC based on WinCE[J]. Electronic Measurement Technology, 2009, 32(10): 73-76,80
Authors:Li Wenxin  Wang Guanglong  Chen Jianhui  Qiu Peng
Affiliation:(Department of Missile Engineering, Ordnance Engineering College, Shijiazhuang 050003)
Abstract:Limit In the design of attitude measurement and data storage system for some military vehicle, I^2C driver is developed for microprocessor's gathering data from HMC5843. In this paper, the connection between ARM microprocessor and HMC5843 is firstly introduced. Subsequently, the concept, working principle of I^2C bus and the module of streaming driver of WinCE is introduced. Finally, using the tool of Platform builder 5. 0, I^2C driver is developed. The realization of Interrupt Service Thread (IST) and IIC_Read reading function is mainly detailed. Corresponding experiments show that the driver words well and the communication between ARM9 and HMC5843 is realized as expected.
Keywords:WinCE  IST
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号