Design of USB Communication System Based on FPGA

Author
WuXiaoLu
Advisor
FeiJiYou
School
Dalian Jiaotong University
Major
Mechanical and Electronic Engineering
Classification
TN791 Logic circuits
Degree
Master's thesis
Year
2010
Downloads
610
Citations
6

Request the full text

Abstract

With the continuous improvement of the level of science and technology , digital integrated circuits are widely used. Universal Serial Bus USB ( Universal Serial Bus ) is one of the standard interfaces of the Computer and Peripheral Component Interconnect , is a point-to-point communication interface can simultaneously support multiple peripherals . Very high communication speed of the USB 2.0 specification , the peak of up to 480Mbit / s , so that it has become the most popular peripheral interface standard . FPGA chip is the future trend of development of electronic products , with a USB interface FPGA system will have a good market demand and development prospects . Papers from the study of the structure of the FPGA , the XC3S400 the pin functions in Xilinx company Spartan3F series to understand the FPGA development process , familiar with the USB 2.0 communication protocol and drive some of the basics to start , complete with a USB interface FPGA PCB board production and FPGA 's internal procedures for the preparation and USB firmware development . Combined with the Cypress's host computer, the development of FPGA and PC communication system based on USB interface for data transmission . The thesis the the Xilinx the 3S400 chip of internal structure and function of each pin , designed Xilinx 3S400 minimum system circuit diagram in Xilinx FPGA development environment , the preparation of the FPGA code . Embedded FPGA USB 2.0 kernel expensive production FPGA chip manufacturers need to buy the papers selected external USB chip , despite an increase in the area of ??PCB , but its lower development costs , and the technology is mature , most USB communication researchers studied extensively. In detail , the USB 2.0 communication protocol the CY7C68013 chip Cypress company structure, and firmware development on the basis of , the development of FPGA-based USB and PC communication system , the communication system and PC point-to-point data transmission, provides the basis of the research and production of large quantities of data communications product development .

Table of contents

Abstract 5-6 ABSTRACT 6-10 first chapter 10-12 Chapter chip selection and internal structure 12-22 2.1 FPGA chip selection and internal structure 12-16 2.2 USB chip selection and structure 16-21 2.2. an enhanced 8051CPU 17-18 2.2.2 storage space 18-19 2.2.3 FX2 endpoint buffer 19 2.2.4 I / O system 19-21 Summary 21-22 Chapter III FPGA core board hardware design 22-32 3.1 mains design 22-23 3.2 reset circuit design 23-24 3.3 configuration circuit design 24-25 3.4 USB interface circuit design 25-26 3.5 FPGA Interface Design 26-29 3.6 PCB frequency circuit wiring 29-31 3.6.1 PCB wiring problems solution 29-30 3.6.2 electromagnetic compatibility problems 30-31 Summary 31-32 Chapter USB2 .0 principle introduced 32-42 4.1 USB bus topology 32-33 4.2 USB data flow model 33 4.3 USB 's encoding 33-34 4.4 endpoint 34-35 4.5 field format 35-38 4.5.1 synchronization field (SYNC) 35 4.5.2 packet identifier field (PID) 35-37 4.5.3 address field (ADDR) 37 4.5.4 endpoint field (ENDP) 37 4.5.5 frame number field (frame number) 37 4.5.6 data fields (data) 37-38 4.5.7 cyclic redundancy check field (CRC) 38 4.6 packet Format 38-40 4.6.1 token packet 38 - 39 4.6.2 packet 39 4.6.3 handshake packet 39-40 4.7 transfer type 40-41 chapter Summary 41-42 Chapter V system software development 42-55 5.1 FPGA development process 42-44 5.2 hardware Description Language Introduction 44 5.3 FPGA programming 44-46 5.4 USB firmware programming 46-49 5.4.1 EZ-USB FX2 firmware framework Introduction 47-48 5.4.2 program structure 48-49 5.5 USB driver 49-54 5.5.1 system environment setup 49-50 5.5.2 Visual C development environment setup 50-52 5.5.3 INF file 52-53 5.5 .4 installation process 53-54 Summary 54-55 Conclusion 55-56 References 56-57 < br /> papers published during the master's degree 57-58 Thanks 58-59

Related dissertations

  1. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  2. Usb Without Invasive Data Collection Technology Research
  3. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  4. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  5. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  6. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  7. Design and Implementation of Transport Stream Transmission System Based on FPGA
    NingXin ·Harbin Engineering University ·2013 ·Master's thesis
  8. The Channel Marketing Strategy Research of Data Communications Industry
  9. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  10. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  11. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  12. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  13. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  14. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  15. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  17. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  18. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  19. The Design of Digital Ultrasonic Nondestructive Testing System
  20. Design and Implementation of High Speed Data Recorder Based on FPGA