LIN_USB协议转换器设计  

Design of LIN_USB Protocol Converter

在线阅读下载全文

作  者:魏子阶 徐健[2] 廖观亮 

机构地区:[1]西北工业大学自动化学院,陕西西安710129 [2]西北工业大学机电学院,陕西西安710072

出  处:《计算机技术与发展》2014年第8期250-252,F0003,共4页Computer Technology and Development

基  金:国家自然科学基金资助项目(51375396)

摘  要:讨论了一种LIN_USB总线协议转换器的设计。首先分析了LIN总线的应用现状并指出了它在实际应用中所面临的不足,由此提出了以LIN_USB总线协议转换器作为解决方案,并指出了该设计方案的优越性。然后以STM32L152V8单片机为中心、TJA1020作为LIN收发器论证了该转换器的硬件设计。在此基础上,利用ST公司提供的一般外围接口和USB固件库完成了转换器内嵌协议转换软件的编写,利用HID设备的API函数库在Visual C++6.0环境下完成了PC机端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 转换器 单片机 HID设备 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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