资源预览内容
第1页 / 共32页
第2页 / 共32页
第3页 / 共32页
第4页 / 共32页
第5页 / 共32页
第6页 / 共32页
第7页 / 共32页
第8页 / 共32页
第9页 / 共32页
第10页 / 共32页
亲,该文档总共32页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
毕 业 设 计 说 明 书USB1.1 接口电路设计与编程院 (系 )名 称 信 息 工 程 学 院专 业 名 称 电 子 信 息 工 程学 生 姓 名指 导 教 师2008 年 5 月 10 日毕 业 设 计 说 明 书 第 页USB1.1接口电路设计与编程摘 要通用串行总线 USB(Universal Serial Bus)是一种新型的微机总线接口规范。具有传输速度快、可靠性高、使用灵活等优点。作为一种通信接口规范,它被广泛地应用在PC 外设和便携式系统中。随着客户对系统数据采集速度要求的不断提高,USB 以其使用方便、易于扩展、速度快等优点而越来越多的应用于数据采集系统中。PDIUSBD12是一种 USB 接口芯片,具有很高的性能价格比,可以使设计者在各种不同类型微控制器中选择合适的微控制器,减小了开发时间、风险以及费用,从而用快捷的方法来实现最经济的 USB 接口。本文对 PDIUSBD12 的功能作了简要介绍,利用 89S51 与PDIUSBD12 相连实现了 USB 接口功能,着重描述其硬件电路和接口芯片的固件程序设计。固件程序设计部分用 C 语言开发,在本文中仅给出了部分程序的流程设计。关键词:USB,89S51 ,PDIUSBD12 芯片毕 业 设 计 说 明 书 第 I 页Circuit Design and Program of USB 1.1 InterfaceAuthor: Wei Fei Tutor: Zhang YuxiangAbstractUniversal Serial Bus is a new specification for microcomputer bus interface. The USB has the merits of high transmission 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 system 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 firmware programming part develops with C language, and the paper only gives part of the design of the process.Key words: USB, 89S51, PDIUSBD12 chips毕 业 设 计 说 明 书 第 II 页目 录1 绪 论 .11.1 课题背景与目的 .11.2 课题的提出 .11.3 USB 简介 .22 USB1.1 协议简介 .42.1 USB 系统构成 .42.2 USB 设备的枚举过程 .52.3 USB 标准设备请求 .63 芯片介绍 .83.1 PDIUSBD12 芯片简介 .83.2 AT89S51 介绍 .123.3 芯片选择 .134 硬件电路设计 .144.1 单片机单元电路设计 .144.2 USB 接口电路设计 .155 软件的设计 .175.1 软件的开发环境 .175.2 软件程序开发 .175.3 程序流程分析 .225.4 程序模块化思想 .23结论 .24毕 业 设 计 说 明 书 第 III 页致谢 .25参考文献 .26毕 业 设 计 说 明 书 第 0 页1 绪 论通用串行总线USB(Universal Serial Bus)是一种新型的微机总线接口规范。其传输速率远快于一般的串行总线接口。它最突出的特点是支持热插拔、使用方便、独立供电且能连接多个不同的设备。随着客户对系统数据采集速度要求的不断提高,USB以其使用方便、易于扩展、速度快等优点而越来越多的应用于数据采集系统中。1.1 课题背景与目的在计算机迅速普及的今天,USB 接口已经成为了计算机中最普遍的接口,例如数码相机、扫描仪、游戏杆、磁带和软驱、图像设备、打印机、键盘、鼠标等等都使用了 USB 接口
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号