The Design and Implementation of Embedded USB2.0 Host Controller IP Core
- Author
- HuLiQin
- Advisor
- HuJin
- School
- Hunan University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 149
- Citations
- 0
Abstract
Firstly, this paper discusses the generation and development of USB (Universal Serial Bus), and the research status of embedded USB host controller in the world. Secondly, this paper describes USB2.0 protocol briefly, including USB architecture, physical interface, structure of packet in data transfers and the four types of data transfers.In the following, this paper discusses the design proposal of our embedded USB host controller, describes the structure and the design of function modules in detail, and the application of embedded USB host controller in electronic system is also described briefly. In our design, embedded USB host controller IP core supports high speed transfers and fast speed transfers, and it doesn’t support low speed transfers. And the embedded USB host controller IP core implements four types of data transfers, which are control transfers, bulk transfers, isochronous transfers and interrupt transfers. In our design, a DMA master/slave controller is embedded whose work mode can be selected by setting the bits of registers accordingly by software. When there is not DMA master controller outside of the USB host controller, then the DMA controller in USB host controller works in master mode to exchange the data between transmissions / receive buffer and memory in system. When there is a DMA master controller, then the DMA controller in USB host controller works in slave mode. This design of DMA controller improves the flexibility of USB host controller and the speed of data transfers greatly. Meanwhile, the buffer is designed as ping-pong buffer. The design makes the data synchronization between CPU and USB host controller easier.This paper also describes the software system architecture of USB host controller, and the implementation of USB host controller driver is described in detail.Lastly, this paper describes the simulation and verification platform of embedded USB host controller, and describes the implementation of bus enumeration and data transfers on the platform, and the simulation result is analyzed. After FPGA verification and tapped out with 0.18 um process of Silterra corporation by MPW mode, we have tested the functions of chips come back.
Table of contents
Abstract 5-6
ABSTRACT 6-7
directory 7-9
Chapter 1 Introduction 9-14
1.1 USB bus generation and development 9-10
1.2 embedded USB host concept proposed and the research situation 10-12
1.3 USB bus characteristics
1.4 source of this topic and the main contents 12-14
Chapter 2 USB 2.0 bus protocol research 14-25
2.1 USB bus topology 14-15
2.2 USB physical interface 15-16
2.2.1 USB Electrical Characteristics 15-16
2.2.2 USB power 16
2.3 USB data communication structure 16-21
2.3.1 USB packet domain type 17-20
2.3.2 USB packet types 20-21
2.4 USB data stream type 21-25
Chapter 3 embedded USB host controller design 25-46
3.1 embedded USB host overall structure 26-29
the
embedded USB 3.2 host each module design 29-46
of 3.2.1 embedded controller (embedding controller) 29-32
of 3.2.2 embedded Registers (embedding register) 32-34
3.2.3 DMA controller 34-36
3.2.4 Memory block 36-37
3.2.5 root hub 37-41
3.2.6 PIE module (Parallel Interface Engine) 41-46
Chapter 4 USB host software design 46-51
4.1 USB host software structure 46-47
4.2 USB host controller driver design 47-51
Chapter 5 system verification 51-60
5.1 verification environment 51-53
5.1.1 MIPS CPU 51-52
5.1.2 memory model 52
5.1.3 the PHY model 52
5.1.4 USB device model 52-53
5.2 functional simulation 53-55
5.3 FPGA validation 55-57
5.4 circuit realization 57-58
5.5 test results and analysis 58-60
concluded 60-62
the
References 62-65
the
directory of academic papers published in Appendix A degree 65-66
The
Appendix B device enumeration state machine code to achieve 66-72
Appendix C design part of the gate-level circuit 72-74
Acknowledgements 74
Related dissertations
- The IP Core Implement and Improvement of Image Compression Algorithm
- Research and Design of the Des Encryption Chip Based on Resource Optimization
- Design and Implementation of Video Tracking and Encoding System Based on FPGA
- USB Universal Serial Bus IP CORE Design and Implementation
- Research of USB Host Interface on Digital Set-Top-Box
- Design of USB Controller IP Core for SoC
- Design and Implementation of USB Controller and General Purpose IO Interface Controller IP Core for SoC
- The Design and Implementation of MCU & USB Device Controller
- USB Host Controller IP Core Research and Design
- Universal Serial Bus (USB2.0) IP core design
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA