The Design and Implementation of MCU & USB Device Controller

Author
ChenXunLiang
Advisor
HuJin
School
Hunan University
Major
Microelectronics and Solid State Electronics
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2009
Downloads
143
Citations
0

Request the full text

Abstract

For the advantages of low cost, easy to use, protocol flexible, interface standardization and port easy to expand, USB (Universal Serial Bus) occupies the predominant position in the region of computer peripheral interface and with the wide use of USB technology, USB plays an important role in data communication. With the abundance of IP core, how to increase the reusability of IP core, connect different IP cores effectively and short design period become the research focuses in IC design field, therefore this paper designs and implements a controller IP core of MCU&USB device. This design comprises the requirements of the capacity of the designers in two facets, the capacity of ASIC system design and the capacity of analysis of communication protocol, this design has strong theoretical research significance and practical value.Firstly, this paper introduces the origin and development of Universal Serial Bus, research of USB device and the development of MCU at home and abroad. Secondly, the paper introduces the USB 1.1 protocol include USB system structure, physical interface, package structure in data communication and four types of data transmission. Then the paper focuses on the approach of the design of MCU and USB device controller IP core, describes the system structure and the design of each function module in detail and presents the applied scheme of function module in the system. Because the MCU&USB device controller IP core designed in this paper mainly aims to low speed functional device like mouse, keyboard and joystick, the design of device controller only implements control transferring and interrupt transferring. In the past designs, MCU always applies chips of hard core, because of the aims of the design in this paper are low speed functional devices, the hard core MCU wastes cost of the design products, lacks product competition, based on the consideration above, this paper designs MCU independently to achieve the functions of hard core MCU, greatly decreases the chip area and development costs.Finally, the paper simulates and synthesizes the designed IP core, introduces the system test platform, elaborates the implementation method of bus enumeration and data transferring in test platform and analyzes the simulation results. The design is taped out successfully by CSMC 0.35um process.

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-13 1.1 USB bus generation and development 9-10 1.2 USB device controller research status 1.3 the MCU development at home and abroad status 10-12 1.4 This topic content and significance 12-13 Chapter 2 USB system structure and transmission principle 13-28 2.1 USB system basic components 13 2.2 Electrical Characteristics 13-14 2.3 USB packet structure 14-17 2.3.1 USB bus coding techniques 14-15 2.3.2 package composed 15-16 2.3.3 package type 16-17 2.4 transaction processing 17-19 2.4.1 Input transaction processing 17-18 2.4.2 Output transaction processing 18 the 2.4.3 The settings affairs content processing 18-19 2.5 data transfer 19-22 2.5.1 control transfer 20-21 2.5.2 batch transmission 21-22 2.5.3 interrupt transmission 22 2.5.4 Real-time Transport 22 2.6 packet the checksum error handling 22-28 2.6.1 cyclic redundancy check code 22-23 2.6.2 package error handling 23-28 3 MCU and USB overall design 28-52 3.1 data memory and program memory arbitration module 28-30 3.1.1 program memory 29 3.1.2 Data Memory 29-30 3.1.3 arbitration module 30 3.2 transceiver design 30-31 3.3 USB controller IP core design 31-37 3.3.1 digital phase-locked loop module Dpll 32 3.3.2 serial interface engine module SIE 32-37 3.3.3 endpoint control module ENDPCTL 37 3.3.4 Buffer Control Module BUFCTL 37 3.4 Special Function Registers design 37-42 3.4.1 MCU the Configuration Registers design 37-40 3.4.2 USB the Configuration Registers design 40-42 3.5 MCU design 42-50 3.5.1 MCU main functions and features 43-44 3.5.2 MCU internal structure design 44-49 3.5.3 oscillation circuit 49 3.5.4 Sleep and wake 49-50 3.6 LDO design 50-52 the design simulation and verification of Chapter 4 52-58 4.1 validation 52-55 4.2 FPGA validation 55-56 4.3 territory 56-58 concluded 58-60 the References 60-63 Acknowledgements 63-64 published in Appendix A degree during the academic catalog 64-65 the Appendix B part of the gate-level schematic 65

Related dissertations

  1. The IP Core Implement and Improvement of Image Compression Algorithm
    GongXiaoLei ·Donghua University ·2014 ·Master's thesis
  2. Research and Design of the Des Encryption Chip Based on Resource Optimization
  3. Design and Implementation of Video Tracking and Encoding System Based on FPGA
    PengDanYang ·Northeastern University ·2013 ·Master's thesis
  4. Capacity of USB-based multi-channel data acquisition system
  5. USB2.0 Device Controller for IP Core Design
  6. USB Universal Serial Bus IP CORE Design and Implementation
    ZhangGe ·Northwestern Polytechnical University ·2002 ·Master's thesis
  7. Design of USB Controller IP Core for SoC
  8. Universal Serial Bus 2.0 IP Core Design
  9. Design and Implementation of USB Controller and General Purpose IO Interface Controller IP Core for SoC
  10. Password Security USB device controller design and implementation of
  11. The Design and Implementation of Embedded USB2.0 Host Controller IP Core
    HuLiQin ·Hunan University ·2009 ·Master's thesis
  12. USB Host Controller IP Core Research and Design
    ShiJunShan ·Chongqing University ·2010 ·Master's thesis
  13. Universal Serial Bus (USB2.0) IP core design
    LvXianWang ·Harbin Institute of Technology ·2009 ·Master's thesis
  14. Design and Implementation Research of Cryptographic Security System of USB Interface
    ZhangYu ·PLA Information Engineering University ·2009 ·Master's thesis
  15. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  16. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  17. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  18. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  19. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  20. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis