2024年6月6日发(作者:蹇语柳)
摘 要
通用串行总线,即Universal Serial Bus(USB)是一种应用前景非常广阔的新
型串行接口总线。它具有使用方便、易于扩展和传输速率高的特点,广泛应用于各种
中低速计算机外设及数字设备中,并在不断发展完善之中。基于USB总线的数据传输
方法有着其他方式所没有的高速与方便,因此有着很高的实际应用价值。
本课题的主要研究内容是:掌握USB通信协议及器件工作方式、利用MCS51
系列单片机控制PDIUSBD12接口芯片及周边电路、以及以此为依据设计的接口电路
和通信函数,最终通过USB接口实现单片机与Windows平台计算机之间的数据通信。
本课题实现的是主机识别USB外设的过程与最基本的控制传输,是USB数据
通信的基础,因此这种方式完成的接口设计具有相当的通用性,可以广泛的应用与移
动硬盘、读卡器等设备的开发中。
本课题使用的USB接口芯片是Philips公司的PDIUSBD12-08,所使用的驱动
是用Microsoft公司提供的DDK(驱动开发工具包)编制的,完全保证了软、硬件的可
靠性、兼容性。
关键词 USB PDIUSBD12 控制传输 USB固件编程
I
Abstract
Universal Serial the Bus( USB) is a new serial bus that will be wildly used in the
future. It has some advantages as convenience, easy to expend and high speed on
transmitting, so it can be applied to various computer peripheral devices and digital
equipments. In addition, it's being improved every single day. The data transmission based
on USB is more fast and convenient than the other methods, so it has high value in
practical application.
The main content of our task is:
Study the specification of USB and master the way of how USB device works; use
singlechip 89C52 to handle PDIUSBD12 and other chips; design the interface circuit and
firmware, and finally realize the dialogue between the USB controller and the host operated
on Windows though the USB cable.
This task is to complete the process of enumeration and configure and the basic
control transfer. The design achieved by this means can be applied to many other
developments such as mass storage and so on because the problems in the task are the base
of USB data communications.
The USB controller we select is PDIUSBD12 that is produced by Philips and the
driver we installed is compiled with the Device Drivers Kit(DDK) offered by Microsoft. So
both the software and the hardware of the project is reliable and has good compatibility.
Key words USB PDIUSBD12 Control transfer
USB firmware programming
II
2024年6月6日发(作者:蹇语柳)
摘 要
通用串行总线,即Universal Serial Bus(USB)是一种应用前景非常广阔的新
型串行接口总线。它具有使用方便、易于扩展和传输速率高的特点,广泛应用于各种
中低速计算机外设及数字设备中,并在不断发展完善之中。基于USB总线的数据传输
方法有着其他方式所没有的高速与方便,因此有着很高的实际应用价值。
本课题的主要研究内容是:掌握USB通信协议及器件工作方式、利用MCS51
系列单片机控制PDIUSBD12接口芯片及周边电路、以及以此为依据设计的接口电路
和通信函数,最终通过USB接口实现单片机与Windows平台计算机之间的数据通信。
本课题实现的是主机识别USB外设的过程与最基本的控制传输,是USB数据
通信的基础,因此这种方式完成的接口设计具有相当的通用性,可以广泛的应用与移
动硬盘、读卡器等设备的开发中。
本课题使用的USB接口芯片是Philips公司的PDIUSBD12-08,所使用的驱动
是用Microsoft公司提供的DDK(驱动开发工具包)编制的,完全保证了软、硬件的可
靠性、兼容性。
关键词 USB PDIUSBD12 控制传输 USB固件编程
I
Abstract
Universal Serial the Bus( USB) is a new serial bus that will be wildly used in the
future. It has some advantages as convenience, easy to expend and high speed on
transmitting, so it can be applied to various computer peripheral devices and digital
equipments. In addition, it's being improved every single day. The data transmission based
on USB is more fast and convenient than the other methods, so it has high value in
practical application.
The main content of our task is:
Study the specification of USB and master the way of how USB device works; use
singlechip 89C52 to handle PDIUSBD12 and other chips; design the interface circuit and
firmware, and finally realize the dialogue between the USB controller and the host operated
on Windows though the USB cable.
This task is to complete the process of enumeration and configure and the basic
control transfer. The design achieved by this means can be applied to many other
developments such as mass storage and so on because the problems in the task are the base
of USB data communications.
The USB controller we select is PDIUSBD12 that is produced by Philips and the
driver we installed is compiled with the Device Drivers Kit(DDK) offered by Microsoft. So
both the software and the hardware of the project is reliable and has good compatibility.
Key words USB PDIUSBD12 Control transfer
USB firmware programming
II