期刊文献+

基于ARM实现高速CAN转USB 被引量:4

Implementation of Conversion between USB and CAN Based on ARM
下载PDF
导出
摘要 设计了一款体积小、成本低、可靠性高的具有普适性的高速CAN转USB适配器。以STM32F107系列微处理器作为核心,USB接口部分采用STM32内部USB控制器,CAN接口采用STM32内部的CAN控制器并且外接带隔离的CAN收发器CTM1050。开发过程中创建了数据传输协议,对需传输的数据有固定的传输格式,进行数据甄别后再传输数据,保证了数据传输的正确性和可靠性。设计中,ID并不是固定值,而是获取对方发送过来的ID。对CAN接收的数据进行打包成标准格式帧,以便传入上位机后了解传输数据特性。经过多次现场实验测试表明:该设备可以实现USB和CAN协议的数据转换,完成CAN侧数据收发,CAN侧具有不同的ID以及不同的帧类型都可进行传输。该系统能以500 Kb/s长时间稳定运行。 This paper studied the design of a general high-speed USB and CAN converter, which has small volume, low cost, high reliability. STM32F107 was used as the core of converter, the USB interface part adopted USB controller from internal of STM32, the CAN interface used CAN controller from internal of STM32 with external connection of CAN transceiver CTMI050. Data transfer protocol was created, the protocol needed a fixed transmission format and screen data before transmitting data. The ID unfixed was acquired from the other side of the ID. The data received by CAN were packaged into standard format of data frame, so that the data transmission characteristics could be easily found when data were transferred to a PC. A lot of tests showed that this equipment can realize the conversion between USB and CAN, the system runs stably for a long time with 500 Kb/s.
出处 《实验室研究与探索》 CAS 北大核心 2017年第3期129-132,共4页 Research and Exploration In Laboratory
基金 四川省卓越工程师教育培养计划(核工程与核技术)(11100-15Z006/064)
关键词 通用串行总线 控制器局域网 数据传输协议 universal serial bus (USB) controller area network (CAN) data transfer protocol
  • 相关文献

参考文献7

二级参考文献18

  • 1杜玲玲.API函数在VB开发中的应用[J].计算机与现代化,2005(2):93-95. 被引量:5
  • 2姜幼卿,左国华,陈勤学,张宜生.基于CAN总线的温室自动控制系统的通信设计[J].仪表技术与传感器,2005(4):60-62. 被引量:16
  • 3王军波,邹继军,饶运涛,王进宏,李栓明.USB总线与CAN总线协议转换器设计[J].东华理工学院学报,2006,29(3):273-276. 被引量:6
  • 4WU Kuan-ming. CAN Bus Theory and Application System Design[M]. Beiiing: Beijing University of Aeronautics and Astronautics Press, 1999.
  • 5STM32F107 User Manual[EB/OL]. [2009-05 18]. http:// mcu-related, com/architectures/35 cortex-m3/52- stm32f105-stm32f107.
  • 6WinDriver USB User's Manual[EB/OL]. [2009-05-18]. ht- tp://bogobooks, com/windriver-usb-user-s-manual html.
  • 7赵负,数据采集与控制系统计算机测控技术,1987年
  • 8饶运涛 邹继军 郑勇芸.现场总线CAN原理与应用技术[M].北京:北京航空航天大学出版社,2004..
  • 9甘永梅,李庆丰,刘晓娟,王兆安.现场总线技术及其应用[M].北京:机械工业出版社,2005.
  • 10STMicroelectronics,STM32F10x standard peripheral library [Z/OL]. http://www. st. com,2012-3-5.

共引文献129

同被引文献19

引证文献4

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部