检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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.
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15