Adlink cPCI-7300 Manual do Utilizador

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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 82
  • Í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 ... 81 82

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 equipmen

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/O Co

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. Th

Página 9 - Introduction

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

Página 10 - 1.2 Features

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

Página 11 - 1.3 Specifications

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

Página 12

©Copyright 2002 ADLINK Technology Inc. All Rights Reserved. Manual Rev 2.31: 1 June, 2003 Part No.: 50-11106-101 The information in this documen

Página 13 - 1.4 Software Supporting

12 • Installation Figure 2.2 CN1 Pin Assignment

Página 14 - : ActiveX Controls

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

Página 15 - Installation

14 • Installation 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 16 - 2.2 Unpacking

Registers • 15 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 17 - 2.4 PCI-7300A's Layout

16 • Registers 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 also as

Página 18

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

Página 19 - 2.6 Connector Pin Assignment

18 • Registers 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 clea

Página 20

Registers • 19 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 21 - 2.7 Wiring and Termination

20 • Registers 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 22 - 2.8.2 Connect with DIN-502S

Registers • 21 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 23 - Registers

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 - 3.1 I/O Port Base Address

22 • Registers 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 25

Registers • 23 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 26 - Don’t Cared

24 • Registers 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 27

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

Página 28

26 • Operation Theory 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 29

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

Página 30

28 • Operation Theory 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 31 - Register

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

Página 32

30 • Operation Theory 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 33 - Operation Theory

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

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

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

Página 36

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

Página 37 - 4.5 Bus-mastering DMA

34 • Operation Theory 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 38 - 4.6 Scatter/gather DMA

Operation Theory • 35 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 39 - 4.7 Clocking Mode

36 • Operation Theory 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 40 - 4.8 Starting Mode

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

Página 41 - 4.9 Active Terminator

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

Página 42

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

Página 43

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

Página 44

Operation Theory • 41 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 45

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

Página 46

42 • Operation Theory 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 47

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

Página 48

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

Página 49

Operation Theory • 45 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 50

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

Página 51

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

Página 52 - 4.11.4 Pattern Generator

48 • C/C++ Libraries 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 53 - 4.12 Auxiliary DIO

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

Página 54 - C/C++ Libraries

50 • C/C++ Libraries DI8DO16: PORTA is 8-bit input and PORTB is 16-bit output DI16DO8: PORTA is 16-bit input and PORTB is 8-bit output DI16DO16: P

Página 55 - 5.2 Programming Guide

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

Página 56 - 5.3 _7300_Initial

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

Página 57 - 5.5 _7300_Configure

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

Página 58 - @ Return Code

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

Página 59 - 5.6 _7300_DI_Mode

54 • C/C++ Libraries 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 60 - 5.7 _7300_DO_Mode

C/C++ Libraries • 55 @ 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 61 - 5.9 _7300_AUX_DI_Channel

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

Página 62 - 5.11 _7300_AUX_DO_Channel

C/C++ Libraries • 57 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 63 - 5.12 _7300_Alloc_DMA_Mem

58 • C/C++ Libraries @ 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 64 - 5.14 _7300_DI_DMA_Start

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

Página 65

60 • C/C++ Libraries 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 66

C/C++ Libraries • 61 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 67 - 5.16 _7300_DI_DMA_Abort

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

Página 68 - 5.18 _7300_DO_DMA_Start

62 • C/C++ Libraries 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 69

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

Página 70 - 5.20 _7300_DO_DMA_Abort

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

Página 71 - 5.21 _7300_DO_PG_Start

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

Página 72 - 5.23 _7300_DI_Timer

66 • C/C++ Libraries 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 73 - 5.25 _7300_Int_Timer

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

Página 74 - 5.26 _7300_Get_Sample

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

Página 75 - 5.27 _7300_Set_Sample

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

Página 76 - @ Argument

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

Página 77 - Interval Timer

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

Página 78

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 - A.3 Mode Definition

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

Página 80

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

Página 81 - Warranty Policy

74 • Warranty Policy • Damage from improper repair by unauthorized ADLINK technicians. • Products with altered and/or damaged serial numbers are n

Página 82

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