摘要
介绍了基于PC104的多通道CAN接口卡的设计及实现方案,重点论述了通过CPLD器件EPM7128实现从PC104分时总线到CAN复用总线的转换与驱动,以及在嵌入式操作系统μC/OS-Ⅱ下的驱动程序的设计和CAN多帧数据传递时打包和解包的方法,提出了一种简单实用的CAN数据包格式,实现了CAN数据的单帧和多帧传输,有效地简化了数据通信。
IT introduced the design and implementation of CAN interface based on PC104, discussed the transformation and drive of PC104 to CAN bus, using the CPLD EPM7128, and the design of driver under the embedded operating system C/OS -Ⅱ and a method of CAN bus data packing and unpacking. It introduced a kind of CAN data format, and implemented the transmis- sion of single and multi-frame of data stream, so it simplified the data communication efficiently.
出处
《仪表技术与传感器》
CSCD
北大核心
2008年第7期57-59,共3页
Instrument Technique and Sensor