ADLINK Technology PCI-7200 Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Cyfrowe i analogowe moduły I / O ADLINK Technology PCI-7200. ADLINK Technology PCI-7200 Specifications Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 91
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
PCI-7200 / cPCI-7200
12MB/S High Speed
Digital Input/ Output Card
Przeglądanie stron 0
1 2 3 4 5 6 ... 90 91

Podsumowanie treści

Strona 1 - PCI-7200 / cPCI-7200

PCI-7200 / cPCI-720012MB/S High SpeedDigital Input/ Output Card

Strona 3

Introduction •• 11IntroductionThe PCI-7200/cPCI-7200 is PCI/CompactPCI form factor high speeddigital I/O card, it consists of 32 digital input channel

Strona 4

2 •• IntroductionSoftware Supporting: There are several software options help you getyour applications running quickly and easily.1. Linking with data

Strona 5 - CONTENTS

Introduction •• 3• 4 auxiliary digital input and output channels (cPCI-7200 only)• Diode terminators for 32 input channels and control signals(cPCI-72

Strona 6

4 •• Introduction• Storage Temperature: -20° C ~ 80° C• Humidity: 5 ~ 95%, non-condensing• Connector:PCI-7200: one 37-pin D-type and one 40-pin ribbon

Strona 7 - Contents •• iii

Installation •• 52InstallationThis chapter describes how to install the PCI-7200. At first, the content ofthe package and the unpacking information th

Strona 8

6 •• Installation2.2 UnpackingYour PCI-7200 card contains sensitive electronic components thatcan be easily damaged by static electricity.The card sho

Strona 9 - How to Use This Guide

Installation •• 7Choose the default option “Driver from disk provided by hardwaremanufacturer” and then a dialog box is shown to prompt you givethe pa

Strona 10

8 •• Installation2.4 PCI-7200’s LayoutCN1PCI-7200 Rev A1CN2ALTERAPCI -BusController. .. .. .. .. .. .. .. .. .. .. .. .. ..

Strona 11 - Introduction

Installation •• 9Figure 2.1a PCI-7200 Layout Diagram

Strona 13 - 1.3 Specifications

10 •• Installation2.5 PCI-7200 Installation Outline2.5.1 Hardware configurationBecause PCI-7200 is a plug and play device, the interrupt numberand I/O

Strona 14 - 4 •• Introduction

Installation •• 112.5.4 Running the 7200UTIL.EXEThe IRQ number and I/O port address can be configured by thesystem. By using the 7200UTIL.EXE, you can

Strona 15 - Installation

12 •• Installation13579111921232527291315173133353724681012141618222426282032343630DI 17DI 18DI 19DI 20DI 28DI 29DI 30DI 31+5VO_ACKO_REQDO16DI 1639384

Strona 16 - 2.2 Unpacking

Installation •• 132.6.2 cPCI-7200 Pin Assignment(1)(2)(3)(52)(53)(51)(48)(49)(50)(98)(99)(100)2.7 8254 for Timer Pacer GenerationTimer 0Timer 1Timer 2

Strona 17 - Installation •• 7

14 •• InstallationThe internal timer/counter 8254 on the PCI-7200 is configured asabove diagram (figure 2.4). User can use it to generate the timerpac

Strona 18 - 2.4 PCI-7200’s Layout

Register Structure & Format •• 153Register Structure & Format3.1 I/O Registers FormatThe PCI-7200 occupies 8 consecutive 32-bit I/O addresses

Strona 19 - Installation •• 9

16 •• Register Structure & Format3.2 Digital Input Register (BASE + 10)32 digital input channels can be read from this registerAddress: BASE + 10A

Strona 20 - 10 •• Installation

Register Structure & Format •• 173.4 DIO Status & Control Register (BASE + 18)The data transfer mode of digital input is controlled and status

Strona 21 - 2.6 Connector Pin Assignment

18 •• Register Structure & Format1: I_TRG is Rising Edge Active0: I_TRG is Falling Edge ActiveI_TRG: External Trigger Enable1: Wait until I_TRG si

Strona 22 - 12 •• Installation

Register Structure & Format •• 19 O_TRG: Digital Output Trigger Signal This bit is used to control the O_TRG output of PCI-7200,

Strona 23 - 4MHz Clock

@Copyright 1999 ADLink Technology Inc.All Rights Reserved.Manual Rev. 2.10: September 16, 1999The information in this document is subject to change wi

Strona 24 - 14 •• Installation

20 •• Register Structure & Format♦♦ Interrupt Control:In PCI-7200, the interrupt can be triggered by many signalsources such as O_ACK, I_REQ, tim

Strona 25 - 3.1 I/O Registers Format

Register Structure & Format •• 21SI_T0: Status of timer 0 interrupt1: OUT0 (output of timer 0) Interrupt occurred0: No timer 0 InterruptSI_T1: Sta

Strona 26

22 •• Register Structure & Format♦♦ I_REQ Polarity Selection:When the input sampling is controlled by the I_REQ signalonly, the I_REQ can be prog

Strona 27 - Base +21

Operation Theorem •• 234Operation TheoremIn PCI-7200, there are four data transfer modes can be used for digitalI/O access and control, these modes ar

Strona 28

24 •• Operation TheoremThe digital OUT operation is:outport (BASE+14, 0xAAAAAAAA ) // (A : 0 ~ F)The digital IN operation is:value = inport (BASE+10

Strona 29 - Base +1F

Operation Theorem •• 25The operation sequences are:1. Define the frequency (timer pacer rate)2. The digital input data are saved in FIFO after a timer

Strona 30

26 •• Operation Theorem4.3 External Clock ModeThe digital input is clocked by external strobe, which is from the Pin19 (I_REQ) of CN2 (PCI-7200) or Pi

Strona 31

Operation Theorem •• 274.4 HandshakingIn PCI-7200, it also supports a handshaking digital I/O transfermode. That is, after input data is ready, an I_R

Strona 32

28 •• Operation TheoremO_REQ & O_ACK for Digital Output1. Digital Output Data is moved from PC memory to FIFO of PCI-7200 by using DMA data master

Strona 33 - Operation Theorem

Operation Theorem •• 294.5 Timing Characteristic1. I_REQ as input data strobe (Rising Edge Active)IN_REQthtltcycvalid datavalid datatstnDI0~DI31th 60

Strona 34 - 4.2 Timer Pacer Mode

Getting service from ADLink Technology. Inc.Customer satisfaction is always the most important thing forADLink Tech. You can get more information and

Strona 35 - PC's Main Memory

30 •• Operation Theorem3. I_REQ & I_ACK HandshakingIN_REQt1t2t3valid datavalid datat5t4DI0~DI31t1 0nst5 60nst2 0nst4t32 PCI CLK Cycle IN_ACK1 PCI

Strona 36 - 26 •• Operation Theorem

Operation Theorem •• 315. O_REQ & O_ACK HandshakingOUT_REQt1t3valid dataDO0~Do31t1 19nst3t21 PCI CLK Cycle OUT_ACK5 PCI CLK Cycle valid datat2Not

Strona 38 - 28 •• Operation Theorem

C/C++ & DLL Libraries •• 335C/C++ & DLL LibrariesIn this chapter, the PCI-7200's software drivers: C/C++ language libraryfor DOS and DLL

Strona 39 - Operation Theorem •• 29

34 •• C/C++ & DLL Libraries♦♦ Windows 95/98 Installation:1. Put the ADLink’s “All-in-one” CD into the appropriate CD drive.2. If autorun setup

Strona 40 - 30 •• Operation Theorem

C/C++ & DLL Libraries •• 355.2 Running Testing Utility (7200UTIL.EXE)After finishing the installation of PCI-7200 DOS software, you canexecute the

Strona 41 - Operation Theorem •• 31

36 •• C/C++ & DLL Libraries5.3 Software Driver Naming ConventionThe functions of PCI-7200's software drivers are using full-names torepresent

Strona 42

C/C++ & DLL Libraries •• 37@ SyntaxVisual C++ (Windows 95/98)int W_7200_Initial (U8 card_number, U16 *base_addresss, U8*irq_no)Visual Basic (Windo

Strona 43 - C/C++ & DLL Libraries

38 •• C/C++ & DLL Libraries5.5 _7200_Switch_Card_No@ DescriptionAfter initialized more than one PCI-7200 cards, this function is usedto select whi

Strona 44

C/C++ & DLL Libraries •• 395.6 _7200_AUX_DI@ DescriptionRead data from auxiliary digital input port of cPCI-7200 card. Youcan get all 4 bits input

Strona 45

Contents •• iCONTENTSCONTENTS ...iHow to Use This Guide... vC

Strona 46 - 5.4 _7200_Initial

40 •• C/C++ & DLL Libraries5.7 _7200_AUX_DI_Channel@ DescriptionRead data from auxiliary digital input channel of cPCI-7200 card.There are 4 digit

Strona 47

C/C++ & DLL Libraries •• 415.8 _7200_AUX_DO@ DescriptionWrite data to auxiliary digital output port. There are 4 auxiliary digitaloutputs on the c

Strona 48 - 5.5 _7200_Switch_Card_No

42 •• C/C++ & DLL Libraries5.9 _7200_AUX_DO_Channel@ DescriptionWrite data to auxiliary digital output channel (bit). There are 4auxiliary digital

Strona 49 - 5.6 _7200_AUX_DI

C/C++ & DLL Libraries •• 435.10 _7200_DI@ DescriptionThis function is used to read data from digital input port. There are32-bit digital inputs on

Strona 50 - 5.7 _7200_AUX_DI_Channel

44 •• C/C++ & DLL Libraries5.11 _7200_DI_Channel@ DescriptionThis function is used to read data from digital input channels (bit).There are 32 dig

Strona 51 - 5.8 _7200_AUX_DO

C/C++ & DLL Libraries •• 455.12 _7200_DO@ DescriptionThis function is used to write data to digital output port. There are 32digital outputs on th

Strona 52 - 5.9 _7200_AUX_DO_Channel

46 •• C/C++ & DLL Libraries5.13 _7200_DO_Channel@ DescriptionThis function is used to write data to digital output channels (bit).There are 32 dig

Strona 53 - 5.10 _7200_DI

C/C++ & DLL Libraries •• 475.14 _7200_Alloc_DMA_Mem@ DescriptionContact Windows 95/98 system to allocate a block of contiguousmemory for single-bu

Strona 54 - 5.11 _7200_DI_Channel

48 •• C/C++ & DLL Librariesactual_size: The actual size system allocate for DMA memory.The unit is BYTE. If system is not able to get a blockof co

Strona 55 - 5.12 _7200_DO

C/C++ & DLL Libraries •• 495.15 _7200_Free_DMA_Mem@ DescriptionDeallocate a system DMA memory under Windows 95/98environment. This function is onl

Strona 56 - 5.13 _7200_DO_Channel

ii •• ContentsCHAPTER 4 Operation Theorem ... 234.1 Direct Program Control ...234

Strona 57 - 5.14 _7200_Alloc_DMA_Mem

50 •• C/C++ & DLL Libraries5.16 _7200_Alloc_DBDMA_Mem@ DescriptionContact Windows 95/98 system to allocate a block of contiguousmemory as circular

Strona 58

C/C++ & DLL Libraries •• 515.17 _7200_Free_DBDMA_Mem@ DescriptionDeallocate a system circular buffer DMA memory under Windows95/98 environment. Th

Strona 59 - 5.15 _7200_Free_DMA_Mem

52 •• C/C++ & DLL Libraries5.18 _7200_DI_DMA_Start@ DescriptionThe function will perform digital input N times with DMA data transferby using one

Strona 60 - 5.16 _7200_Alloc_DBDMA_Mem

C/C++ & DLL Libraries •• 532. Load the PCI controller with the count and 32-bit physicaladdress of the start of previously allocated destinationme

Strona 61 - 5.17 _7200_Free_DBDMA_Mem

54 •• C/C++ & DLL Libraries@ SyntaxVisual C++ (Windows 95/98)int W_7200_DI_DMA_Start (U8 mode, U32 count, U32 handle,Boolean wait_trg, U8 trg_pol,

Strona 62 - 5.18 _7200_DI_DMA_Start

C/C++ & DLL Libraries •• 55di_buffer (DOS): If double buffer mode is disabled, this is the startaddress of the memory buffer to store the DI data.

Strona 63

56 •• C/C++ & DLL Libraries5.19 _7200_DI_DMA_Status@ DescriptionSince the _7200_DI_DMA_Start function is executed inbackground, you can issue this

Strona 64

C/C++ & DLL Libraries •• 575.20 _7200_DI_DMA_Stop@ DescriptionThis function is used to stop the DMA data transferring. Afterexecuting this functi

Strona 65

58 •• C/C++ & DLL Libraries5.21 _7200_DblBufferMode@ DescriptionThis function is used to enable or disable double buffer mode forDMA DI operation.

Strona 66 - 5.19 _7200_DI_DMA_Status

C/C++ & DLL Libraries •• 595.22 _7200_CheckHalfReady@ DescriptionWhen you use _7200_DI_DMA_Start to sample digital input data anddouble buffer mod

Strona 67 - 5.20 _7200_DI_DMA_Stop

Contents •• iii5.26 _7200_DO_DMA_Status...645.27 _7200_DO_DMA_Stop...

Strona 68 - 5.21 _7200_DblBufferMode

60 •• C/C++ & DLL Libraries5.23 _7200_DblBufferTransfer@ DescriptionUsing this function to copy the input data in the circular buffer to thetransf

Strona 69 - 5.22 _7200_CheckHalfReady

C/C++ & DLL Libraries •• 615.24 _7200_GetOverrunStatus@ DescriptionWhen you use _7200_DI_DMA_Start to convert Digital I/O data withdouble buffer m

Strona 70 - 5.23 _7200_DblBufferTransfer

62 •• C/C++ & DLL Libraries5.25 _7200_DO_DMA_Start@ DescriptionThe function will perform digital output N times with DMA datatransfer by using the

Strona 71 - 5.24 _7200_GetOverrunStatus

C/C++ & DLL Libraries •• 63handle (Win 95/98): the handle of system DMA memory. InWindows 95 environment, before callingW_7200_DO_DMA_Start,W_7200

Strona 72 - 5.25 _7200_DO_DMA_Start

64 •• C/C++ & DLL Libraries5.26 _7200_DO_DMA_Status@ DescriptionSince the _7200_DO_DMA_Start function is executed inbackground, you can issue the

Strona 73

C/C++ & DLL Libraries •• 655.27 _7200_DO_DMA_Stop@ DescriptionThis function is used to stop the DMA DO operation. After executingthis function, th

Strona 74 - 5.26 _7200_DO_DMA_Status

66 •• C/C++ & DLL Libraries5.28 _7200_DI_Timer@ DescriptionThis function is used to set the internal timer pacer for digital input.There are two c

Strona 75 - 5.27 _7200_DO_DMA_Stop

C/C++ & DLL Libraries •• 67C/C++ (DOS)int _7200_DI_Timer (U16 c0, U16 c2, Boolean mode)@ Argumentc0 : frequency divider of Counter #0. Valid valu

Strona 76 - Digital Input Trigger

68 •• C/C++ & DLL Libraries5.29 _7200_DO_Timer@ DescriptionThis function is used to set the internal timer pacer for digital output.There are two

Strona 77

C/C++ & DLL Libraries •• 69C/C++ (DOS)int _7200_DO_Timer (U16 c1, U16 c2, Boolean mode)@ Argumentc1 : frequency divider of Counter #1c2 : freque

Strona 80

Double Buffer Mode Principle •• 716Double Buffer Mode PrincipleThe data buffer for double-buffered DMA DI operation is acircular buffer logically. It

Strona 81 - Double Buffer Mode Principle

72 •• Double Buffer Mode PrincipleIncoming DMAinput dataCircular BufferTransfer Bufferabcd> > >> > >> >Empty Buf

Strona 82 - > >

Limitation •• 737Limitation1. The 12 MB/sec data transfer rate can only be possiblyachieved in a system in which the PCI-7200 card is the onlydevice u

Strona 84

8254 Programmable Interval Time •• 75Appendix A. 8254Programmable Interval TimerNote : The material of this section is adopted from“Intel Microprocess

Strona 85 - Programmable Interval Timer

76 •• 8254 Programmable Interval TimeA.2 The Control ByteThe 8254 occupies 8 I/O address locations in the PCI-7200 I/Omap. As shown below.Base + 0 LSB

Strona 86 - A.2 The Control Byte

8254 Programmable Interval Time •• 77• M2, M1 & M0 - Select Operating Mode (Bit 3, Bit 2, & Bit 1)M2 M1 M0 MODE0 0 0 00 0 1 1x 1 0 2x 1 1 31

Strona 87 - A.3 Mode Definition

78 •• 8254 Programmable Interval TimeRewriting a counter register during counting results in thefollowing:(1) Write 1st byte stops the current countin

Strona 88

8254 Programmable Interval Time •• 79• Mode 3 : Square Wave Rate Generator.Similar to MODE 2 except that the output will remain high untilone half th

Strona 89

How to Use This Manual •• vHow to Use This GuideThis manual is designed to help you use the PCI-7200 and cPCI-7200.The functionality of PCI-7200 and c

Strona 90

80 •• 8254 Programmable Interval Time• Mode 5 : Hardware Triggered Strobe.The counter will start counting after the rising edge of thetrigger input a

Strona 91 - Product Warranty/Service

Product Warranty/Service •• 81Product Warranty/ServiceSeller warrants that equipment furnished will be free form defectsin material and workmanship fo

Komentarze do niniejszej Instrukcji

Brak uwag