Adlink PCI-7300A Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Adlink PCI-7300A. ADLINK PCI-7300A User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 83
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
NuIPC
/ NuDAQ
cPCI-7300A & PCI-7300A
80MB Ultra-High Speed 32-CH
Digital I/O Boards
User’s Guide
Recycle Paper
Vista de página 0
1 2 3 4 5 6 ... 82 83

Resumo do Conteúdo

Página 1 - User’s Guide

NuIPC / NuDAQ cPCI-7300A & PCI-7300A 80MB Ultra-High Speed 32-CH Digital I/O Boards User’s Guide Recycle Paper

Página 2

2 • Introduction 1.1 Applications • Interface to high-speed peripherals • High-speed data transfers from other computers • Automated test equipme

Página 3 - Getting service from ADLINK

Introduction • 3 1.3 Specifications ♦ Digital I/O (DIO) • Numbers of Channel: 32 TTL compatible inputs and/or outputs • Device: IDT 74FCT373 • I

Página 4

4 • Introduction • Mode: Bus Mastering DMA with Scatter/Gather • Data Transfers: 8/16/32-bit input or output (programmable) ♦ DMA Transfer count:

Página 5 - Table of Contents

Introduction • 5 1.4 Software Supporting ADLINK provides versatile software drivers and packages for users’ different approach to built-up a system.

Página 6

6 • Introduction 1.4.3 PCIS-VEE: HP-VEE Driver The PCIS-VEE includes the user objects, which are used to interface with HP VEE software package. PC

Página 7

Installation • 7 2 Installation This chapter describes how to install the cPCI/PCI-7300A. At first, the contents in the package and unpacking informa

Página 8 - How to Use This Guide

8 • Installation 2.2 Unpacking Your cPCI/PCI-7300A card contains sensitive electronic components that can be easily damaged by static electricity. T

Página 9 - Introduction

Installation • 9 2.4 PCI-7300A's Layout Figure 2.1 PCI-7300A Layout Diagram

Página 10 - 1.2 Features

10 • Installation Figure 2.2 cPCI-7300A Layout Diagram

Página 11 - 1.3 Specifications

Installation • 11 2.5 Hardware Installation Outline PCI configuration The PCI cards (or CompactPCI cards) are equipped with plug and play PCI contro

Página 12

Copyright 2002 ADLINK Technology Inc. All Rights Reserved. Manual Rev 2.22: July 16, 2002 Part No.: 50-11106-100 The information in this docume

Página 13 - 1.4 Software Supporting

12 • Installation 2.6 Connector Pin Assignment The PCI-7300A comes equipped with one 100-pin SCSI type connector (CN1) located on the rear mounting

Página 14 - : ActiveX Controls

Installation • 13 Figure 2.2 CN1 Pin Assignment GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GN

Página 15 - Installation

14 • Installation 2.7 Wiring and Termination Transmission line effects and environment noise, particularly on clock and control lines, can lead to

Página 16 - 2.2 Unpacking

Installation • 15 2.8 Daughter Board Supporting The cPCI/PCI-7300A can be connected with two daughter boards: DIN-100S or DIN-502S. The functionali

Página 17 - 2.4 PCI-7300A's Layout

16 • Registers 3 Registers In this chapter, the registers’ format of the cPCI/PCI-7300A is described. Please note that the registers’ map of the PCI

Página 18 - 10 • Installation

Registers • 17 3.1 I/O Port Base Address The registers of the cPCI/PCI-7300A are shown in Table 3.1. The base address of these registers is als o a

Página 19

18 • Registers 3.2 DI_CSR: DI Control & Status Register Digital input control and status checking is done by this register. Address: BASE + 00

Página 20

Registers • 19 DI_FIFO_CLR (R/W) 0: No effect 1: Clear digital input FIFO. If both PORTA and PORTB are configured as inputs, both FIFO will be cle

Página 21

20 • Registers DO_WAIT_NAE (R/W) 0: do not wait output FIFO not almost empty flag 1: delay output data until FIFO is not almost empty PAT_GEN(R/W)

Página 22 - 2.7 Wiring and Termination

Registers • 21 BURST_HNDSHK (R/W) 0: disable burst handshaking mode 1: enable burst handshake mode * Note: This bit is for Rev.B only. 3.4 Auxilia

Página 23 - 2.8.2 Connect with DIN-502S

Getting service from ADLINK • Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please con

Página 24 - Registers

22 • Registers T2_EN (R/W) 0: Disable Timer2 interrupt 1: Interrupt CPU on falling edge of Timer 2 output AUXDI0_INT (R/W) 0: AUXDI does not genera

Página 25 - 3.1 I/O Port Base Address

Registers • 23 3.7 DO_FIFO: DO external data FIFO direct access port The digital output FIFO data can be accessed through this port directly. Add

Página 26

24 • Registers 3.8 FIFO_CR: FIFO almost empty/full register The register is used to control the FIFO programmable almost empty/full flag. Address

Página 27

Registers • 25 DI_ACK_NEQ (R/W) 0: DI_ACK is rising edge active 1: DI_ACK is falling edge active DI_TRG_NEQ (R/W) 0: DI_TRG is rising edge active

Página 28

26 • Operation Theory 4 Operation Theory This chapter provides the detailed operation information for the cPCI/PCI-7300A, including I/O configuration

Página 29

Operation Theory • 27 Notes: PORTA is default as Input channel; PORTB is default as output channel. In DI32 mode, the PORTB has to be configured as t

Página 30

28 • Operation Theory AUX DI 3..0: Four auxiliary digital inputs DITRIG: Digital input trigger line DIACK/DIREQ: Digital input handshaking signals

Página 31

Operation Theory • 29 4.4 Input FIFO and Output FIFO Due to the data transfer rate between external devices and the cPCI/PCI-7300A is independent fr

Página 32 - Register

30 • Operation Theory 4.5 Bus-mastering DMA Digital I/O data transfer between PCI-7300A and PC’s system memory is through bus mastering DMA, which i

Página 33

Operation Theory • 31 4.6 Scatter/gather DMA The PCI Bridge also supports the function of scatter/gather bus mastering DMA, which helps the users to

Página 35 - 4.2 Block Diagram

32 • Operation Theory In non-chaining mode, the maximum DMA data transfer size is 2M double words (8M bytes). However, by using chaining mode, scatt

Página 36 - 4.3 Digital I/O Data Flow

Operation Theory • 33 for the assertion of DI-ACK. If the external device follows the rule, there would be no data lost due to FIFO overrun. 3. Ha

Página 37

34 • Operation Theory 2. WaitTRIG: The data transfer will not start until external trigger signal (DI-TRIG for digital input, DO-TRIG for digital ou

Página 38 - 4.5 Bus-mastering DMA

Operation Theory • 35 4. Define the starting mode to be NoWait or WaitTRIG. 5. The digital input data are stored in the input FIFO after a DI comman

Página 39 - 4.6 Scatter/gather DMA

36 • Operation Theory Notes: When the DMA function of digital input starts, the input data will be stored in the FIFO of the cPCI/PCI-7300A. The data

Página 40 - 4.7 Clocking Mode

Operation Theory • 37 The operation flow is show as below: The followings are timing diagrams of the DI-REQ and the input data. The active edge o

Página 41 - 4.8 Starting Mode

38 • Operation Theory DIREQ as input data strobe (when Falling Edge Active) Notes: From the timing diagram of external clock mode, the maximum frequ

Página 42 - 4.9 Active Terminator

Operation Theory • 39 8. The data saved in FIFO will transfer to system memory of your computer directly and automatically by bus mastering DMA. The

Página 43

40 • Operation Theory 4.10.4 Continuous Digital Input If the digital input operation still active after the competition of the previous DMA transfer

Página 44

Operation Theory • 41 Notes: The latency time between two DMA transfers is different from the PCI bus latency time mentioned in the previous section

Página 45

Table of Contents • i Table of Contents Introduction...1 1.1 APPLICATIONS

Página 46

42 • Operation Theory As the data output in the internal clock mode, the DOREQ signal could be use as the output strobe to indicate the output operat

Página 47

Operation Theory • 43 The operation flow is show as below: The timing diagram of the DOREQ and DOACK in the DO handshaking mode is shown as follows

Página 48

44 • Operation Theory 4.11.3 Digital Output DMA in Burst Handshaking Mode The burst handshaking mode is a fast and reliable data transfer protocol.

Página 49

Operation Theory • 45 The operation flow is show as below: Notes: When the DMA function of digital output starts, the output data will transfer to

Página 50

46 • Operation Theory 4. Set the output patterns into the output FIFO by direct FIFO access 5. Start the pattern generator function. 6. The pattern g

Página 51

C/C++ Libraries • 47 5 C/C++ Libraries This chapter describes the software library for operating this card. Only the functions in DOS library and Win

Página 52

48 • C/C++ Libraries 5.2 Programming Guide 5.2.1 Naming Convention The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software driver

Página 53 - 4.11.4 Pattern Generator

C/C++ Libraries • 49 5.3 _7300_Initial @ Description A PCI-7300A card is initialized according to the card number. Because the cPCI/PCI-7300A is PCI

Página 54 - 4.12 Auxiliary DIO

50 • C/C++ Libraries 5.4 _7300_Close @ Description Close a previously initialized PCI-7300A card. @ Syntax Visual C/C++ (Windows 95) int W_7300_Clos

Página 55 - C/C++ Libraries

C/C++ Libraries • 51 DI8DO16: PORTA is 8 -bit input and PORTB is 16-bit output DI16DO8: PORTA is 16-bit input and PORTB is 8 -bit output DI16DO

Página 56 - 5.2 Programming Guide

ii • Table of Contents 4.3 DIGITAL I/O DATA FLOW ...28 4.4 INPUT FIFO AND O

Página 57 - 5.3 _7300_Initial

52 • C/C++ Libraries 5.6 _7300_DI_Mode @ Description Set the clock mode and start mode for the PCI-7300A DI operation. @ Syntax Visual C/C++ (Window

Página 58 - 5.5 _7300_Configure

C/C++ Libraries • 53 5.7 _7300_DO_Mode @ Description Set the clock mode and start mode for the PCI-7300A DO operation. @ Syntax Visual C/C++ (Window

Página 59 - @ Return Code

54 • C/C++ Libraries 5.8 _7300_AUX_DI @ Description Read data from auxiliary digital input port. You can get all 4 bits input data by using this fun

Página 60 - 5.6 _7300_DI_Mode

C/C++ Libraries • 55 card_number: The card number of the PCI-7300A card. di_ch_no: the DI channel number, the value has to be set within 0 and 3.

Página 61 - 5.7 _7300_DO_Mode

56 • C/C++ Libraries @ Syntax Visual C/C++ (Windows 95) int W_7300_AUX_DO_Channel (int card_number, int do_ch_no, int do_data) Visual Basic (Windows

Página 62 - 5.9 _7300_AUX_DI_Channel

C/C++ Libraries • 57 @ Return Code NoError AllocDMAMemFailed 5.13 _7300_Free_DMA_Mem @ Description Deallocate a system DMA memory under Windows 95

Página 63 - 5.11 _7300_AUX_DO_Channel

58 • C/C++ Libraries use an 8237-style DMA controller in the host computer and therefore it is not blocked in 64K maximal groups. PCI-7300A bus maste

Página 64 - 5.12 _7300_Alloc_DMA_Mem

C/C++ Libraries • 59 @ Syntax Visual C/C++ (Windows 95) int W_7300_DI_DMA_Start (int card_number, HANDLE memID, U32 count, int clear_fifo, int disabl

Página 65 - 5.14 _7300_DI_DMA_Start

60 • C/C++ Libraries @ Return Code NoError PCICardNumErr PCICardNotInit DMATransferNotAllowed InvalidDIOCount BufNotDWordAlign DMADscrBadAlign 5.15

Página 66

C/C++ Libraries • 61 int _7300_DI_DMA_Stop (int card_number) @ Argument card_number: The card number of the PCI-7300A card. @ Return Code NoError P

Página 67

Table of Contents • iii 5.19 _7300_DO_DMA_STATUS...63 5.20 _7300_DO_DMA_ABORT...

Página 68 - 5.16 _7300_DI_DMA_Abort

62 • C/C++ Libraries int W_7300_DO_DMA_Start (int card_number, HANDLE memID, U32 count) Visual Basic (Windows 95) W_7300_DO_DMA_Start (ByVal card_num

Página 69 - 5.18 _7300_DO_DMA_Start

C/C++ Libraries • 63 5.19 _7300_DO_DMA_Status @ Description Since the _7300_DO_DMA_Start function is executed in background, you can issue the fu

Página 70

64 • C/C++ Libraries PCICardNumErr PCICardNotInit 5.21 _7300_DO_PG_Start @ Description The function will perform pattern generation with the dat

Página 71 - 5.20 _7300_DO_DMA_Abort

C/C++ Libraries • 65 5.22 _7300_DO_PG_Stop @ Description This function is used to stop the pattern generation operation. After executing this fun

Página 72 - 5.21 _7300_DO_PG_Start

66 • C/C++ Libraries @ Return Code NoError PCICardNumErr PCICardNotInit 5.24 _7300_DO_Timer @ Description This function is used to set the intern

Página 73 - 5.23 _7300_DI_Timer

C/C++ Libraries • 67 W_7300_Int_Timer (ByVal card_number As Long, ByVal c2 As Integer) As Long C/C++ (DOS) int _7300_Int_Timer (int card_number, U16

Página 74 - 5.25 _7300_Int_Timer

68 • C/C++ Libraries 5.27 _7300_Set_Sample @ Description For the language without pointer support such as Visual Basic, programmer can use this f

Página 75 - 5.26 _7300_Get_Sample

C/C++ Libraries • 69 @ Argument card_number: The card number of the PCI-7300A card. underrun: 0: underrun sitation did not occur. 1: underrun sit

Página 76 - 5.27 _7300_Set_Sample

70 • Appendix A 8254 Programmable Interval Timer Appendix A 8254 Programmable Interval Timer Note: The material of this section is adopted from “I

Página 77 - @ Argument

Appendix A 8254 Programmable Interval Timer • 71 Before loading or reading any of these individual counters, the control byte (Base + C) must be loa

Página 78 - Interval Timer

How to Use This Guide • iv How to Use This Guide This manual is designed to help you use the cPCI-7300 and PCI-7300A Rev.B. The manual describes how

Página 79

72 • Appendix A 8254 Programmable Interval Timer A.3 Mode Definition In 8254, there are six different operating modes can be selected. They are: •

Página 80 - A.3 Mode Definition

Appendix A 8254 Programmable Interval Timer • 73 • Mode 3: Square Wave Rate Generator. Similar to MODE 2 except that the output will remain high un

Página 81

74 • Warranty Policy Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please

Página 82 - Warranty Policy

Warranty Policy • 75 5. To ensure the speed and quality of product repair, please download an RMA application form from our company website www.ad

Página 83

Introduction • 1 1 Introduction The cPCI/PCI-7300A is cPCI/PCI form factor ultra-high speed digital I/O card, it consists of 32 digital input or outp

Comentários a estes Manuais

Sem comentários