USB_OTG_IP nucleus AMBA interface design and FPGA Implementation

Author
TangJiaJie
Advisor
LinShuiSheng
School
University of Electronic Science and Technology
Major
Communication and Information System
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2010
Downloads
135
Citations
1

Request the full text

Abstract

As a low-cost and high-speed serial bus, USB bus plays an important role in all of the peripheral interfaces. With the OTG (On The Go) technology, the application area of USB is more expanded. USB OTG is widely used, which is not only for the market demanding, but also benefited for the development of its related chip. In the SoC design, on-chip buses based on a common design method are more and more paid attention. Due to the so many customers, the AMBA specification proposed by ARM is becoming the facto stand in all current on-chip buses (OCB). In this dissertation, the process and methods of how to design a common USB OTG IP, which is conform to USB OTG and AMBA specification, and verify it, will be clarified.The USB OTG soft IP introduced in the dissertation is designed with one OHC controller, one EHC controller and a device controller. Besides, an OTG controller is contained in this IP, which is used to handover the function of USB OTG IP. An external MCU is needed to assist analyzing the USB related protocol, so the AHB bus is used to connect the IP and MCU.Firstly, how to design the AHB interface is elaborated in the dissertation. An AHB master, AHB slave and DMA controller are contained in this interface module, which is based on the reusable methodology and handshake synchronization protocol, can provide the PIO or DMA accessing approach. Then, in order to verificate the USB OTG IP, a prototype verification platform based on FPGA and ARM microcontroller is set up. Meanwhile, some methods about test and verification are clarified in the dissertation. Lastly, the IP core with its corresponding driver successfully passed the function test. It can be implemented to an USB host or a device, and files can be transfered in the FPGA test. In addition, IP has the ability of OTG, which can handover the role between USB host and device. Therefore, this project achieves the basic features of USB 2.0 OTG IP, with some practicability and replicability.

Table of contents

Summary 4-5 ABSTRACT 5-14 first chapter 14-21 1.1 USB technology and AMBA bus development situation 14-19 1.1.1 USB technology development and application 14-16 1.1.2 based AMBA interface SOC chip development 16-19 1.2 topics I work objectives and tasks 19 1.3 of this thesis is organized 19-21 chapter AMBA and USB related agreements principle 21-34 2.1 AMBA 2.0 bus protocol 21-26 2.1.1 AHB bus architecture 22-23 2.1.2 AHB bus signals 23-25 ?? 2.1.3 AHB transfer timing 25-26 2.2 USB related agreements 26-33 2.2.1 USB2.0 bus protocol 26-28 <br / > 2.2.2 OTG protocol 28-29 2.2.3 UTMI and ULPI protocol 29-32 2.2.4 host Controller agreement 32-33 < br /> 2.3 Summary 33-34 Chapter III USB OTG system design Overview 34-42 3.1 system software partitioning 34-35 3.2 USB OTG IP structure and the function modules Introduction 35-39 3.2.1 device controller module 36 3.2.2 EHC host controller module 36-37 3.2.3 OHC host controller module 37 3.2.4 OTG controller module 37-38 3.2.5 MA arbitration unit module 38 3.2.6 RL host strobe module 38 3.2.7 ULPI interface module 38-39 3.2.8 BIU unit module 39 3.3 device driver 39-41 3.4 Summary 41-42 Chapter IV USB OTG IP in AHB interface circuit design and verification 42-70 4.1 hardware logic design principles 42-50 4.1.1 reset 42-43 4.1.2 synchronous circuit design 43-48 4.1.3 state machine encoding rules 48-50 4.2 BIU overall design 50-52 4.2.1 Requirements Analysis 50-51 4.2.2 design diagram under 51-52 4.3 PIO mode data path design 52-60 4.3.1 AHB Slave design 55-58 4.3.2 synchronization Unit design 58 4.3.3 register management unit design datapath design nbsp next 58-60 4.4 DMA mode ; 60-66 4.4.1 DMA principle 60-62 4.4.2 AHB Master design 62-64 4.4.3 DMAC design 64-66 4.5 AHB interface authentication functional simulation nbsp next 66-69 4.5.1 PIO mode ; 66-68 under 4.5.2 DMA mode function simulation 68-69 4.6 Summary 69-70 Chapter IP hardware test platform to build and debug 70-98 5.1 test Platform build 71-83 5.1.1 development Board Introduction 71-79 5.1.2 platform to build 79-83 5.2 FPGA -based USB OTG IP validation and debugging 83-92 5.2.1 Xilinx FPGA design flow 83-84 5.2.2 ASIC to FPGA code conversion 84-85 5.2.3 timing Constraints 85-87 5.2.4 debugging method 87-92 5.3 USB OTG IP test results 92-97 < br /> 5.3.1 device controller test 92-94 5.3.2 host Controller test 94-96 5.3.3 OTG system functional test 96-97 5.4 summary 97-98 Chapter VI summary and Outlook 98-100 6.1 Conclusion 98-99 <br / > 6.2 Prospects 99-100 Thanks 100-101 References 101-103 CVs and projects and papers 103-104

Related dissertations

  1. Fpga Design of DMA Data Transfer Platform Based on PCIe Bus
    WeiZuo ·Wuhan University of Technology ·2013 ·Master's thesis
  2. Verification of AMBAIO System Based on SoC
  3. Design and Verification of Data Collection Module of Sun-sensor SoC
    MengChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Hardware-in-the-loop Simulation with Navigation Satellite Signal Simulator Research
    WangXiaoZuo ·University of North ·2014 ·Master's thesis
  5. Study on Polyurethane Hot Melt Adhesive for PET Plastic Box
    WeiJie ·South China University of Technology ·2013 ·Master's thesis
  6. Design of Logging Data Acquisition System Based on BF537for Through Casing Formation Resistivity
    ZhouChao ·Xi'an University of Petroleum ·2013 ·Master's thesis
  7. Research and Design of WDM Driver for Three-channel Data Acquisition Card Based on PCI Bus
  8. The FPGA Design&Implementation of High-speed DAC Based on the PCIE Bus
  9. PCI-E High-speed Data Acquisition System Based on FPGA
  10. Research on Universal Packet Capture Technology Based on Multi-Core CPU
  11. Development of Device Driver Sotfware for Video Capture Card on Windows
  12. Driver Development of PCIE Data Acquisition Card in Embedded Linux
  13. Interactive display module software design of ultraviolet LED controller machine
  14. The Software Design of High-Speed Data Acquisition Module Based on PCI Bus
  15. The Research of Trust Cryptography Module Based on Openrisc
  16. The Design and Implementation of PCI Password Card
    GaoDongFei ·Zhengzhou University ·2013 ·Master's thesis
  17. Research and Development of High Speed Data Sampling System Based on ARM
    ZuoHongCun ·Northeastern University ·2010 ·Master's thesis
  18. Prototype Design and Implementation of Parallel Acceleration Experiment Platform Based on FPGA
    LiuFuCai ·Shandong University ·2013 ·Master's thesis
  19. Design of PCIE Bus Interface and Fiber-optic Communication Module Based on FPGA
    LiTing ·Yanshan University ·2013 ·Master's thesis
  20. Design and Implementation of Driver Programming Based on PCI Bus