摘要
为实现空间相机控制器与星务计算机之间的可靠数据通讯,设计了基于TMS320C32的CAN总线通信系统;针对TMS320C32和SJA1000的工作时序特点,利用可编程逻辑器件FPGA实现了接口逻辑转换,编写激励文件利用Modelsim软件进行了功能仿真,给出了CAN总线通信系统的软件设计,包括SJA1000的初始化、数据的发送接收及位定时参数的设定;最后通过周立功公司的ZLGCANTest软件对设计的CAN总线通信系统进行了测试;实验结果表明,系统的通信速率达到307.2kbps,通讯无误,满足相机控制器可靠性的要求。
In order to achieve reliable data communication between space camera controller and on--board computer, CAN bus communi- cation system based on TMS320C32 has been designed. Aiming at the working time sequence of TMS320C32 and SJA1000, this system used FPGA to realize interface logic conversion, wrote test files and used Modelsim to simulate. Software design of CAN bus communication sys- tem, including initialization of SJA1000, data receiving and dispatching , and bit timing parameters setting , was introduced,. Finally, the feasibility of this system was verified by ZLGCANTest produced by ZLG Company. Experimental results indicate this system' s communica- tion speed reaches 307. 2kbps, communicates correctly, meeting the requirement of reliability of camera controller.
出处
《计算机测量与控制》
CSCD
北大核心
2012年第11期3038-3041,共4页
Computer Measurement &Control
基金
国家自然科学基金青年科学基金(61108066)