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
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
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Design and Implementation of Transport Stream Transmission System Based on FPGA
- The Channel Marketing Strategy Research of Data Communications Industry
- 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
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA