Study of Data Transmission System Based on USB2.0and FPGA
- Author
- ShiPeng
- Advisor
- LiuKeWen , LiuChaoYang
- School
- Wuhan University of Technology
- Major
- Electronics and Communication Engineering
- Classification
- TN919.3 Data transmission technology
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 280
- Citations
- 0
Abstract
In nuclear magnetic resonance spectrometer, usually use CAN bus for high-speed data transmission. CAN bus has the advantages of easy to use, high data reliability, But with the increasing of nuclear magnetic resonance spectrometer’s resonance frequency in the study, CAN bus IMbps transmission speed has gradually become a bottleneck to limit the system of data transmission, but USB2.0interface technology has up to480Mbps transfer rate, with High reliability of data transmission,which is fully able to meet the increasing frequency of nuclear magnetic resonance spectrometer data collection and transmission requirements.USB is the most widely used computer peripheral interface standard, with the advantages of Plug and Play, high-speed transfer rate and so on. Cypress company’s EZ-USB FX2series chip integrated USB2.0transceiver,enhanced8051microcontroller, serial interface engine, and programmable external interfaces in a single-chip, with the FPGA for the control of external logic, they can constitute a high-speed data transmission systemIn this paper, I’m on the basis of in-depth understanding of the USB2.0protocol,use EZ-USB FX2chip and the EP1C6FPGA chip build a hardware platform, design a data transmission system based on USB2.0and FPGA with the combination of hardware and software, achieve the data transmission based on the SLAVE FIFO mode and GPIF mode between the EZ-USB FX2chip and FPGA, and test the speed, and hope this study can be applied in the data transmission system of nuclear magnetic resonance spectrometer in the future. The main work done in this paper can be summarized as follows:(1) Study the USB bus protocol In-depth, to lay a theoretical foundation for the design of the data transmission system.(2) On the basis of deep understanding of the USB2.0specification, overally design data transmission system from hardware platforms and software modules.Use the EZ-USB FX2chip and the EP1C6the FPGA chip to build a hardware platform, And plan a system of three software modules:USB firmware, FPGA logic program and the host computer applications program.(3) Use Cypress USB device firmware development package framework to prepare the USB firmware, use the VHDL hardware description language write the external logic control program, finally, use VC++to write PC applications, and control operation via a PC application interface,realize high-speed data transmission by SLAVE FIFO mode and GPIF mode ultimatly and conducta speed test.The final results show that the data transmission system based on USB2.0and FPGA is fully capable of performing high-speed data transmission,which is for this technology used in nuclear magnetic resonance spectrometer data acquisition and transmission system provides a good guide and reference in the future.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-14
1.1 research background 9 - significance 10
1.2 topics 10-12
1.3 research papers and chapters arrangements 12-14
Chapter 2 USB bus interface technology 14-20
2.1 USB bus structure 14-16
2.1.1 USB topology 14-15
2.1.2 USB hierarchical structure 15-16
2.2 USB physical interface 16-18
2.2.1 USB electrical characteristics 16-17
2.2.2 USB 's power 17-18
2.3 USB bus protocol 18
2.4 USB data transfer types 18-19
2.5 Summary the overall design 19-20
Chapter 3 data transmission system 20-37 hardware
3.1 system construction 21-30
3.1.1 USB chip selection structure and characteristics 21-22
3.1.2 FX2 chip 22-25
3.1.3 FX2 endpoint buffer 25-26
3.1 .4 FX2 interface mode 26
enumeration and re-enumeration nbsp 3.1.5 FX2 's ; 26-27
3.1.6 FPGA chip select 27 - 28
hardware connections 3.1.7 system 28-29
hardware platform 3.1.8 system 29-30
3.2 system software design 30-36
3.2.1 USB firmware module 31-34
3.2.2 FPGA logic module 34-35
3.2.3 PC applications module 35-36
3.3 Summary achieve 36-37
Chapter 4 data transmission system 37-61
4.1 system development environment and implementation achieve 37-38
4.2 SLAVE FIFO transfer mode 38-47
4.2.1 firmware 39-42
4.2. send two data receiving 42-45
4.2.3 data 45-47
achieve 4.3 GPIF transfer mode 47-57
4.3 .1 firmware 48-52
4.3.2 send data 52-54
receives 4.3.3 data 54-57
4.4 system transmission rate test 57-60
4.5 summary 60-61
Chapter 5 summary and Outlook 61-63
5.1 summarizes papers 61-62
5.2 next research 62-63
Thanks 63-64
References 64-66
Related dissertations
- USB Interface Technology and Application Study
- Design of RS-485 bus communication system based on the distributed multi
- Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
- The Software Development on Interface System of Imaging Tracker Capability Evaluation System
- Data Acquisition and Signal Processing Based on USB2.0
- The Research and Design of LCD Figure and Character Display System Based on USB
- Research and Design of Data Acquisition System Based on USB
- On-line Signature Data Collection and USB Communication
- Research and Develop Dynamic Signal Analyzer Based on USB2.0
- Research on USB Protocol and USB Interface Drivers
- Realization of intelligent instrument system based on embedded Linux and USB communication
- Vehicle traveling data recorder
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- The Design and Implementation of the Small Integrative PLC System