首页> 中文期刊> 《计算机技术与发展》 >LIN USB协议转换器设计

LIN USB协议转换器设计

             

摘要

One kind of design of LIN USB bus protocol converter is discussed. First the current situation of LIN bus in the application is analyzed and the problems faced in practical application are pointed out,therefore the LIN USB bus protocol converter is proposed as a solution,the superiority of this design is pointed out. After that taking the STM32L152V8 microcontroller as the center and TJA1020 as LIN transceiver,the hardware design of the converter is demonstrated. On this basis,the converter embedded protocol conversion software is composed using the general peripheral interface and USB firmware library provided by ST Company and USB interface software on PC is composed in the Visual C++ environment using the API function library of HID equipment. Finally,the experiment is proved that the protocol converter can meet the design requirements.%讨论了一种LIN USB总线协议转换器的设计。首先分析了LIN总线的应用现状并指出了它在实际应用中所面临的不足,由此提出了以LIN USB总线协议转换器作为解决方案,并指出了该设计方案的优越性。然后以STM32L152V8单片机为中心、TJA1020作为LIN收发器论证了该转换器的硬件设计。在此基础上,利用ST公司提供的一般外围接口和USB固件库完成了转换器内嵌协议转换软件的编写,利用HID设备的API函数库在Visual C++6.0环境下完成了PC机端USB接口软件的编写。最后,通过实验证明了该协议转换器能够满足设计要求。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号