Based on the application design of the independent can bus controller SJA1000 in the BasicCAN and PeliCAN modes under the two interface timing of Intel and Motorola,this paper provides a variety of application design schemes for the fields of large-scale data transmission using CAN bus,such as automobile,ship,aerospace and so on.The FPGA with model EP4CE10F17C8N is used to design the SJA1000 register reading and writing timing,data sending and receiving logic,as well as the communication with the host computer and data verification method.Through the combination of FPGA module and SJA1000 module,the Verilog program of data sending and receiving function when SJA1000 uses Intel or Motorola interface timing is designed,and the data interaction and data verification test are carried out by using CAN analyzer and host computer software.The register initialization and data sending and receiving functions of SJA1000 in BasicCAN and PeliCAN modes are realized by FPGA,and the real-time and correctness of the data are ensured when interacting with the host computer.
Key words
SJA1000 /
Intel timing /
Motorola timing /
BasicCAN mode /
PeliCAN mode /
EP4CE10F17C8N
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 杨璋.小卫星载荷PeliCAN模式总线协议设计[J].计算机应用与软件,2019,36(6):120-127.
[2] 王皓.基于DSP和FPGA环境下的CAN总线实现[J].科技视界,2017(5):127-128.
[3] 朱耀国,秦冲,屈盼让.基于EMIF接口及CPLD的CAN接口设计和实现[J].航空计算技术,2019,49(6):92-96.
[4] 刘志宏,翟耘萱,久元溦.FPGA的星载CAN总线通信系统的设计[J].单片机与嵌入式系统应用,2021(2):35-43.
[5] 戴宏睿,李文魁,阮嘉伟.基于FPGA的CPCI-CAN通信卡电路设计[J].声学与电子工程,2018(4):48-52.
[6] 关俊强,左丽丽,吴维林.基于FPGA和CAN控制器软核的CAN总线发送系统的设计与实现[J].计算机测量与控制,2016,24(3):281-288.
[7] 纪振平,王航.基于FPGA的CAN总线控制器设计[J].沈阳理工大学学报,2019,38(4):30-34.
[8] 王莎,谭立波,郑宝文.基于FPGA的CAN总线通信系统[J].工业控制计算机,2018,31(8):1-5.
[9] 刘春跃,唐济远,王占军.一种基于FPGA的高效CAN总线接口:中国,CN109962830A[P].2019-07-02.
[10] 杨芳.双路隔离CAN驱动器微系统[J].电子与封装,2020,20(9):1-6.
[11] 汪清华,王巍.基于CAN协议的通信方法及系统:中国,CN106533793B[P].2019-08-20.
[12] 杨超,马成英,张金凤.一种CAN总线控制器测试方法:中国:CN110941218A[P].2020-03-31.
[13] 王超,董山菊,徐刚.适用于智慧网联汽车的CAN总线报文签名方法、装置和系统:中国,CN110380842A[P].2019-08-08.
[14] 黄轶文,贺哲明,牟晨淏.基于Verilog语言的数字跑表电路设计[J].电脑知识与技术,2019,15(7):240-241.
[15] 张哲,郭昭利,段品凡.基于Verilog语言的交通控制灯设计[J].电脑知识与技术,2019,15(10):204-205.
[16] 王鹏,张玉峰,徐华结.基于Verilog HDL编码的综合与优化[J].赤峰学院学报(自然科学版),2018,34(12):68-70.