摘要
文中阐述了基于PCI接口的CAN适配卡的原理与设计。针对常见适配卡存在的问题,设计了一种基于PCI接口的即插即用、性能稳定、简单可靠的CAN适配卡。分别从系统方案设计、硬件实现及软件设计等方面进行了详细研究和描述。根据适配卡的工作原理,采用PCI专用接口芯片PCI9052和CAN总线控制器SJA 1000为主要器件设计了硬件电路,并设计了适配卡的设备驱动程序,简要介绍了发送数据子程序和接收数据子程序的设计思路。该系统已投入使用,其性能可靠、稳定。
This paper described the theory and design of CAN adaptor card based on PCI interface. Aimed at the problem of familiar adaptor card, a CAN adaptor card based on plug and play, with steadier performance was designed. This card is simpler and more reliable. The system scheme design, hardware realization and software design of the CAN adaptor were studied and described in detail. Based on the working theory of the adaptor card 9052, PCI interface chip and SJA1000, CAN controller were used as the main parts to design the circuit of the adaptor card. And device driver was designed. Then the method of designing sending data subprogram and receiving data subprogram were introduced briefly. This system has been pat into service and is reliable and stable.
出处
《仪表技术与传感器》
CSCD
北大核心
2008年第11期72-74,共3页
Instrument Technique and Sensor
基金
教育部新世纪优秀人才支持计划资助(NCET-04-0259)