首页 | 本学科首页   官方微博 | 高级检索  
     

基于CotexM3的USB-CAN转换器开发
引用本文:岳彬彬,李向阳.基于CotexM3的USB-CAN转换器开发[J].计算机工程与科学,2012,34(5):68-72.
作者姓名:岳彬彬  李向阳
作者单位:华南理工大学自动化科学与工程学院,广东广州,510640
摘    要:对比USB总线和CAN总线性能,根据实际需要,设计了基于STM32f107 CotexM3的USB-CAN转换器,该转换器体积小、成本低、可靠性高,具有广阔的应用空间1]。本文介绍转换器的整体设计思路,简析硬件电路结构、固件程序开发及其流程、USB的驱动程序开发、基于VB的上位机应用程序开发,最终实现设备的快速开发。设备可实现USB和CAN协议的数据转换,完成对CAN侧数据的收发、监听、显示和存储。开发过程独到之处是从实际应用的角度出发,借助第三方软件Windriver快速开发USB驱动,避开复杂设计,避免运行中的可能错误会导致的对整个操作系统的灾难性后果。

关 键 词:通用串行总线  控制局域网  转换器  CotexM3

Development of the USB-CAN Converter Based on CotexM3
YUE Bin-bin , LI Xiang-yang.Development of the USB-CAN Converter Based on CotexM3[J].Computer Engineering & Science,2012,34(5):68-72.
Authors:YUE Bin-bin  LI Xiang-yang
Affiliation:(School of Automation Science and Engineering,South China University of Technology,Guangzhou 510640,China)
Abstract:Comparing the USB and CAN protocols,for practical use,a converter based on STM32f107CotextM3is designed in this paper.It is small,cheap,and reliable,which makes sure it can be used widely.This paper includes the design methods,the framework of drivers developed by Windriver,the software development based on VB,which facilitates the device development.This converter realizes the data communication and protocol conversion between USB and CAN,which accomplishes data transmission,monitoring,display and storage.The highlight of this paper is that the rapid development of drivers is based on the third-party software Windriver,which avoids the catastrophic effect of possible errors on the operating system.
Keywords:USB  CAN  converter  CotexM3
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号