1、USB2.0接口电路设计与编程 摘 要 通用串行总线 USB(Universal Serial Bus)是一种新型的微机总线接口规范。 具有传输速度快、可靠性高、使用灵活等优点。作为一种通信接口规范,它被广 泛地应用在 PC 外设和便携式系统中。随着客户对系统数据采集速度要求的不断 提高,USB 以其使用方便、易于扩展、速度快等优点而越来越多的应用于数据 采集系统中。PDIUSBD12 是一种 USB 接口芯片,具有很高的性能价格比,可以 使设计者在各种不同类型微控制器中选择合适的微控制器,减小了开发时间、风 险以及费用,从而用快捷的方法来实现最经济的 USB 接口。本文对 PDIUSBD12
2、 的功能作了简要介绍,利用 89S51 与 PDIUSBD12 相连实现了 USB 接口功能, 着重描述其硬件电路和接口芯片的固件程序设计。固件程序设计部分用 C 语言 开发,在本文中仅给出了部分程序的流程设计。 关键词:USB,89S51,PDIUSBD12 芯片 Circuit Design and Program of USB 1.1 Interface Abstract Universal Serial Bus is a new specification for microcomputer bus interface. The USB has the merits of high t
3、ransmission speed, high reliability, and flexibility. As a communications interface standard, this was widely used in computer and portable systems. With the advance of the clients demand for the speed of a data collection system is continual, USB is more and more widely used in data collection syst
4、em for its advantages such as convenience, expanding port with ease and high speed and etc. PDIUSBD12 is a USB interface chip with a high performance,which enables designers to choose suitable micro controller in a different types. It can reduce developmental time, risk and cost, thereby it can use the most economical and efficient way to achieve USB interface. The paper introduces the functions of PDIUSBD12 and focuses on the hardware and interface circuit chip firmware programming. The firm