精品文档---下载后可任意编辑[摘要]51 系列芯片的串口通信速率较低,会在其串口通信中形成一个速度瓶颈。通用串行总线(USB)作为一种新的微机总线接口法律规范,具有便捷、易扩展、低成本、低干扰等特点,非常适合作为主机和外设之间的通信接口。本文介绍了一种比较简单方便设计 USB 设备的方法,设计采纳 51 单片机和 USB 接口芯片组成的单片机最小系统来实现一个完整的 USB 设备,大大提高了通信速率。在设计中,采纳的控制器是 51 单片机 AT89S52,USB 电气接口则是 PHILIPS 公司的 USB 接口芯片 PDIUSBD12。单片机控制器作为下位机,通过 USB 电气接口芯片和 USB 总线与 PC 机交换数据,并实现 USB 设备的逻辑功能。系统开发的最终硬件成果是一个带有 USB 接口的设备,通过 USB 电缆与 PC 机相连接,能够实现主机对设备的列举,以及和 PC 机交换数据,并实现其扩展功能。[关键词]USB;单片机系统;PDIUSBD12;AT89S52;接口技术USB interface in the design of communication[Abstract]The communication rate of the series 51 chip is lower and it forms a tare bottle neck in serial communication. 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-chip computer that made of 51 single-chip computer and USB interface, the circuit greatly improves communication rate. In this system, I adopted 51 one-chip computers AT89S52 as its controller, the chip PDIUSBD12 of PHILIPS Company as its electric interface. The one-chip computer 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-chip computer system;interface technology;PDIUSBD12;AT89S52;USB 目录0 引言 10.1 选题现状、讨论意义以及进展趋势 Error: Reference source not found0.2 系统实现...