免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 论文排版 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 论文范文 -> 自动化专业

基于USB2.0的数据传输系统设计

本文ID:17443 字数:22590,页数:52

下载地址 全文下载链接(充值:¥128.00元) 

论文编号:ZD1030    论文字数:22590,页数:52

摘  要
 USB ( universal serial bus)是近年发展起来的一种快速、灵活的总线接口。它最大的特点是易于使用、可热插拔、接口连接灵活,并且能够提供外设电源,在嵌入式系统及智能仪表中得到广泛的应用。本文讨论了一种基于USB2.0的数据传输设计和实现方法。
 本数据传输系统采用FPGA作为主控制器,通过SLAVE FIFO方式将数据送入USB控制板,最后经USB将数据读入计算机。论文首先简述了USB协议,包括体系结构、数据流模型、传输类型等。在硬件设计部分先讨论了USB2.0接口芯片CY7C68013,然后给出了FPGA的硬件设计方案及FPGA程序设计;在软件部分,介绍了FX2的固件框架,使用了USB从属FIFO接口模式。最后将系统的软硬件设计相结合,实现了对系统调试。
 
关键词:USB,CY7C68013,固件,FPGA
Abstract
 USB (universal serial bus) is one kind which the recent years developed fast, the nimble bus interface. It most major characteristic is easy to use, may to insert hotly pulls out, the connection  to be flexible, and can provide the peripheral device power source, obtains the widespread application in the embedded system and the intelligent measuring appliance. But 51 series monolithic integrated circuits by its superior performance, the mature technology, the high performance-to-price ratio are widely applied in observe and control automated domains and so on instrument. This paper discusses a design scheme and implementation of data-transmission system based on USB2.0.
 The data transmission system used FPGA as a host controller, and send data to the USB board through SLAVE FIFO, and finally, it will be written into computer. This paper, firstly, introduces knowledge about USB protocol, including architectural overview, data flow model, data flow types and so on. In the part of hardware, the hardware design of USB communication system based on USB2.0 chip CY7C68013 is discussed and then the hardware design scheme of FPGA; In the part of software, the FX2 firmware flow is shown, and the firmware design of USB Slave FIFO is discussed in detail. Finally, combining hardware design and software design, we give the debug strategy in this system.

Keywords:USB,CY7C68013,firmware,FPGA


目 录
摘要………………….…………………………………………………………………………..…...….II
1  绪论………………….………………………………..………………………………………….….1
 1.1  选题背景及研究意义………………….………………………………………………. …….1
1.2  国内外研究现状………………….…………………………….……………………………...2
1.3  本论文的主要研究内容………………….………………………….………………………...3
2  USB总线体系结构………………….……………………………………….….………………..4
2.1  USB系统的描述………………….…………………………………………….……………...4
2.2  总线结构………………….………………………………………………….………………...4
 2.2.1 USB主机与设备………………….……………………………………..……………….5
 2.2.2 USB的电气特性………………….……………………………..……………………….6
 2.2.3 USB总线机械特性………………….…………………………..……………………….6
 2.2.4 USB电源………………….………………………………………..…………………….6
2.3  USB总线协议………………….……………………………………………..………………..7
2.4  USB通信流………………….…………………………………………………….…………...8
2.5  USB设备与枚举过程………………….……………………………………….…………….10
  2.5.1 USB设备………………….……………………………………………………..……...10
  2.5.2 USB设备状态………………….………………………………………..……………...11
  2.5.3 总线枚举(Bus Enumeration)………………….……………………………….……...12
3  USB数据传输系统的硬件设计………………….………………………………….………..14
 3.1  芯片选择………………….………………………………………………………….………14
 3.2  USB芯片………………….…………………………………………………..……………...14
  3.2.1 USB芯片介绍………………….…………………………………………..…………...14
  3.2.2 USB2.0的主要特点………………….…………………………………..……………..15
  3.2.3 CY7C68013芯片………………….……………………………………….…………...17
 3.3  FPGA设计………………….……………………………………………….……………….23
  3.3.1 FPGA简介………………….…………………………………………….…………….23
  3.3.2 FPGA设计流程………………….…………………………………………….……….23
 3.4  硬件接口电路实现………………….…………………………………………….…………24
 3.5  逻辑控制电路的设计………………….………………………………………….…………25
4  固件程序设计………………….……………………………………….………………………..28
 4.1 固件功能………………….………………………………………………….………………..28
  4.1.1 CY7C68013固件架构………………….……………………………….……………...28
  4.1.2 描述符的定义………………….……………………………………….……………...32
  4.1.3 端点的配置………………….…………………………………………….…………...33
 4.2 USB固件程序设计………………….……………………………………………..…………..33
  4.2.1 固件程序工程………………….………………………….…………………………...33
  4.2.2 固件程序的编译与调试………………….………………….………………………...35
  4.2.3 固件程序的下载………………….…………………………….……………………...35
5  调试与主要问题………………….……………………………………….……………………..37
 5.1  数据传输调试………………….…………………………………….……………………...37
 5.2  主要问题…………………….………………………………………….…………………...39
6  总结…………………….……………………………………………….……………….…………41
致谢…………………….…………………………………………………….…………………………42
参考文献…………………….……………………………………………………..………………..…43
附录1 FPGA程序………….…………………………………………………….……………….…44

相关论文
上一篇:制冷加热双路控制器开发 下一篇:迪凯国际楼宇大厦门禁及综合布线..
推荐论文 本专业最新论文
Tags:基于 USB2.0 数据 传输系统 设计 2011-04-03 12:44:45【返回顶部】

相关栏目

自动化专业
电子机电类
测控技术
机械模具设计
金融专业
电子通信
交通工程专业
英语专业
会计专业
政治学行政学
财务管理
国际贸易
法律专业
社会工作专业
物流论文
人力资源
食品科学生物技术
市场营销
土木工程
化学工程与工艺
旅游管理专业
工商管理
工程管理
其他专业论文


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2022 GEPUW.NET 论文天下网 版权所有