现代电子技术
現代電子技術
현대전자기술
Modern Electronics Technique
2015年
21期
60-63
,共4页
CAN总线%MCP2515%SPI%DSP
CAN總線%MCP2515%SPI%DSP
CAN총선%MCP2515%SPI%DSP
CAN bus%MCP2515%SPI%DSP
CAN总线接口芯片MCP2515采用SPI接口,具有体积小、低功耗、功能完善、使用方便等特点.为了实现基于该接口芯片的CAN总线通信单元设计,采用DSP+FPGA架构,在FPGA内部实现SPI接口逻辑和MCP2515指令转换逻辑,以完成不同的SPI指令,在DSP中接收上位机指令和完成对MCP2515的控制.实际测试结果表明,该通信单元设计合理,运行稳定,满足了实际需求.
CAN總線接口芯片MCP2515採用SPI接口,具有體積小、低功耗、功能完善、使用方便等特點.為瞭實現基于該接口芯片的CAN總線通信單元設計,採用DSP+FPGA架構,在FPGA內部實現SPI接口邏輯和MCP2515指令轉換邏輯,以完成不同的SPI指令,在DSP中接收上位機指令和完成對MCP2515的控製.實際測試結果錶明,該通信單元設計閤理,運行穩定,滿足瞭實際需求.
CAN총선접구심편MCP2515채용SPI접구,구유체적소、저공모、공능완선、사용방편등특점.위료실현기우해접구심편적CAN총선통신단원설계,채용DSP+FPGA가구,재FPGA내부실현SPI접구라집화MCP2515지령전환라집,이완성불동적SPI지령,재DSP중접수상위궤지령화완성대MCP2515적공제.실제측시결과표명,해통신단원설계합리,운행은정,만족료실제수구.
The CAN bus interface chip MCP2515 with SPI interface has the characteristics of small volume,low power con-sumption,perfect function and convenient use. To realize the design of CAN bus communication unit based on this interface chip,the DSP + FPGA framework is adopted in this design. The SPI interface logic and MCP2515 instruction transformation logic are achieved in FPGA to accomplish the different SPI commands. The upper computer instructions are received and the control to MCP2515 is finished in DSP. The practical test results show that the communication unit has reasonable design and stable opera-tion,which meets the actual needs.