网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 论文范文 -> 自动化专业 -> 基于USB2.0的数据传输系统设计
自动化论文范文| 电子机电论文| 测控技术论文| 通信专业论文| 电气工程论文| 通信工程论文| 电子信息工程论文| 免费自动化论文| 免费电子论文| 免费电气论文| 免费通信论文

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

本文ID:LW17443 字数:22590,页数:52 价格:¥128.00 → 信用说明

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

文档编号: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

基于USB2.0的数据传输系统设计由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:制冷加热双路控制器开发 下一篇:迪凯国际楼宇大厦门禁及综合布线..
推荐论文 本专业最新论文
Tags:基于 USB2.0 数据 传输系统 设计 2011-04-03 12:44:45【返回顶部】
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

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

Copyright@ 2009-2020 毕业论文网 版权所有