USB2.0 device-side research and communications hardware platform design
- Author
- YangBin
- Advisor
- LiuBuMin
- School
- University of Electronic Science and Technology
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 83
- Citations
- 1
Abstract
With the rapid development of electronic information industry, excellent performance and massive data processing ability have been endowed to the computer. At the same time, the complexity of computer peripheral equipment has been greatly improved. Therefore, efficient, convenient and stable connection is required between increasingly stronger computer and constantly developing computer peripheral equipment. In this demand, Universal Serial Bus (USB) has been researched and developed. USB is a kind of serial bus realizing communication between computer and computer peripheral equipment and characterized by high data throughput rate, convenient usage, plug and play technique, low cost and easy extension. Because the advantages, USB obtains the support of most electronic manufacturers and consumers, occupies the market, and becomes the first choice of connecting computer and computer peripheral equipment.Systematic research and development of USB device system is illustrated in this article, including the interpretation of protocol, design of USB2.0 digital IP core, design and application of USB2.0 device system. A kind of hardware platform is also introduced in the article for SoC system development of wireless LAN.First of all, the concept of computer bus, computer bus development trend, and several advanced bus protocols are introduced in this article. In this way, USB is involved in, and USB development course, features and advantages are emphatically described.And then, USB2.0 protocol is analyzed from the perspective of device, including bus system architecture, electrical characteristics, communication architecture, informational format and transmission mode. UTMI protocol which is used in realization process is expounded simply.A design method of digital IP core of USB2.0 device is proposed in this article on the base of USB2.0 protocol analysis. The IP core is divided into six modules: UTMI, Protocol Layer, Endpoint Control & Status Registers, Memory Interface Arbiter and Wishbone Interface. The implementation process of all the six modules is expounded in detail.On the purpose of thorough study USB2.0 device, a data transmission system based on USB2.0 device is implemented, and is applied to Portable Real-time Image System, USB2.0 Programmer and Realization of 802.11 a/b/g/n MAC. This content is divided into six sections, including system composition, hardware design, firmware design, driver design, FPGA control code design, system verification and application.Finally, a kind of hardware platform which satisfies practical project requirement and is oriented to design and verification of WLAN communication SoC. Entire scheme and architecture of hardware platform, core structure of system mother board, framework of FPGA core board, system verification and application are illustrated in detail.
Table of contents
Summary 4-5
ABSTRACT 5-11
first chapter 11-16
1.1 computer bus 11-13 < br /> 1.2 USB bus 13-14
1.3 research and briefs 14-15
1.4 articles organization 15-16
second Chapter USB2.0 protocol analysis and UTMI protocol Introduction 16-40
2.1 USB system Architecture bus 16-19
2.1.1 USB bus system 16 < br /> 2.1.2 host 16-17
2.1.3 device side 17
nbsp 2.1.4 USB interconnect systems ; 17-19 <br / > system Interconnect 2.1.4.1 physical and logical systems Interconnection 17-18
2.1.4.2 communication protocols 18-19
2.2 electrical signal transmission 19-21
2.2.1 differential signal 20
2.2.2 encoding and bit stuffing 20-21
2.3 communications data structure 21-23
2.4 field format 23-28
2.4.1 synchronization field 23-24
2.4.2 identification field 24-25
2.4.3 address field 25-26
2.4.4 endpoint field 26
2.4.5 frame number field 26-27 <br / > 2.4.6 data Field 27
2.4.7 CRC checksum field 27-28
2.5 packet format 28-32
2.5. a token packet 28-30
2.5.2 packet 30-31
2.5.3 handshake 31-32
2.6 transfer type 32-38
2.6.1 control Transmission 32-34
2.6.2 bulk transfer 34-35
2.6.3 synchronous transmission 35-37
2.6.4 interrupt transmission 37-38
2.7 UTMI agreement 38-40
Chapter III USB2.0 IP core device side design 40-56
3.1 USB2.0 device end IP core structure 40-42
3.1.1 Description 40-41
3.1. 2 System block Diagram 41-42
3.2 design and Implementation 42-55
3.2.1 UTMI module 42-47
3.2.1.1 data bus mode selection 42
3.2.1.2 connect statement agreement 42-43
3.2.1.3 speed detection handshake mechanism 43-44
3.2.1.4 suspend and wake 44-46
3.2.1.5 reset 46-47
3.2.2 protocol layer module 47-52
3.2.2.1 protocol packet parsing module 47-48
3.2.2.2 protocol packet encapsulation module 48-49
3.2.2.3 IDMA module 49-50
3.2 .2.4 protocol engine module 50-52
3.2.3 endpoint control and status register module 52-53
3.2.4 memory Interface arbitration module 53-54
3.2.5 Wishbone interface module 54-55
3.3 IP core design summary 55-56
end of the fourth chapter based on USB2.0 devices to achieve data transmission system 56-77
4.1 system components and chip introduced 56-61
4.1.1 system components 56-57
4.1.2 FPGA chip 57-58
4.1.3 USB chip 58-60
4.1.4 PC terminal 60-61
4.2 system hardware design 61-63
4.3 firmware design 63-66
4.4 driver design 66-68
4.5 FPGA control code design 68-71 < br /> 4.6 system verification , testing and application 71-76
4.6.1 system test 71
4.6.2 portable real-time image system application 71 -73
4.6.3 FPGA programming based on USB2.0 applications 73-75
4.6.4 802.11 a / b / g / n MAC layer design verification program application 75-76
4.7 USB2.0 device end system summary 76-77
Chapter V hardware platform design and verification 77-94
5.1 hardware solutions and the overall structure of 77-80
5.1.1 hardware solutions 77-79
5.1.2 hardware overall structure 79-80
5.2 system master board core architecture 80-81
5.3 FPGA core board structure 81-92
5.3.1 power circuit design 82-84
5.3.2 core device and connection design 84-87
5.3.2.1 FPGA chip and connection design 84-85
5.3.2.2 ARM ARM core chip and board connector design 85
5.3.2.3 Fast Ethernet physical layer chip and connection design 85-86
5.3.2.4 FPGA configuration module and its connection design 86-87 <br / > 5.3.3 memory circuit design 87-88
5.3.4 reset the clock circuit design 88-91
5.3.4.1 reset circuit design 88 - 90
5.3.4.2 clock circuit design 90-91
5.3.5 test and expand programs designed 91-92
5.4 system verification and system applications 92-93
5.5 hardware platform design and verification summary 93-94
Chapter VI summary and Outlook 94-95
Thanks 95 - 96
References 96-98
studying for a master's degree during the outcomes 98-99
Related dissertations
- The Acquisition and Processing of GPS Signal Based on FPGA
- Research and Application Based on the Fpga Network Traffic Behavior Analyzer
- The IP Core Implement and Improvement of Image Compression Algorithm
- Research and Design of the Des Encryption Chip Based on Resource Optimization
- Fpga Design of DMA Data Transfer Platform Based on PCIe Bus
- The Hardware Platform Design of the GSM Femtocell
- Design and Implementation of the IP Core of AVI Encoding and SD Card Controller Based on SoPC
- Design and Implementation of Video Tracking and Encoding System Based on FPGA
- Design of IP Core of True Random Number Based on PLL
- Research on IP Core of Non-uniform Sampling
- The Implementation of DFT for a High-performance Processor
- Mounted Head General Control System of New SMT Machine Based on FPGA
- Design and Implementation on the Soft IP Cores of Low Speed Serial Communication Bus
- Research of the High Precision Digital Phase Meter
- Applied Research on Adaptive Fuzzy Control of Vapor Compression Chiller in Central Air Conditioning System
- A Design of Universal Remote Interface Unit of Airborne Electromechanical System Based on FPGA
- Design of Embedded Numerical Control System Hardware Platform Based on Cortex-A8
- Transformer Sound Acquisition System Design and Realization Based the NiosⅡ
- Research of Multi-channel Data Acquisition System for Full Vector Spectrum Analysis
- Design and Realization of Experimental Turntable Measurement and Control System Based on SOPC