基于Cortex-M4的CAN转USB接口通信设计  被引量:9

Communication Design of CAN-USB Interface Based on Cortex-M4

在线阅读下载全文

作  者:黄俊豪 张春雷[1] 黄丽瑾 陈龙 赵成龙 HUANG Jun-hao;ZHANG Chun-lei;HUANG Li-jin;CHEN Long;ZHAO Cheng-long(College of Manufacturing Science And Engineering,Sichuan University,Chengdu 610065,China;Chongqing Vocational College of Transportation,Chongqing 402247,China)

机构地区:[1]四川大学制造科学与工程学院,四川成都610065 [2]重庆交通职业学院,重庆402247

出  处:《仪表技术与传感器》2018年第9期33-36,共4页Instrument Technique and Sensor

摘  要:如今在工控领域多数采用CAN总线进行数据传输,通过电脑实时显示各个节点数据的变化,而多数电脑没有CAN通信接口。针对此现象,采用内部集成了CAN控制器的基于Cortex-M4内核的32位高性能微控制器STM32F407设计通信转换器,实现CAN各个节点数据通过USB接口与电脑虚拟串口进行传输。软件上制定通信数据传输协议,保证通信的准确性和可靠性。通过实验证明,该设计通信实时性强、可靠性高,具有一定通用性,可在多数应用场合推广。The technology which uses CAN BUS to transfer data is very common.And computer can real-time display changes in the data of each node.But most computers have no CAN communication interface.For the phenomenon,the paper designed a communication converter which used the 32-bit high-performance micro-controller STM32F407,it integrated CAN controller in the internal and based on the Cortex-M4.The converter realized CAN nodes data of transmitting between the USB interface and computer virtual serial port.On the software,it designed a data transmission protocol to ensure the communication accuracy and reliability.And the experiment proves that the design has communication real-time,high reliability,and great versatility,it can popularize in many practical applications.

关 键 词:STM32F407 CAN总线 数据传输协议 

分 类 号:TP273[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象