USB Interface Technology and Application Study

Author
LiChunBiao
Advisor
GuHong
School
Nanjing University of Technology and Engineering
Major
Communication and Information System
Classification
TP336 Bus channel
Degree
Master's thesis
Year
2004
Downloads
1,000
Citations
23

Request the full text

Abstract

USB (Universal Serial Bus) is a new standard interface to connect PC and peripherals, Nowadays it is used frequently in PC peripherals. Establishing radar system net is a trend of radar development, enhancing the ability of communication between radar in existence and computer is the base for radar system net. Considering the need of radar data acquisition and data transfers, we carry the design of hardware and software based on USB into execution. This dissertation is subjected to achieving the communication between PC and peripherals, through the design and implementation of USB test system, so as to know the inherent mechanism of USB communication. Then, we also develop a data acquisition system based on USB. After designing and achieving these two USB application systems, we are sure to grasp the USB interface technology.After introducing the USB protocol, we first come out the hardware designs of USB test system and USB acquisition system, and then discuss in detail the design of firmware for USB implementation system, finally we discuss the development of the driver and application.

Table of contents

1 Introduction purpose and significance of 9-14 1.1 research topic 9 1.2 topics background 9-12 1.2.1 USB development context 9-10 1.2.2 USB bus performance 10-11 1.2.3 USB advantage 11-12 1.2.3.1 tradition the I / O mode and USB mode 11 1.2.3.2 USB advantage application nbsp 11-12 1.3 USB interface technology ; 12-13 <br / > 1.3.1 select the USB interface technology 12 1.3.2 to interconnect peripherals via USB and PC 12-13 1.4 content and organization of this article 13-14 2 USB communication protocol 14-23 2.1 USB system Architecture Overview 14-17 2.1.1 USB system constitutes 14 - 15 2.1.2 USB bus interface layer 15 2.1.3 USB device layer 15-16 2.1.4 functional layer 16-17 2.1.5 traffic 17 2.2 USB data flow model and endpoints , pipes 17-20 2.2.1 USB communication system data flow 17 2.2.2 endpoint , pipe 17-20 2.2.2.1 endpoint and pipe model 17-18 2.2.2.2 device endpoint meaning connotation 18-19 2.2.2.3 pipeline coupling 19 2.2.2.4 endpoint and pipe 19-20 2.3 USB transmission levels and transfer movement 20-21 2.4 data transaction (transaction ) and data transmission 21-22 2.5 Summary 22-23 3 USB hardware system hardware design 23-36 3.1 USB experimental system 23-25 ?? experimental system consisting 3.1.1 USB 23-24 function 3.1.2 USB experimental system 24-25 hardware design 3.2 USB data acquisition system 25-27 composed 3.2.1 USB data acquisition system 25 3.2.2 USB data acquisition system circuit module 25-27 3.3 USB controller PDIUSBD12 27-34 3.3.1 PDIUSBD12 the USB features summary 27-28 3.3.2 PDIUSBD12 pin configuration 28-30 3.3.3 PDIUSBD12 structure and function 30-31 3.3.3.1 analog transceiver 30 3.3.3.2 voltage regulator 30 3.3.3.3 PLL 30-31 3.3.3.4 bit clock recovery 31 3.3.3.5 PHILIPS serial Interface Engine (PSIE) 31 3.3.3.6 memory Management Unit (MMU) and integrated RAM 31 < br /> 3.3.3.7 parallel and DMA interface 31 3.3.4 PDIUSBD12 endpoint 31-32 3.3.5 PDIUSBD12 read and write commands Profile 32 - 33 3.3.5.1 initialization commands 32-33 3.3.5.2 data Flow command 33 3.3.5.3 General Commands 33 3.3.6 PDIUSBD12 typical connection 3.4 choose a principle 33-34 USB controller chip 34-35 3.4.1 a USB controller type and composition 35 3.4.2 chip selection principle 35 3.5 Summary 35-36 4 firmware design and development 36 - 57 4.1 USB firmware Overview 36-37 4.1.1 firmware connotation 36 4.1.2 firmware work 36-37 <br / > 4.2 firmware programming strategy 37-38 4.3 firmware structure 38-39 4.4 USB application system firmware programming 39-54 4.4.1 Taiwan before and after the program 's communication tools: two important data structures 39-42 4.4.1.1 USB event flags of the Commonwealth 39-40 4.4.1.2 data buffer structure 40-42 4.4.2 firmware foreground : the main loop 42-44 4.4.3 firmware background : interrupt service routine 44 -47 4.4.3.1 control endpoint handler 45-47 4.4.3.2 common endpoint handler 47 realize 4.4.4 protocol layers : standard device requests and vendor requests relations 47-52 4.4.4.1 USB standard device requests and control the transmission of 47-48 4.4.4.2 USB device descriptor programming 48-51 4.4.4.3 protocol layers 51-52 4.4.5 firmware at the bottom : the hardware abstraction layer 52-53 4.4.6 on PDIUSBD12 manipulation : PDIUSBD12 command interface 53-54 4.4.6.1 initialization commands 53 4.4.6.2 data Flow command 53-54 4.4.6.3 General Commands 54 4.5 USB device enumeration process 54-56 4.6 Summary 56-57 5 USB device driver application development 57-66 5.1 device driver summary 57-59 5.1.1 device drivers and applications relations 57 5.1. role USB 2 device drivers and system software division 57-59 5.2 WDM device Driver Profile Features 59-61 5.2.1 WDM device driver and composition 59-60 composition nbsp 5.2.2 WDM device driver ; 60-61 5.3 USB driver development 61-63 5.3. 1 initialize the device 62 5.3.2 URB packet structure and downstream 62 5.3.3 data processing 62-63 5.4 USB applications programming 63-65 5.4.1 Find equipment, access device path name 63-64 5.4.2 open Device 64 5.4. 3 reader USB device 64 5.4.4 Close communication 64 5.4.5 design a simple and friendly interface 64-65 5.4. 6 based on the dynamic link library application development 65 5.5 Summary 65-66 Conclusion 66-67 Thanks 67 -68 reference table 68

Related dissertations

  1. Study of Data Transmission System Based on USB2.0and FPGA
    ShiPeng ·Wuhan University of Technology ·2012 ·Master's thesis
  2. Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
    LiMingLi ·Hebei University of Technology ·2007 ·Master's thesis
  3. Research on USB Protocol and USB Interface Drivers
  4. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  5. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  6. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  7. Research on the Digital Broadband Electromagnetic Tomography System
    ChenGuang ·Tianjin University ·2010 ·Doctoral dissertation
  8. Embedded Linux-based USB Encryption Driver Design
  9. Design and Implementation of Multi-channel Analog and Digital Data Hybrid Acquisition Device
    CuiZuo ·University of North ·2014 ·Master's thesis
  10. Design and Implementation of TEM High-speed Acquisition System Based on FPGA
    HuZiJun ·Central South University ·2013 ·Master's thesis
  11. The Reseach of Isolation Technology in the Multi-channel Data Acquisition System
    LiZhu ·University of North ·2012 ·Master's thesis
  12. The Research and Design of Data Acquisition System Based on USB
  13. High Definition Multichannel Analog Signal Input/Output System
  14. Design of Data Collecting System Based on ARM
    JinChunGuang ·Yangtze University ·2013 ·Master's thesis
  15. Design of the High Speed Data Acquisition System Based on USB2.0
  16. Design and Implementation of High-speed Data Acquisition System Based on FPGA
  17. CANopen gate winding hoist machine experiment platform based on design and research
  18. Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
    XingYan ·Jilin University ·2012 ·Master's thesis
  19. Design of a Control System Based on USB Interface
    ZhuJing ·Suzhou University ·2012 ·Master's thesis
  20. Software Design of Digital TV Receiver Based on USB2.0Technology
    WangJingHui ·Zhejiang University of Technology ·2012 ·Master's thesis