Adlink PCIe-7300A Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Adlink PCIe-7300A herunter. ADLINK PCIe-7300A User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 114
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Advance Technologies; Automate the World.
Manual Rev. 2.50
Revision Date: July 1, 2008
Part No: 50-11106-1030
PCI/PCIe/cPCI-7300A
80 MB Ultra-High Speed 32-CH
Digital I/O Boards
User’s Manual
Seitenansicht 0
1 2 3 4 5 6 ... 113 114

Inhaltsverzeichnis

Seite 1 - PCI/PCIe/cPCI-7300A

Advance Technologies; Automate the World.Manual Rev. 2.50Revision Date: July 1, 2008Part No: 50-11106-1030PCI/PCIe/cPCI-7300A80 MB Ultra-High Speed

Seite 2

vi List of Figures

Seite 3 - Getting Service from ADLINK

90 C/C++ LibrariesBufNotDWordAlignDMADscrBadAlign

Seite 4

C/C++ Libraries 915.22 _7300_DO_PG_Stop@ Description This function is used to stop the pattern generation operation. After executing this function,

Seite 5 - Table of Contents

92 C/C++ Libraries5.23 _7300_DI_Timer@ Description This function is used to set the internal timer pacer for digital input. Timer pacer frequency = 1

Seite 6

C/C++ Libraries 935.24 _7300_DO_Timer@ Description This function is used to set the internal timer pacer for digital out-put. Timer pacer frequency

Seite 7

94 C/C++ Libraries5.25 _7300_Int_Timer@ Description This function is used to set Counter #2.@ SyntaxVisual C/C++ (Windows 95)int W_7300_Int_Timer (in

Seite 8 - List of Tables

C/C++ Libraries 955.26 _7300_Get_Sample@ Description For the language without pointer support such as Visual Basic, programmer can use this function

Seite 9 - List of Figures

96 C/C++ Libraries5.27 _7300_Set_Sample@ Description For the language without pointer support such as Visual Basic, programmer can use this function

Seite 10

C/C++ Libraries 975.28 _7300_GetUnderrunStatus@ Description When you use _7300_DO_DMA_Start to output data, the output data is read from the FIFO on

Seite 11 - 1 Introduction

98 C/C++ Libraries

Seite 12 - 1.2 Features

Appendix 99Appendix8254 Programmable Interval TimerNote: The material of this section is adopted from “Intel Micropro-cessor and Peripheral Handbook

Seite 13 - 1.3 Specifications

Introduction 11 IntroductionThe cPCI/PCI/PCIe-7300A is cPCI/PCI/PCI Express form factor ultra-high speed digital I/O card, it consists of 32 digital

Seite 14 - 4 Introduction

100 AppendixControl Byte: (Base + 7, Base + 11)X SC1 & SC1 - Select Counter (Bit7 & Bit 6)X RL1 & RL0 - Select Read/Load operation (Bit 5

Seite 15 - Introduction 5

Appendix 101 2. The count of the BCD counter is from 0 up to 99,999.Mode DefinitionIn 8254, there are six different operating modes can be selec

Seite 16 - 1.4 Software Support

102 AppendixThe gate input when low, will force the output high. When the gate input goes high, the counter will start form the initial count. Thus,

Seite 17 - : ActiveX Controls

Appendix 103Mode 5: Hardware Triggered Strobe.The counter will start counting after the rising edge of the trig-ger input and will go low for one clo

Seite 19 - 2 Installation

2 Introduction1.1 ApplicationsX Interface to high-speed peripheralsX High-speed data transfers from other computersX Automated test equipment (ATE)X

Seite 20 - 2.2 Unpacking

Introduction 31.3 SpecificationsDigital I/O (DIO)X Numbers of Channel: 32 TTL compatible inputs and/or out-putsX Device: IDT 74FCT373X I/O Configurat

Seite 21 - Installation 11

4 IntroductionTransfer CharacteristicX Mode: Bus Mastering DMA with Scatter/GatherX Data Transfers: 8/16/32-bit input or output (programmable)DMA Tra

Seite 22 - 12 Installation

Introduction 5X Power Consumption: PCI-7300A:Z +5 V @ 830 mA typical (onboard terminator off), 1.0 A typical (onboard terminator on)PCIe-7300A: Z +12

Seite 23 - Installation 13

6 Introduction1.4 Software SupportADLINK provides versatile software drivers and packages for users’ different approach to built-up a system. We not

Seite 24 - 2.6 Connector Pin Assignment

Introduction 7are free shipped with the board. You can install and use them without license. For detail information about DAQ-LVIEW PnP, please ref

Seite 25

8 Introduction

Seite 26 - 16 Installation

Installation 92 InstallationThis chapter describes how to install the cPCI/PCI/PCIe-7300A. At first, the contents in the package and unpacking inform

Seite 27 - 2.7 Wiring and Termination

Copyright 2008 ADLINK TECHNOLOGY INC.All Rights Reserved. The information in this document is subject to change without prior notice in order to impro

Seite 28 - 2.8 Termination Board Support

10 Installation2.2 UnpackingYour cPCI/PCI/PCIe-7300A card contains sensitive electronic components that can be easily damaged by static electricity.T

Seite 29 - 3Registers

Installation 112.4 cPCI/PCI/PCIe-7300A LayoutFigure 2-1: PCI-7300A Layout Diagram

Seite 30 - 3.1 I/O Port Base Address

12 InstallationFigure 2-2: cPCI-7300A Layout DiagramFigure 2-3: PCIe-7300A Layout Diagram167.65111.15

Seite 31 - Registers 21

Installation 132.5 Hardware Installation OutlinePCI configurationThe cPCI/PCI/PCIe cards are equipped with plug and play PCI controller, it can reque

Seite 32

14 Installation2.6 Connector Pin AssignmentThe PCI/cPCI/PCIe-7300A comes equipped with one 100-pin SCSI type connector (CN1) located on the rear moun

Seite 33 - Registers 23

Installation 1584 DITRIG CONTROL IDI TRIG – can be used to control the start of data acquisition in all DI modes.78…81 AUXDI3…0 DATA IAUX DI 3…0 – ca

Seite 34

16 InstallationFigure 2-4: CN1 Pin Assignment

Seite 35 - Registers 25

Installation 172.7 Wiring and TerminationTransmission line effects and environment noise, particularly on clock and control lines, can lead to incor

Seite 36 - Bit # 31-8 Don’t Care

18 Installation2.8 Termination Board SupportThe cPCI/PCI/PCIe-7300A can be connected with two termination boards: DIN-100S or DIN-502S. The functiona

Seite 37 - Registers 27

Registers 193RegistersIn this chapter, the registers’ format of the cPCI/PCI/PCIe-7300A is described. This information is quite useful for the progra

Seite 38 - Bit # 31_16 DI_FIFO_32

Getting Service from ADLINKCustomer Satisfaction is top priority for ADLINK Technology Inc. Please contact us should you require any service or assist

Seite 39 - Bit # 31_16 DO_FIFO_32

20 Registers3.1 I/O Port Base AddressThe registers of the cPCI/PCI/PCIe-7300A are shown in Table 3.1. The base address of these registers is also ass

Seite 40 - Bit 31_16 PA_PAE_PAF

Registers 21Legend:X DI_CSR: Digital input control & status registerX DO_SCR: Digital output control & status registerX AUX_DIO: Auxiliary di

Seite 41 - Register

22 Registers3.2 DI_CSR: DI Control & Status Register Digital input control and status checking is done by this register.Address: BASE + 00Attribu

Seite 42 - 32 Registers

Registers 23DI_EN (R/W) X 0: Disable digital inputsX 1: Enable digital inputsDI_FIFO_CLR (R/W) X 0: No effectX 1: Clear digital input FIFO. If both P

Seite 43 - 4 Operation Theory

24 Registers3.3 DO_CSR: DO Control & Status RegisterDigital input control and status checking is done by this register.Address: BASE + 04Attribut

Seite 44 - 4.1 I/O Configuration

Registers 25X 0: start output data immediatelyX 1: delay output data until DOTRIG is actived PB_TERM_OFF (R/W) X 0: PORTB terminator ONX 1: PORTB ter

Seite 45 - 4.2 Block Diagram

26 Registers3.4 Auxiliary Digital I/O RegisterAuxiliary 4-bit digital inputs and 4-bit digital outputsAddress: BASE + 08 Attribute: READ/WRITEData Fo

Seite 46 - 4.3 Digital I/O Data Flow

Registers 273.5 INT_CSR: Interrupt Control and Status Register The interrupt of cPCI/PCI/PCIe-7300A is controlled and status is checked through this

Seite 47 - Operation Theory 37

28 Registers3.6 DI_FIFO: DI FIFO direct access port The digital input FIFO data can be accessed through this port directly. Address: BASE + 0x10Attr

Seite 48 - 4.5 Bus-mastering DMA

Registers 293.7 DO_FIFO: DO external data FIFO direct access port The digital output FIFO data can be accessed through this port directly. Address:

Seite 50 - 4.6 Scatter/gather DMA

30 Registers3.8 FIFO_CR: FIFO almost empty/full register The register is used to control the FIFO programmable almost empty/full flag. Address: BASE

Seite 51 - 4.7 Clocking Mode

Registers 313.9 POL_CNTRL: Control Signal Polarity Control Register The register is used to control the control signals’ polarity. The control sign

Seite 52 - 42 Operation Theory

32 Registers3.10 PLX PCI-9080 DMA Control RegistersThe registers of bus-mastering DMA as well as the control and status registers of PCI-bus interrup

Seite 53 - 4.8 Starting Mode

Operation Theory 334 Operation TheoryThis chapter provides the detailed operation information for the cPCI/PCI/PCIe-7300A, including I/O configurati

Seite 54 - 4.9 Active Terminator

34 Operation Theory4.1 I/O ConfigurationThe 32-bit I/O data path of PCI/cPCI/PCIe-7300A can be config-ured as 8-bit, 16-bit, or 32-bit, the possible

Seite 55 - Operation Theory 45

Operation Theory 354.2 Block DiagramFigure 4-1 shows the block diagram of the cPCI/PCI/PCIe-7300A, it includes the I/O registers, two 16K FIFOs, aux

Seite 56 - 46 Operation Theory

36 Operation Theory4.3 Digital I/O Data FlowWhen applying digital input functions, the data will be sampled into the input FIFO periodically as we co

Seite 57 - Operation Theory 47

Operation Theory 374.4 Input FIFO and Output FIFODue to the data transfer rate between external devices and the cPCI/PCI/PCIe-7300A is independent f

Seite 58 - 48 Operation Theory

38 Operation Theory4.5 Bus-mastering DMADigital I/O data transfer between cPCI/PCI/PCIe-7300A and PC’s system memory is through bus mastering DMA, wh

Seite 59 - Operation Theory 49

Operation Theory 39hard-disk rather than memory, the bottleneck would be the data transfer rate of the hard-disk driver.

Seite 60 - 50 Operation Theory

iTable of ContentsList of Tables... ivList of Figures ...

Seite 61 - Operation Theory 51

40 Operation Theory4.6 Scatter/gather DMAThe PCI Bridge also supports the function of scatter/gather bus mastering DMA, which helps the users to tran

Seite 62 - 52 Operation Theory

Operation Theory 414.7 Clocking ModeThe data input to or output from the FIFO is operated in a specific rate. The specific sampling rate or the pace

Seite 63 - Operation Theory 53

42 Operation Theorytion of DI-ACK. If the external device follows the rule, there would be no data lost due to FIFO overrun.3. Handshaking: For the d

Seite 64 - 54 Operation Theory

Operation Theory 434.8 Starting ModeUsers can also control the starting mode of digital input and output by external signals (DITRIG and DOTRIG) wit

Seite 65 - Operation Theory 55

44 Operation Theory4.9 Active TerminatorFor cPCI/PCI/PCIe-7300A, it is important to terminate your cable properly to reduce or eliminate signal refle

Seite 66 - 56 Operation Theory

Operation Theory 454.10 Digital Input Operation Mode4.10.1Digital Input DMA in Internal Clock ModeThere are three sources to trigger digital input i

Seite 67 - Operation Theory 57

46 Operation TheoryThe operation flow is show as below: Note: When the DMA function of digital input starts, the input data will be stored in the FI

Seite 68 - 58 Operation Theory

Operation Theory 47than the on-board FIFO buffer time. The FIFO size is 16K sample, so it has 1.6 ms buffer time for 10MHz sampling rate if the FIFO

Seite 69 - 4.11.4 Pattern Generator

48 Operation TheoryThe operation flow is show as below: The followings are timing diagrams of the DI-REQ and the input data. The active edge of DI-RE

Seite 70 - 4.12 Auxiliary DIO

Operation Theory 49Figure 4-8: DIREQ as input data strobe (Falling Edge Active)Note: From the timing diagram of external clock mode, the maxi-mum f

Seite 71 - 5 C/C++ Libraries

ii 4 Operation Theory... 334.1 I/O Configuration...

Seite 72 - 5.1 Libraries Installation

50 Operation Theoryfer.The operations sequence of digital input with handshaking are listed:1. Define the input configuration to be 32-bit, 16-bit or

Seite 73 - 5.2 Programming Guide

Operation Theory 51The following figure shows the timing requirement of the hand-shaking mode digital input operation.Figure 4-9: DIREQ & DIACK

Seite 74 - 5.3 _7300_Initial

52 Operation Theoryand remove the unnecessary processes in your applica-tion programs.3. When high-speed sampling frequency is applied, the larger bl

Seite 75 - @ Return Code

Operation Theory 534.11 Digital Output Operation Mode4.11.1 Digital Output DMA in Internal Clock ModeThere are three sources to trigger digital outp

Seite 76 - 5.4 _7300_Close

54 Operation TheoryAs the data output in the internal clock mode, the DOREQ signal could be use as the output strobe to indicate the output operation

Seite 77 - 5.5 _7300_Configure

Operation Theory 55The operations sequence of digital output in handshaking mode are listed:1. Define the input configuration to be 32-bit, 16-bit o

Seite 78

56 Operation TheoryThe timing diagram of the DOREQ and DOACK in the DO hand-shaking mode is shown as follows:Figure 4-11: DOREQ & DOACK Handshaki

Seite 79 - 5.6 _7300_DI_Mode

Operation Theory 57The operations sequence of digital output in burst handshaking mode are listed:1. Define the input configuration to be 32-bit, 16

Seite 80 - 5.7 _7300_DO_Mode

58 Operation TheoryThe operation flow is show as below: Note: When the DMA function of digital output starts, the output data will transfer to the ou

Seite 81

Operation Theory 594.11.4 Pattern GeneratorThe digital data is output to the peripheral device periodically based on the clock signals occur at a co

Seite 82 - 5.8 _7300_AUX_DI

iii5.18 _7300_DO_DMA_Start... 855.19 _7300_DO_DMA_Status ...

Seite 83 - 5.9 _7300_AUX_DI_Channel

60 Operation Theory4.12 Auxiliary DIOThe cPCI/PCI/PCIe-7300A also includes four auxiliary digital inputs and four digital outputs, which can be appli

Seite 84 - 5.10 _7300_AUX_DO

C/C++ Libraries 615 C/C++ LibrariesThis chapter describes the software library for operating this card. Only the functions in DOS library and Window

Seite 85 - 5.11 _7300_AUX_DO_Channel

62 C/C++ Libraries5.1 Libraries InstallationPlease refer to the “Software Installation Guide” for the detail infor-mation about how to install the so

Seite 86 - 5.12 _7300_Alloc_DMA_Mem

C/C++ Libraries 635.2 Programming GuideNaming ConventionThe functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software driver are using f

Seite 87 - 5.13 _7300_Free_DMA_Mem

64 C/C++ Libraries5.3 _7300_Initial@ DescriptionA cPCI/PCI/PCIe-7300A card is initialized according to the card number. Because the cPCI/PCI/PCIe-730

Seite 88 - 5.14 _7300_DI_DMA_Start

C/C++ Libraries 65irq_no:system will give an available interrupt number to this card automatically.pci_master:TRUE: BIOS enabled PCI bus mastering

Seite 89 - @ Syntax

66 C/C++ Libraries5.4 _7300_Close@ DescriptionClose a previously initialized cPCI/PCI/PCIe-7300A card.@ SyntaxVisual C/C++ (Windows 95)int W_7300_Clo

Seite 90 - @ Argument

C/C++ Libraries 675.5 _7300_Configure@ DescriptionSet the port DI/O configuration, terminator control, and control sig-nal polarity for the cPCI/PCI

Seite 91

68 C/C++ LibrariesPAON_PBOFF: PORTA terminator ON, PORTB terminator OFFPAON_PBON: PORTA terminator ON, PORTB terminator ONNote: term_cntrl is used to

Seite 92 - 5.15 _7300_DI_DMA_Status

C/C++ Libraries 695.6 _7300_DI_Mode@ DescriptionSet the clock mode and start mode for the cPCI/PCI/PCIe-7300A DI operation.@ SyntaxVisual C/C++ (Win

Seite 93 - 5.16 _7300_DI_DMA_Abort

iv List of TablesList of TablesTable 2-1: Connector Pin Assignment ... 14Table 3-1: I/O Port Base Address ...

Seite 94 - 5.17 _7300_GetOverrunStatus

70 C/C++ Libraries5.7 _7300_DO_Mode@ DescriptionSet the clock mode and start mode for the cPCI/PCI/PCIe-7300A DO operation.@ SyntaxVisual C/C++ (Wind

Seite 95 - 5.18 _7300_DO_DMA_Start

C/C++ Libraries 71DO_WAIT_FIFO: delay output data until FIFO is not almost emptyDO_WAIT_BOTH: delay output data until DOTRIG is active and FIFO is n

Seite 96

72 C/C++ Libraries5.8 _7300_AUX_DI@ DescriptionRead data from auxiliary digital input port. You can get all 4 bits input data by using this function.

Seite 97 - 5.19 _7300_DO_DMA_Status

C/C++ Libraries 735.9 _7300_AUX_DI_Channel@ DescriptionRead data from auxiliary digital input channel. There are 4 digital input channels on the cPC

Seite 98 - 5.20 _7300_DO_DMA_Abort

74 C/C++ Libraries5.10 _7300_AUX_DO@ DescriptionWrite data to auxiliary digital output port. There are 4 auxiliary dig-ital outputs on the cPCI/PCI/P

Seite 99 - 5.21 _7300_DO_PG_Start

C/C++ Libraries 755.11 _7300_AUX_DO_Channel@ DescriptionWrite data to auxiliary digital output channel (bit). There are 4 aux-iliary digital output

Seite 100 - DMADscrBadAlign

76 C/C++ Libraries5.12 _7300_Alloc_DMA_Mem@ DescriptionContact Windows 95 system to allocate a memory for DMA trans-fer. This function is only availa

Seite 101 - 5.22 _7300_DO_PG_Stop

C/C++ Libraries 775.13 _7300_Free_DMA_Mem@ DescriptionDeallocate a system DMA memory under the Windows 95 envi-ronment. This function is only availa

Seite 102 - 5.23 _7300_DI_Timer

78 C/C++ Libraries5.14 _7300_DI_DMA_Start@ Description The function will perform digital input by DMA data transfer.It will take place in the backgro

Seite 103 - 5.24 _7300_DO_Timer

C/C++ Libraries 79transfers are always longwords, this is 2 million long-words (2^21).3. After the input sampling is started, the input data is stor

Seite 104 - 5.25 _7300_Int_Timer

List of Figures vList of FiguresFigure 2-1: PCI-7300A Layout Diagram... 11Figure 2-2: cPCI-7300A Layout Diagram..

Seite 105 - 5.26 _7300_Get_Sample

80 C/C++ LibrariesByVal clear_fifo As Long, ByVal disable_di As Long) As LongC/C++ (DOS)int _7300_DI_DMA_Start (int card_number, int mode, U32 *buffe

Seite 106 - 5.27 _7300_Set_Sample

C/C++ Libraries 81disable_di:0: digital input operation still active after DMA trans-fer complete1: disable digital input operation immediately when

Seite 107 - 5.28 _7300_GetUnderrunStatus

82 C/C++ Libraries5.15 _7300_DI_DMA_Status@ Description Since the _7300_DI_DMA_Start function is executed in back-ground, you can issue this function

Seite 108 - 98 C/C++ Libraries

C/C++ Libraries 835.16 _7300_DI_DMA_Abort@ Description This function is used to stop the DMA DI operation. After executing this function, the DMA tr

Seite 109 - Appendix

84 C/C++ Libraries5.17 _7300_GetOverrunStatus@ Description When you use _7300_DI_DMA_Start to input data, the input data is stored in the FIFO of PCI

Seite 110

C/C++ Libraries 855.18 _7300_DO_DMA_Start@ Description The function will perform digital output N times with DMA data transfer. It will takes place

Seite 111 - Mode Definition

86 C/C++ Libraries** This memory should be double-word alignmentcount:For non-chaining mode, this is the total number of digital output data in doubl

Seite 112 - 102 Appendix

C/C++ Libraries 875.19 _7300_DO_DMA_Status@ Description Since the _7300_DO_DMA_Start function is executed in back-ground, you can issue the function

Seite 113 - Appendix 103

88 C/C++ Libraries5.20 _7300_DO_DMA_Abort@ Description This function is used to stop the DMA DO operation. After execut-ing this function, the _7300_

Seite 114 - 104 Appendix

C/C++ Libraries 895.21 _7300_DO_PG_Start@ Description The function will perform pattern generation with the data stored in buff_ptr. It will takes p

Kommentare zu diesen Handbüchern

Keine Kommentare