期刊文献+

基于软件模拟的SPI端口CAN控制卡的软硬件设计 被引量:1

A Design of CAN Controller Based on a Software Simulated SPI Interface
下载PDF
导出
摘要 SPI(SerialPeripheralInterface—串行外设接口)总线系统是一种同步串行外设接口,它可以使MCU与各种外围设备以串行方式进行通信以交换信息。在某些情况下,由于高速处理器的SPI设置的最低波特率往往也要高于SPI外围芯片可识别的最高速率,因此常出现数据接收不正常,错误率高的现象,本文拟通过对外围通用端口的软件模拟,从而达到处理器和SPI接口芯片的正常通讯,并且加入了对CAN控制卡(基于SPI端口通讯)的硬件和软件设计,并给出相关驱动程序。这种设计可广泛应用于汽车电子工业现场的手持设备等领域。 SPI (Serial Peripheral Interface), a kind of synchronous serial interfaces, is widely used to communicate between MCU (Micro Chip Unit) and peripheral device, However, in case of processor's high clock frequency, some SPI-Interface peripheral device can't work well with it, which result in transporting or receiving abnormally, getting the invalid byte, and so on. This paper will bring forward a solution based on software simulated SPI, which can ensure the quality of communication. The SPI interface in this paper is used to communicate between the CAN controller and AR.M9 core chip, also given the hardware design and the driver based on WINCE system. This system can be widely used in the field of auto-electronic, industry handhold device and so on.
出处 《机电产品开发与创新》 2006年第6期131-133,共3页 Development & Innovation of Machinery & Electrical Products
基金 河北省自然科学基金攻关培育计划资助(E2006000030)
关键词 SPI CAN 软件模拟 SPI CAN Software-Simulation
  • 相关文献

参考文献5

二级参考文献3

  • 1江秀汉 周建辉 汤楠.计算机控制原理及其应用[M].西安:西安电子科技大学出版社,1995..
  • 2邬宽明.CAN原理和应用系统设计[M].北京:北京航空航天大学出版社,1996..
  • 3戴敏,毛玉良,周怡君,刘伟平.印染工艺的智能控制[J].河海大学常州分校学报,2002,16(3):11-14. 被引量:3

共引文献18

同被引文献3

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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