摘要
CAN总线是一种具有国际标准且性价比较高的现场总线,在当今自动控制领域的发展中发挥着重要的作用。这里简要地介绍了CAN总线及其控制器SJA1000的工作原理和Win CE下流接口驱动程序的相关知识。采用Win CE流接口驱动程序实现对CAN控制器访问并操作,并详细地分析了SJA1000驱动程序的设计与实现,并使用Platform Builder将驱动编译进内核,以动态链接库的形式提供给用户,为进一步开发嵌入式Win CE操作系统系统下CAN总线设备提供了一个良好的底层硬件驱动支持。
CAN bus is a kind of international standards and higher cost performance bus,it plays an important role in the field of automatic control. The working principle of CAN bus and SJA1000 controller,the correlative knowledge of stream interface driver based on Win CE are introduced, the research is based on the methods of using WinCE device driver to search and operate CAN bus controller, also the design and implementation of SJA1000 driver is provided,and driver is translated into operating system by use of Platform Builder and is provided in the form of DLL. This paper provids a good support for the underlying hardware drivers of CAN bus device based on the embedded operation system Win CE.
出处
《现代电子技术》
2009年第6期68-70,80,共4页
Modern Electronics Technique