USB接口电路设计及通信编程.doc

  1. 1、本文档共66页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
USB接口电路设计及通信编程

摘 要 通用串行总线,即Universal Serial Bus(USB)是一种应用前景非常广阔的新型串行接口总线。它具有使用方便、易于扩展和传输速率高的特点,广泛应用于各种中低速计算机外设及数字设备中,并在不断发展完善之中。基于USB总线的数据传输方法有着其他方式所没有的高速与方便,因此有着很高的实际应用价值。 本课题的主要研究内容是:掌握USB通信协议及器件工作方式、利用MCS51系列单片机控制PDIUSBD12接口芯片及周边电路、以及以此为依据设计的接口电路和通信函数,最终通过USB接口实现单片机与Windows平台计算机之间的数据通信。 本课题实现的是主机识别USB外设的过程与最基本的控制传输,是USB数据通信的基础,因此这种方式完成的接口设计具有相当的通用性,可以广泛的应用与移动硬盘、读卡器等设备的开发中。 本课题使用的USB接口芯片是Philips公司的PDIUSBD12-08,所使用的驱动是用Microsoft公司提供的DDK(驱动开发工具包)编制的,完全保证了软、硬件的可靠性、兼容性。 关键词 USB PDIUSBD12 控制传输 USB固件编程 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, its 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 目 录 摘 要 I Abstract II 第1章 绪 论 1 1.1 研究的目的和意义 1 1.2 USB技术的发展状况及前景 1 1.2.1 USB的发展历史 1 1.2.2 USB的特点 2 1.2.3 USB

文档评论(0)

almm118 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档