Research on Serial Bus Architecture and USB Application
- Author
- ZhangDeYun
- Advisor
- GaoMingLun
- School
- Hefei University of Technology
- Major
- Theory and New
- Classification
- TP336 Bus channel
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 305
- Citations
- 8
Abstract
Generation serial bus having a transmission line is small, speed, etc. , widely used in the computer system and the communication apparatus . Universal Serial Bus (USB) is one of the currently popular peripheral bus , with fast , hot-swappable, easy to extend , by bus-powered , and the use of flexible , in the field of computer peripherals and consumer electronics is gaining more and more applications . In this thesis, Universal Serial Bus System Architecture , and then on to a new generation of high-speed , integrated , intelligent serial bus structure parsing , with reference to the international standards organization open Interconnection Reference Model proposed hierarchical structure of a new generation of high-performance serial bus , and finally to the Universal Serial bus (USB) , for example, tells the USB system architecture USB hierarchical structure model , and USB device framework . Combined with USB 1.x specification based on the contents of the above study , the author designed the the key hardware circuit of USB devices : serial interface engine SIE and parallel interface engine PIE ; according to the hardware circuit and USB firmware framework , users can easily development of USB peripherals .
Table of contents
The first chapter 15-25
1.1 computer bus technology the 15-18 1.1.1 Overview of computer bus
15
1 .1.2 computer system bus 15-16
1.1.3 USB bus Introduction 16-18
1.1.3.1 USB Development course the USB main feature 16-17
1.1.3.2 17-18
1.2 Serial Bus System Architecture 18-19 < br /> 1.2.1 serial bus system structure 18-19
1.3 USB bus system architecture 19-23
1.3.1 USB bus topology the 19-20 1.3.2 USB host
20-21
1.3.3 USB devices 21-22 <br / the> 1.3.4 USB hub 22-23
1.4 topics sense 23
1.5 paper structure 23-25 ??<br / the framework of the second chapter hierarchical serial bus communication and communication equipment end 25-55
2.1 Serial Bus hierarchical 25-26
2.2 USB data flow model 26-41
2.2.1 USB device framework 26-28
2.2.1.1 USB bus interface layer 27
2.2.1.2 USB device layer 27
2.2.1.3 functional layer 27-28
2.2.2 USB communication flow 28-31
2.2.2.1 USB endpoint 29-30
2.2.2.2 channel 30-31 <br / > 2.2.2.2.1 circulation Road 30
2.2.2.2.2 news channel 30-31
2.2.3 transmission type 31-37
2.2.3.1 Control Transmission 31-33
2.2.3.2 synchronous transmission 33-34 <br / > 2.2.3.3 interrupt transmission the batch transmission 34-36
2.2.3.4 36-37
2.2.4 transmission bus access 37-41
2.2.4.1 transport management 37-39
the 2.2.4.1.1 client software 38 <br / > 2.1.4.1.2 USB drivers 38-39
2.1.4.1.3 host controller driver 39
2.1 nbsp list of .4.1.4 Affairs; 39
of 2.1.4.1.5 host controller 39
2.1.4.2 Transaction Tracking 39-40
2.2.4.3 Calculation bus transaction time 40-41
2.2.4.4 The calculated buffer size of the application layer and the host software 41
2.2.4.5 bus bandwidth restitution 41
2.3 USB device architecture 41-54
2.3.1 USB device status and its conversion 41-43
2.3.1.1 external device status the 41-42
2.3.1.2 buses, cited 42 -43
2.3.2 the Universal USB devices operating 43-44
2.3.3 USB device requests 44-45
2.3.4 standard device requests 45-49
2.3.4.1 clear characteristics (CLEAR_FEATURE ()) 46-47
2.3.4.2 for configuration (GET_CONFIGURATION ()) 47
2.3.4.3 to obtain the device descriptor (GET_DESCRIPTORO) 47
2.3.4.4 achieved a interface settings (GET_INTERFACE ()) 47
2.3.4.5 to obtain state (GET_STATUS ()) 47-48
2.3.4.6 to set the address (SET_ADDRESS ()) nbsp 48
2.3.4.7 set configuration values ??(the doing a SET_CONFIGURATION ()); 48
2.3.4.8 set the descriptor (SET_DESERIPTOR ()) 48
2.3.4.9 setting characteristics (SET_FEATURE ()) 48
2.3.4.10 set interface (the SET_INTERFACE ()) 48 <br / > 2.3.4.11 synchronization frame (SYNCH_TRAME ()) 48-49
2.3.5 descriptor and standard device descriptor 49-54
the .3.5.1 standard device descriptor 49-50
2.3.5.2 standard equipment configuration descriptor 50-51
2.3.5. the 3 interface descriptor and endpoint descriptors 51-53
2.3.5.4 string descriptor 53-54
2.4 Summary 54 -55
Chapter III USB hardware / software design to achieve 55-88
3.1 USB, a brief overview of the protocol 55-57
3.2 USB serial interface engine SIE 57-73
3.2.1 Non-Return to Zero flip NRZI encoding and decoding circuit design 57-60
3.2.1.1 non-return-to-zero flip encoder circuit design 59
3.2.1.2 non-return-to-zero flipping decoding circuit design 59-60
3.2.2 clocks, data recovery CDR circuits the 60-65 packet processing
3.2.3 65-68
3.2.4 CRC codec circuit design 68-72
3.2.4.1 CRC algorithm principle 69-70
3.2.4.2 USB CRC hardware circuit 70-72
3. 2.5 USB reset, suspend, resume and remote wake 72-73
3.2.5.1 USB bus reset 72
3.2. 5.2 suspend and restore 72-73
3.2.5.4 USB device control process 73
3.3 parallel interface engine PIE key components 73-78
3.3.1 endpoint buffer needs to be designed for the the asynchronous FIFO reason 74-75
3.3.2 asynchronous FIFO design difficulties 75
3.3.3 empty / full status flag signal generated the pointers 75-76
3.3.4 Synchronization 76
3.3 .5 binary pointer and Gray code pointer 76-78
3.3.6 asynchronous FIFO hardware circuit 78
3.4 USB device side software design 78-87
3.4.1 USB device firmware architectural overview 78-80
3.4.2 firmware architecture establishment 80
.4.3 firmware architecture Vice function hooks 80-86
3.4.3.1 distributor nbsp a; 80-81
3.4.3.2 Equipment request (device request) 81-83
3.4.3.3 USB interrupt service routine the 83-86
3.4.4 Descriptor Table 86
3.4.5 firmware library 86-87
3.4.5.1 subfunction nbsp to; 86-87
3.5 Summary 87-88
Chapter validation 88-102
4.1 USB IP core FPGA design flow 88-92
4.2 USB IP soft-core software simulation 92-94
4.3 hardware simulation test 94-101
4.3.1 device enumeration 94-98 < br /> 4.3.1.1 driver selection 94-97
4.3.1.2 device enumeration process 97-98
4.3. 2 USB I / O peripherals 98-101
4.3.2.1 firmware design 98-100
4.3.2.2 Windows program, VB design 100
4.3.2.3 INF file design 100-101
4.4 Summary 101-102
Chapter V Summary and Outlook 102-103
5.1 summarizes 102
5.2 Looking 102-103
Reference 103 - 105
Related dissertations
- Design of RS-485 bus communication system based on the distributed multi
- Study of Data Transmission System Based on USB2.0and FPGA
- 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
- USB Interface Technology and Application Study
- 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