摘要
基于DSP+FPGA结构的石油仪器组合导航系统中CAN总线系统设计,为了使数据能够在整个CAN总线网络协调、有效、快速、稳定的传输,提出了一种使用FPGA作为CAN总线节点结构中的核心处理器的设计方法;CAN控制器采用具有SPI接口的MCP2515,利用FPGA实现MCP2515的初始化、数据的发送和接收,实现了DSP处理器的CAN总线扩展应用;该方法由于把CAN节点控制的大量的工作交给FPGA实现,DSP只需要对FPGA中CAN数据接收FIFO和CAN数据发送FIFO进行读写操作,即可完成CAN总线的数据读写操作,大大减轻了DSP的数据处理压力;试验测试及产品应用表明,该设计有效、稳定可靠、可扩展性好,易于修改和移植,具有较强的工程实用价值。
In order to make the data to be coordinated, efficient, fast and stable in the whole CAN bus network, a design method of the core processor in the CAN bus node structure is proposed, which uses FPGA as the core processor in the design of CAN bus system in petro leum equipment integrated navigation system based on DSP + FPGA structure. Using the SPI interface with the MCP2515 as the CAN con- troller, and using FPGA to achieve the MCP2515 initialization, data transmission and reception, DSP processor CAN bus expansion is implemented. This method due to FPGA to control the amount of CAN node work, DSP only needs to read CAN data receive FIFO and write CAN data transmission FIFO, which can complete the CAN bus data read and write operations, greatly reducing the DSP data processing pressure. The test and product application show that the design is effective, stable, reliable, sealable, easy to modify and transplant, and has strong engineering and practical value.
出处
《计算机测量与控制》
2016年第4期174-177,共4页
Computer Measurement &Control