文档介绍:USB interface in the design munication
[Abstract] munication rate of the series 51 chip is lower and it forms a tare bottle neck in munication. This paper introduced a simple and convenient method to design a USB apparatus, that is to say, to realize an intact USB apparatus with a minimum system of single-puter that made of 51 single-puter and USB interface, the circuit greatly munication rate. In this system, I adopted 51 one-puters AT89S52 as its controller, the chip PDIUSBD12 of pany as its electric interface. The one-puter as the next machine, exchanges the data with the PC, through the USB bus and USB electric interface chip, and it realizes the logic function of USB apparatus. It can exchange data with PC, and realize its expanding function, through connecting with PC.
[Key words] single-puter system;interface technology;PDIUSBD12;AT89S52;USB
目录
0 引言 1
选题现状、研究意义以及发展趋势 1
系统实现功能 2
1 USB技术 4
USB总线概述 4
USB总线简介 4
USB总线的优点 4
USB协议简介 5
USB物理体系结构 5
USB设备逻辑结构 6
USB传输类型 8
USB低层通信协议 8
USB接口技术 10
2 系统硬件电路设计 11
设备电路系统概述 11
51系列单片机最小系统 11
AT89S52单片机的介绍和选用 11
AT89S52与PDIUSBD12构建的最小系统 15
AT89S52和外围器件 16
PDIUSBD12外围电路及其与单片机的连接设计 17
PDIUSBD12介绍 17
USB外围电路及其与单片机连接 21
扩展功能电路的设计 22
PS/2串行接口的扩展设计 23
Flash存储器的扩展设计 23
LPT并行接口的扩展设计 25
3 系统软件设计 27
固件程序的设计与实现 27
描述符 27
固件程序的结构 29
驱动程序的设计与实现 32
驱动程序概述 32
WDM设备驱动程序结构 33
驱动程序开发的工具软件 33
用Win Driver开发驱动程序 34
系统应用程序开发 35
应用程序的实现的功能 35
利用Win Driver实现应用程序 35
4 系统调试 37
系统硬件测试 37
系统软件调试及系统测试 37
结论 39
致谢语 40
参考文献 41
附录一:原理图 42
附录二:程序 43
附录三:英文原文 53
附录四:英文译文 63
选题现状、研究意义以及发展趋势
USB(Universal Serial Bus)即通用串行总线,是现在非常流行的一种快速、双向、廉价、可以进行热插拔的接口,在现在的每一台PC机上都可以找到一对USB接口。USB是近年来应用在PC领域的新型接口技术,是一些PC大厂商,如 Microsoft、Intel等为了解决日益增加的PC外设与有限的主板插槽和端口之间的矛盾而制定的一种串行通信的标准,dex上亮相以来至今已广泛地为各 PC