首页> 中文期刊> 《计算机工程与科学》 >基于CotexM3的USB-CAN转换器开发

基于CotexM3的USB-CAN转换器开发

         

摘要

对比USB总线和CAN总线性能,根据实际需要,设计了基于STM32f107 CotexM3的USB-CAN转换器,该转换器体积小、成本低、可靠性高,具有广阔的应用空间[1].本文介绍转换器的整体设计思路,简析硬件电路结构、固件程序开发及其流程、USB的驱动程序开发、基于VB的上位机应用程序开发,最终实现设备的快速开发.设备可实现USB和CAN协议的数据转换,完成对CAN侧数据的收发、监听、显示和存储.开发过程独到之处是从实际应用的角度出发,借助第三方软件Windriver快速开发USB驱动,避开复杂设计,避免运行中的可能错误会导致的对整个操作系统的灾难性后果.%Comparing the USB and CAN protocols, for practical use, a converter based on STM32f107 CotextM3 is 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 Win-driver, 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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号