The Design and Application of PXI/PCI Bus Device Driver

Author
ZhanJinYong
Advisor
WangGuoYou
School
Huazhong University of Science and Technology
Major
Pattern Recognition and Intelligent Systems
Classification
TP336 Bus channel
Degree
Master's thesis
Year
2011
Downloads
66
Citations
0

Request the full text

Abstract

The PCI bus is a high-performance system local bus, modular instrument platform is the most widely used interface, PXI (PCI eXtension for Instrumentation) bus used in the PC is a specifically tailored for industrial data acquisition and automation applications, Compact PCI specification expansion. In addition to the mechanical, electrical, and other factors, the definition of the core signal is basically the same. The PCI bus clock frequency of 33MHz, bus 32, in the theoretical case can reach 132MB / s transfer speed, outstanding performance in image data acquisition, and industrial control applications. In addition, the address and data lines using time division multiplex mode, which greatly reduces the interface area occupied, various bridge chip bus interface logic IP Core is relatively mature, the PXI / PCI bus used in embedded systems, not complex. PXI / PCI bus device drivers Windows2000/XP platform development with reference to the PCI bus specification, follow Microsoft's WDM (Windows Driver Model) driver model, kernel programming, reasonable access to the PCI device configuration space, ports, memory, DMA, interrupt and other resources in the driver interface provides application access, and ultimately achieve application PCI access equipment, slow with the underlying hardware, a small amount of (single-cycle access) or fast, a lot of (DMA access) data transmission. In this article, the device drivers were used in two projects, a real-time image acquisition hardware debugging system based on PXI bus, another PXI / PCI bus-based MIC communications module development. PCI9054 bridge chip, the local connection to the host interface, and the other end of the DSP chip in the real-time image acquisition hardware debugging system based on PXI bus project, directly connected with the PXI bus driven programming, provided to the application to access the underlying hardware interface. Data transmission to achieve a single-cycle read and write access to data on the underlying hardware and DMA transfers. On this basis, based on Microsoft's MFC write PC software, the DSP program loading, image acquisition, algorithm selection, algorithm parameters modify joint commissioning. Form of IP Core PXI / PCI bus-based the MIC communications module in the FPGA directly connected with the PXI / PCI bus interface logic configured to 32 mode, at the same time according to the needs of the resources of the underlying hardware, a reasonable set the IP Core resource parameters. -Driven programming, compared with PCI9054 driver, modify PCI equipment resources for part of the code, and modify the application calls the driver interface code, write test software, the successful implementation of the access to the underlying hardware resources. On this basis, the preparation of PC control software, MIC mode of communication module configuration data generated and saved in a variety of operating modes, various modes of data access, and ultimately the various modes applicability command / response communication test.

Table of contents

Summary 4-6 ABSTRACT 6-10 1 Introduction 10-22 1.1 research status 10-11 < br /> 1.2 PXI / PCI bus concept and characteristics 11-13 1.3 PXI / PCI bus interface technology 13-18 1.4 PXI / PCI bus topics application 18-20 1.5 the main work 20-22 2 WINDOWS environment PXI / PCI device driver design 22-49 <br / > 2.1 driver basic concepts 23-25 ?? 2.2 driver object data structure 25-29 2.3 driver framework 29-42 2.4 driver development environment , language , compile , install and test the 42-46 2.5 application calls the driver and packaging 46-48 2.6 of this chapter Summary 48-49 PXI bus - based real-time image acquisition and hardware debug systems design 49-67 3.1 system platform hardware block diagram 49-55 < br / > 3.2 image acquisition driver design 55-58 3.3 host computer debugging application software design 58-66 3.4 Chapter Summary 66-67 < br / MIC communication module based on PXI / PCI bus 67-87 4.1 system hardware design the 67-69 4.2 FPGA logic design 69-78 4.3 PXI / PCI device drivers 78-80 4.4 MIC communication module soft front panel design 80-83 4.5 command / response communications test 83 - 85 4.6 Chapter Summary 85-87 Conclusion 87-88 Acknowledgements to References 88-89 89 -92 Appendix pursue a degree published catalog 92

Related dissertations

  1. The Rearch of MIC Bus Controller Based on FPGA
  2. Synthetic aperture radar and display real-time imaging technology research master
    WangZhaoKai ·Institute of Electronics ·2007 ·Master's thesis
  3. Design of Control System to Hollow Spindle and Ring Spindle Fancy Spinning Frame Based on PCI Bus
    ShangJiHui ·Donghua University ·2008 ·Master's thesis
  4. Research on Fly-By-Light Control System Based on PCI Bus
  5. Computer Excitation Control System Driver Exploiture Based on PCI Bus
    ZuoJianJun ·Chongqing University ·2003 ·Master's thesis
  6. DSP-based dynamic signal analysis system
    WuJingQi ·Zhejiang University ·2003 ·Master's thesis
  7. Based on the PCI bus speed data recording systems research and implementation
  8. DDR PCI-based and fiber-optic interfaces CCD camera image acquisition system design
  9. Study of PC-Based CNC System on Welding
    SuHuiLin ·Taiyuan University of Technology ·2006 ·Master's thesis
  10. PCI Sound Card WDM driver research and design
  11. PCI bus - based data acquisition and processing system
    SongWanGuang ·Daqing Petroleum Institute ·2006 ·Master's thesis
  12. Development of 48-Channel Collected Seismic Recorder
    LiXiaoXu ·Jilin University ·2006 ·Master's thesis
  13. Digitized Tchnical Rsearch of the Analog Imaging Sonar
    ZhaoZuo ·Harbin Engineering University ·2005 ·Master's thesis
  14. The DSP BHPC system data inline and drive technology
  15. Research & Development of Multi-axis Motion Controller Based on PCI Bus
    LiHongYu ·Jilin University ·2005 ·Master's thesis
  16. Design of MIC Bus Controller Model on PXI Bus
  17. Design the Master Control Board of Hf Channel Simulator Based on PXI Bus
  18. Design of an Automatic Test System for Radar
    LiangYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. The Design and Research of PCI Data Acquisition Card Based on FPGA
  20. A Study on the Implementation of High Data Acquisition Module Based on PXI Bus