当前位置>主页 > 期刊在线 > 通信工程 >

通信工程2019年16期

基于MCP2517FD 的CAN FD 通信实现
郭创建¹,王琳煜²
(1. 广州致远电子有限公司,广东 广州 510660;2. 广州立功科技股份有限公司,广东 广州 510660)

摘  要:随着自动驾驶、车联网等汽车领域技术的发展,传统CAN 总线已逐渐无法满足高带宽、高传输速率的要求,而CAN FD 的到来,为CAN 总线带来了带宽及速率的升级。虽然CAN FD 为CAN 总线带来了升级,但目前CAN FD 仍未普及,因此市场上带CAN FD 控制器的微控制器仍为数不多,或微控制器所带的CAN FD 控制器数不足以支撑应用需求,为此我们采用MCP2517FD——一款SPI 转CAN FD 控制器模块,来扩展CAN FD 控制器。微控制器仅需支持SPI 控制器,即可扩展CAN FD,从而实现CAN FD 通信。本文从探究CAN 总线技术出发,比较了CAN 与CAN FD 的差异。同时,对MCP2517FD 控制器的相关特性进行说明,阐述了基MCP2517FD 的CAN FD 通信实现,验证了MCP2517FD 模块CAN FD报文收发的性能。


关键词:有线通信技术;MCP2517FD;CAN FD 通信;CAN 总线



中图分类号:TN925         文献标识码:A         文章编号:2096-4706(2019)16-0067-03


Implementation of CAN FD Communication Based on MCP2517FD

GUO Chuangjian1,WANG Linyu2

(1.Guangzhou Zhiyuan Electronics Co.,Ltd.,Guangzhou 510660,China;2. ZLG Technology Corp.,Ltd.,Guangzhou 510660,China)

Abstract:With the development of auto fields such as automatic driving a nd internet of vehicles,the traditional CAN bus has been unable to meet the requirements of high bandwidth and high transmission rate. However,the arrival of CAN FD has brought the upgrade of bandwidth and rate for CAN bus. Although CAN FD brings an upgrade to CAN bus,CAN FD is still not popular at present. There are still a few microcontrollers with CAN FD controller in the market,or the number of CAN FD controllers with microcontroller is not enough to support the application demand. Therefore,we adopt MCP2517FD——an SPI to CAN FD controller module to expand CAN FD controller. The microcontroller only needs to support SPI controller to extend CAN FD and realize CAN FD communication. Based on the research of CAN bus technology,this paper compares the differences between CAN and CAN FD. At the same time,the related characteristics of MCP2517FD controller are explained,the CAN FD communication implementation based on MCP2517FD is expounded,and the performance of MCP2517FD module CAN FD message send-receive is verified.

Keywords:wired communication technology;MCP2517FD;CAN FD communication;CAN bus


参考文献:

[1] 周立功.CAN-bus 现场总线基础教程 [M]. 北京:航空航天大学出版社,2012.

[2] 邬宽明.CAN 总线原理和应用系统设计 [M]. 北京:航空航天大学出版社,2002.


作者简介:

郭创建(1991-),男,汉族,广东汕头人,嵌入式软件工程师,本科,研究方向:通信技术及应用;

王琳煜(1992-),男,汉族,广东汕头人,嵌入式软件工程师,本科,研究方向:通信技术及应用。