摘要
介绍定点DSP处理器TMS320F240和CAN控制器SJA1000的特点,分析各自的接口信号及时序。详细给出基于CPLD的CAN控制器和DSP处理器之间的接口电路的硬件设计方案。提到的设计方法根据CAN控制器的地址和数据线时分复用的时序特点,解决其与DSP的地址线和数据线分离之间所存在的问题。此外,还详细讲述在DSP控制器中使用汇编语言完成SJA1000的初始化、接收和发送CAN总线数据的软件实现。
The characteristics of The fixed point DSP processor of TMS320F240 and the CAN controller of SJA1000 are introduced and analyzed the time sequences of the interface signals. The interface circuit design between DSP processor and CAN controller is explained in details, which resolves the problem caused by separation of DSP address bus and the data bus. The methods of using assembly language to initialize the SJA1000, to send and receive the data from the can bus are also introduced in detail.
出处
《科学技术与工程》
2009年第9期2336-2342,共7页
Science Technology and Engineering
基金
国家863项目(2006SQ704205)资助