EHCI - based protocol of OTG USB 2.0 FPGA Design and Implementation

Author
ChenXingYu
Advisor
LiGuangJun
School
University of Electronic Science and Technology
Major
Information and Communication Engineering
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2008
Downloads
136
Citations
3

Request the full text

Abstract

Universal Serial Bus (USB) is a computer peripheral serial communication interface standard , hot-swappable , plug and play , reliable data transmission , easy to expand , low cost. USB OTG specification out of the concept of interconnection between the PC and peripherals , it USB application to the embedded field . OTG controller module OTG USB2.0 IP core module . It by HNP ( main from exchange) protocol and SRP ( Session Request ) protocol , embedded USB device to switch roles between the host and the device . High-speed host controller module when the dual- role device used as a host module , USB host is the core part of the USB bus , it is responsible for managing all the information of the entire USB bus , engine all transfers . This paper first introduces the overall structure of the OTG USB 2.0 IP design , hardware and software partitioning , storage, and data transmission . And the a basic USB2.0 protocol and UTMI agreement core part of an overview . This paper studies the OTG supplement specification , according to the protocol OTG controller hardware and software division , and completed the hardware part of the RTL design and verification . This paper studies the the EHCI agreement and Philips ISP1761 chip , combined with the characteristics of non - bus connection between the IP and the MCU to design more in line with the IP a more concise high - speed host controller data scheduling method , the same reasonable hardware and software partitioning , and the completion of the hardware part of the RTL design and verification . The IP Synopsys' USB Series VIP -assisted verification , and using Altera's FPGA Finally, the paper as the ultimate realization of the environment and the results of the validation and testing of the system . In this thesis, OTG USB2.0 IP -core design issues as the background , the research has a certain value of work .

Table of contents

Abstract 4-5 ABSTRACT 5-16 Chapter Introduction 16-19 1.1 USBOTG Technology Development Studies 16-17 1.2 thesis purpose and significance 17 1.3 In this thesis, the main work 17-19 Chapter OTG USB2.0 IP Overview 19-36 2.1 USB2.0 OTG protocol principles 19-28 2.1.1 USB architecture 19-21 2.1.1.1 functional layer 20 2.1.1.2 USB device layer 20 2.1.1.3 USB bus interface layer 20-21 2.1.2 USB2.0 link principle 21-24 2.1.2.1 The basic unit of data transmission - Pack 21-22 2.1.2.2 Transport type 22-24 2.1.3 UTMI protocol outlined 24-28 2.1.3.1 UTMI important interface signals 25-26 2.1.3.2 UTMI important interface timing 26-28 2.1.4 OTG 1.0 protocol outlined 28 2.1.4.1 SRP protocol 28 2.1.4.2 HNP protocol 28 2.2 IP system design 28-35 2.2.1 IP software design 30-31 2.2.2 IP hardware design 31-35 2.2.2.1 System Storage Design 33 2.2.2.2 interrupt Design 33-34 2.2.2.3 Data access mode design 34-35 2.3 Chapter Summary 35-36 Chapter USB2.0 high speed host controller design and implementation 36-69 3.1 EHCI Protocol Transport Strategy and Improvement 36-38 3.2 URB-HTD list structure 38-41 3.2.1 USB request block-URB 38 3.2.2 HTD transfer descriptor 38-41 3.3 HTD list scheduling 41-43 3.4 high-speed host controller hardware RTL design 43-63 3.4.1 Global Control Module-EGC 44-46 3.4.1.1 Reset Control 44 3.4.1.2 frame border control 44-45 3.4.1.3 EHC system operation and stop control 45-46 3.4.2 lists: processing module-ELP 46-52 3.4.2.1 ELP and ESIE transmission of information between 47-49 3.4.2.2 HTD scheduling 49-50 3.4.2.3 HTD validity checks 50-51 3.4.2.4 error control 51-52 3.4.3 Serial Interface Engine Module-ESIE 52-60 3.4.3.1 Packet Module-PA 54-56 3.4.3.2 Unpacking module-PD 56-58 3.4.3.3 master module-PE 58-60 3.4.4 High Speed ??root hub module-ERH 60-62 3.4.5 Memory Control Module-EMC 62-63 3.5 RTL verification and analysis of simulation results 63-68 3.5.1 Verification Platform 63-64 3.5.2 Simulation results 64-68 3.6 Summary 68-69 Chapter USB2.0 O'TG controller design and implementation 69-83 4.1 Design Review 69-75 4.1.1 OTG protocol electrical schematic 69-71 4.1.2 state transition diagram 71-73 4.1.3 state machine parameters 73-74 4.1.4 design architecture 74-75 4.2 OTG controller hardware RTL design 75-80 4.2.1 timer, 75-76 4.2.2 SRP process 76-77 4.2.3 HNP process 77-79 4.2.4 Master-slave switching 79-80 4.3 RTL verification and analysis of simulation results 80-82 4.4 Summary 82-83 Chapter OTG USB2.0 IP verification and testing 83-102 5.1 OTG USB2.0 EDA verification 83-94 5.1.1 EDA verification environment 83-86 5.1.1.1 Verification Platform 83-84 5.1.1.2 hierarchy 84-86 5.1.2 EDA verification results 86-94 5.2 OTG USB2.0 FPGA test 94-101 5.2.1 FPGA test environment 94-95 5.2.2 FPGA hardware test platform 95-97 5.2.3 FPGA test results 97-101 5.3 Chapter Summary 101-102 Chapter VI Conclusion and Outlook 102-104 6.1 Conclusion 102 6.2 Future Prospects 102-104 Thanks 104-105 References 105-107 resume, during the study period and the results of research papers published 107

Related dissertations

  1. The Research and Implementation of USB OTG Technology in Embedded System
    LiuBing ·East China Normal University ·2006 ·Master's thesis
  2. Design and Implementation of Multi-point Tension Data Acquisition System Based on USB
    CuiShuZuo ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  3. The Design and Realization of ASI/SDI Transport Stream Player Based on FPGA
  4. Embedded Vibration Signal Analyzer Developed
    LiZhaoChang ·Harbin Engineering University ·2013 ·Master's thesis
  5. The Research of High-resolution Image Capture and Real-time Image Processing Algorithm Based on USB2.0
    ZhuZuoHan ·Ningbo University ·2013 ·Master's thesis
  6. Design and Implementation of Small-sized Timing System Terminal Bsaed on USB2.0Interface
  7. The Research of USB2.0to Gigabit Ethernet Interface
    WangZuo ·Xi'an Optics and Fine Mechanics ·2013 ·Master's thesis
  8. Design and Implementation of ARINC429Interface Based USB
  9. Research on Wireless Video Transmission and Control Technology
  10. HINOC Terminal Protocol Verification Based on the FPGA
  11. The improved design of FPGA experimental system
    RenJiaWei ·Northwestern University ·2013 ·Master's thesis
  12. Hardware Design of the Train Monitoring Management System Based on "BD"
  13. Design of Multichannel Ultrasonic Testing System Based on USB2.0
    HeGuangZu ·University of North ·2014 ·Master's thesis
  14. Design of Acquisition System of Miniature Spectrometer
  15. The GPS Software Receiver Based on Circumference Displacement Acquisition Algorithm
  16. Design of the Integrated Gyroscope Pulse Output Testing System
    ZhangQiuGuang ·Xi'an Technological University ·2013 ·Master's thesis
  17. Design and Implementation of Detection-acquisition-transmission System for Industrial CT Based on USB2.0
    TangWei ·Chongqing University ·2012 ·Master's thesis
  18. Research of Linear CCD Transient Spectrum Data Acquisition System Based on FPGA
    SunDongLei ·Chongqing University ·2013 ·Master's thesis
  19. Design of the High Speed Data Acquisition System Based on USB2.0
  20. The Design of Data Acquisition Card with1GHz Based on FPGA
    TangFuTao ·Zhengzhou University ·2012 ·Master's thesis