基于USB的通信与接口驱动的研究-机械电子工程专业论文.docx
文本预览下载声明
基于USB的通信与接口驱动的研究摘
基于USB的通信与接口驱动的研究
摘 要
通用串行总线(usB)由于其迅速的传输速度以及其支持即插即用和热拔 插、易于扩展、占用资源少、丰富的供电模式等优点,目前已经成为PC机与 外围设备通信的主流接口,广泛应用到各种外设以及工业控制领域之中。对于 USB的通信与接口的研究,充分利用其传输方法的优越性,提高数据传输的速
度、准确和可靠,以便在实际应用中发挥更好的作用。 论文首先研究了USB总线技术体系结构,通过综合比较,选用了一款高性
价比的USB接口芯片,设计了一种USB总线的数据采集系统,并全面阐述了 整个系统的设计思想以及软硬件的设计。对于硬件设计部分,采用的是USB接 口芯片CY7C68013和模数转换芯片MAXl97,完成了数据采集电路的设计; 在软件方面主要完成了CY7C68013的固件设计以及在GPIF模式下的波形设 计,此外,还通过使用DriverStudio构建了USB数据采集系统的WDM驱动程 序以及Visual C++6.0设计了上位机的应用程序。
关键词: USB;数据采集;CY7C65013;固件;WDM驱动程序
The
The Research of Communications and Interface..driven Based on USB
Abstract
At present,the Universal Serial Bus has become the mainstream communication interface with the PC and peripheral equipments and has been used in the field of peripheral equipments and industry controlbecause it has fast transmission speed,as well as it supports for plug and play and hot plug,expands easily,takes up less resources,and has abundant power supply mode and SO on. According to research in USB communication and interface,it takes full advantage of the superiority of its transmission to improve the data-transmission’S speed, accuracy and reliability in order to play a better role in practice.
First,according to studying the USB bus technical architecture,a USB data acquisition system has been designed with a cost·effective USB chip through comprehensive comparison,then,the overall design concept as well as the hardware design and the software design has been detailed.For the hardware,the USB interface chip CY7C680 1 3 and the analog—digital convsersion chip MAX 1 97 have been used in the data acquisition circuit design,for the software,the CY7C680 1 3 firmware and the GPIF mode waveform have been designed,in addition,the USB
data acquisition system for WDM drivers has been built with the aid of
DriverStudio,and the host computer application has been designed with the aid of Visual C++6.0.
Keywords:USB;data acquisition:CY7C680 1 3;firmware:WDM driver
插图清单图2.1总线的物理拓扑结构
插图清单
图2.1总线的物理拓扑结构 .6
图
显示全部