摘要
为了解决CAN和CAN FD之间的兼容通信问题,本文提出了一种软硬件办法,利用CAN控制器的静默模式来避免错误帧的发送,通过CAN FD上额外的CAN接口完成与CAN节点的通信。制作了基于STM32单片机的CAN和CAN FD节点对该方法进行测试,文中详细说明其整体思路、硬件设计原理和软件执行流程。该方法使用成本低,对原有系统的改动较少,有一定的实用价值。
In order to solve the compatible communication problems between CAN and CAN FD,a method of software and hardware is proposed.The silent mode of CAN controller is used to avoid sending error frames,and communication with CAN nodes is accomplished through additional CAN interfaces on CAN FD nodes.CAN and CAN FD nodes based on STM32 microcontroller are designed to test this method.The overall idea,hardware design principle and software execution flow are described in detail in the article.The method has low cost and need little modification to the original system which makes it has practical value.
作者
刘志强
刘伟平
Liu Zhiqiang;Liu Weiping(School of Information and Control Engineering,Qingdao University of Technology,Qingdao 266520,China)
出处
《单片机与嵌入式系统应用》
2020年第1期21-23,共3页
Microcontrollers & Embedded Systems