NO PART OF THIS MANUAL MAY BE REPRODUCED IN ANY FORM WITHOUT WRITTEN
PERMISSION FROM COMPUTERBOARDS, INC.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form by any means, electronic, mechanical, by photocopying, recording or otherwise
without the prior written permission of ComputerBoards, Inc.
MEGA-FIFO, the CIO prefix to data acquisition board model numbers, the PCM prefix to data
acquisition board model numbers, PCM-DAS08, PCM-D24C3, PCM-DAC02, PCM-COM422, PCMCOM485, PCM-DMM, PCM-DAS16D/12, PCM-DAS16S/12, PCM-DAS16D/16, PCM-DAS16S/16,
PCI-DAS6402/16, Universal Library,
Insta
Harsh Environment Warranty
Cal,
and ComputerBoards are
registered trademarks of ComputerBoards, Inc.
IBM, PC, and PC/AT are trademarks of International Business Machines Corp.
Windows is a trademark of Microsoft Corp.
Information furnished by ComputerBoards, Inc. is believed to be accurate and reliable. However, no
responsibility is assumed by ComputerBoards, Inc. neither for its use; nor for any infringements of
patents or other rights of third parties, which may result from its use. No license is granted by implication
or otherwise under any patent or copyrights of ComputerBoards, Inc.
Notice
ComputerBoards, Inc. does not authorize any ComputerBoards, Inc.
product for use in life support systems and/or devices without the written
approval of the President of ComputerBoards, Inc. Life support
devices/systems are devices or systems which, a) are intended for surgical
implantation into the body, or b) support or sustain life and whose failure
to perform can be reasonably expected to result in injury.
ComputerBoards, Inc. products are not designed with the components
required, and are not subject to the testing required to ensure a level of
reliability suitable for the treatment and diagnosis of people.
HM PCI-DAS4020/12.DOC
ii
Page 3
Table of Contents
1. INTRODUCTION AND PRODUCT DESCRIPTION....................................................................... 1
The PCI-DAS4020/12 (Figure 1-1) is a multi-function I/O board. It consists of the following:
1. Four high-speed analog input channels. Each channel can be configured by software for an input
range of +/-1V or +/-5V. Resolution is 12 bits. Throughput is 10 to 20 MHz depending on the number
of channels accessed. Triggering sources are by hardware or software, internal or external, and four
different modes are software selectable. A/D gating is likewise by either hardware or software,
internal or external. Input connectors are BNC types. Refer to the specifications in this manual for full
details.
2. Two analog output channels. Each channel can be configured by software for an output range of
+/-10V or +/-5V. Resolution is 12 bits. Throughput is system-dependent. Triggering mode is software
gate. D/A pacing is software. Refer to the specifications in this manual for full details.
3. Twenty-four digital I/O channels. The I/O chip type is 82C55A configured as two banks of eight and
two banks of four, programmable by bank as input or output. Signal levels are TTL. The digital I/O
and analog out connector is a 40-pin header.
FOUR ANALOG INPUT CHANNELS PER BOARD
BNC
ATTENUATOR/
AMPLIFIER
INPUT
MUX
50 Ohm
ADC
IN
VREF
CONV
FOUR
CHANNELS
EXTERNAL PACER,
TRIG1, TRIG2,
or GATE
BNC
ANALOG
OUTPUTS
24 I/O
DUAL 12-BIT
DIGITAL I/0
ANALOG
CLOCK/
TRIGGER
USER
DACs
USER
(8255)
GAIN & OFFSET
AUTOCAL
LOCAL BUS
PC BUS
CONTROLLER
PCI BUS CONNECTOR
(5V, 32 BIT, 33 MHZ)
Figure 1-1. PCI-DAS4020/12 Block Diagram
12
SYSTEM
TIMING
CONTROLLER
DUAL
32Kx24
SRAM
1
Page 6
1.2 ANALOG SIGNAL PATH
Four single-ended analog input channels connect from BNC connectors to individual amplifiers, then to
dedicated ADC’s. Each path allows for:
•
50 ohm or high-Z termination, selected by solder gap;
• +/-
•
Auto-calibration for offset and gain adjustments for each channel and each range.
Two 12-bit voltage outputs are software programmable for +/- 10V or +/- 5V. The D/A is the Analog
Devices AD7237 Dual DAC. Since the DAC is dual buffered, the DAC output voltage is updated after the
MS nibble is written to the DAC.
The DACs initially power-up and are reset to 0V.
There is no calibration on these DACs. The offset and gain errors are minimized by using precision
components in Table 1-2 shows the DAC input coding.
Table 1-2. DAC Input Coding
DAC
RANGE
+/- 10V0000 0000 0000000h
+/- 10V1000 0000 0000800h0 V
+/- 10V1111 1111 1111FFFh +9.99513 V
+/- 5V0000 0000 0000000h
+/- 5V1000 0000 0000800h 0 V
+/- 5V1111 1111 1111FFFh +4.99756 V
INPUT CODE
BINARY
12 BIT INPUT
CODE HEX
12 BIT O UTPUT
VOLTAGE
−
10.000 V
−5.000 V
2
Page 7
1.4 ANALOG OUTPUT SECTION - BLOCK DIAGRAM (FIGURE 1-2)
Range Select
AD7237
Dual DAC
DAC0
DAC1
Precision
Summing Amps
VDAC0
VDAC1
To Auxiliary
connector and
Analog Trigger
circuit
Figure 1-2. Analog Output Block Diagram
1.5 DIGITAL I/O SECTION
The digital I/O is comprised of an 82C55 digital logic device. The pinout is identical to the auxiliary
DIO24 on a 40-pin header (P3).
For external interrupts, an external interrupt source pin and external interrupt enable pin are provided on
connector P3. These lines are pulled up and OR’ed to generate the external interrupt signal. Both are
active low.
1.6 POWER DISTRIBUTION SECTION
Power for the board is from the PCI bus. The only power used is +5V.
3
Page 8
2. INSTALLATION
The PCI-DAS4020/12 is completely plug and play. There are no switches or jumpers to set.
Configuration is controlled by your systems’ BIOS. Simply turn off your PC, open it up and insert the
PCI-DAS4020/12 into any available PCI slot.
If you are using an operating system with support for Plug and Play (such as Windows 95 or 98), a dialog
box will pop up as the system loads indicating that new hardware was detected. If the information file for
this board is not already loaded onto your PC, you are prompted for a disk containing it. The
software supplied with your board contains this file. Just insert the disk or CD and click OK.
Insta
Cal™
To easily test your installation, install I
your board. Refer to the
installation of
Insta
Software Installation Manual
Cal and optional universal library™ software.
nsta
Cal, the installation, calibration, and test utility supplied with
for information on the initial setup, loading, and
4
Page 9
3. CONNECTIONS
Figure 3-1 shows the pinout for the 40-pin connector. Figure 3-2 shows the
BNC connectors.
NOTE: When using analog outputs VDAC0 and VDAC1, use VDAC RETURN only (pin 38) for the
return.
Figure 3-1. 40-Pin Connector
5
Page 10
Channel 0
Channel 1
Channel 2
Channel 3
Trigger Input
View from rear of the PC.
Figure 3-2. Analog Inputs and Trigger Input BNC Connectors
6
Page 11
4. PROGRAMMING AND APPLICATIONS
After following the installation instructions, your PCI-DAS4020/12 is ready for use. Although the board
is part of the larger DAS family, there is no correspondence between registers. Software written at the
register level for other DAS models will not work with the PCI-DAS4020/12.
4.1 PROGRAMMING LANGUAGES
The ComputerBoards Universal Library™ provides complete access to the PCI-DAS4020/12 functions
from a variety of Windows programming languages. If you are planning to write programs, or would like
to run the example programs for Visual Basic or any other language, please refer to the Universal Library
manual.
VIX Components is a set of programming tools based on a DLL interface to Windows languages. A set of
VBX, OCX or ActiveX interfaces allows point-and-click construction of graphical displays, analysis and
control structures. Please refer to the catalog for a complete description of the package.
4.2 PACKAGED APPLICATIONS PROGRAMS
Many packaged application programs, such as DAS-Wizard™, Labtech Notebook™, and HP-VEE™,
now have drivers for the PCI-DAS4020/12. If the package you own does not appear to have drivers for
the board, please fax or e-mail the package name and the revision number from the install disks. We will
research the package for you and advise how to obtain PCI-DAS4020/12 drivers.
Some application drivers are included with the Universal Library package, but not with the Application
package. If you have purchased an application package directly from the software vendor, you may need
to purchase our Universal Library and drivers. Please contact us for more information on this topic.
Any operations to the PLX 9080 PCI controller registers at BAR0 require a thorough understanding of the
9080 chip specification. Detailed descriptions of 9080 operation are beyond the scope of this document.
The interested reader is encouraged to obtain the “PLX New Products Catalog, February 1998” for
detailed programming information.
The PLX 9080 provides internal address decoding which allows remapping of BAR2 and BAR3 to
convenient Local Address values. This eases the burden of Local Bus address decoding. The remap and
space-specific parameters for the PCI-DAS4020/12 are summarized in Table 5-2 below:
Table 5-2. Address Remap
PCI BAR
BAR2Registers16N4K0x0000 2000
BAR3FIFOs 32Y4K0x0000 3000
Space
WidthBurst EnabledSizeRemap Address
NOTE: Unless otherwise specified, the remapped version of BAR2 is referred to as LocalSpace0
while the remap of BAR3 will be referred to as LocalSpace1.Register Summary
8
Page 13
5.2 LOCALSPACE0 WRITE-ONLY REGISTERS
Table 5-3 summarizes the LocalSpace0 write-only registers (16-bit).
ATRIG HIGH register0x0E
Control Register 00x10
Control Register 10x12
Sample Interval Register (LOW)0x16
Sample Interval Register (HIGH)0x18
Sample/Scan Count Register (LOW)0x1E
Sample/Scan Count Register (HIGH)0x20
DAQ Soft Start Command0x22
DAQ Single Conversion Command0x24
ADC FIFO pointer clear command0x2A
DAC Register GroupDAC Control Register 10x52
DAC0 Single Conversion Command (LSB)0x70
DAC0 Single Conversion Command (MSB)0x72
DAC1 Single Conversion Command (LSB)0x74
DAC1 Single Conversion Command (MSB)0x76
5.3 LOCALSPACE0 READ-ONLY REGISTERS
Table 5-4 summarizes the LocalSpace0 read-only registers (16-bit).
Table 5-4. LocalSpace0 Read-Only Registers
Register NameOffset Address
Hardware Status Register0x00
ADC Read Pointer Register0x08
ADC Write Pointer Register0x0C
User XFER Counter Register (LOW)0x10
Pre/Post Register0x14
User Chip Select 10x48:4E
5.4 LOCALSPACE0 READ/WRITE REGISTERS
Table 5-5 summarizes the LocalSpace0 read/write registers (16-bit):
Table 5-5. LocalSpace0 Read/Write Registers
Register GroupRegister NameOffset Address
Primary Digital I/O (8255)Digital Port A0x48
Digital Port B0x4A
Digital Port C0x4C
Digital Port Control0x4E
9
Page 14
5.4.1 LocalSpace0 Read/Write Registers
Table 5-6 identifies the LocalSpace0 read/write register (32-bit):
Table 5-6. LocalSpace0 Read/Write Register
Register NameOffset Address
ADC XFIFO0x200
5.4.2 LocalSpace0 Serial Devices
Table 5-7 summarizes the LocalSpace0 write-only serial devices:
Table 5-7. LocalSpace0 Write-Only Serial Devices
I2C DeviceAddress
I2C Register0x40
CAL DAC00x18
CAL DAC10x1A
5.4.3 Register Descriptions – Detailed
This section provides detailed descriptions of all LocalSpace0 registers. Note that the DAQ refers to
analog-input
data acquisition while DAC refers to
analog output
operations. Bit locations that are hard-
coded with either (0) or a (1) must be written with these values during register accesses.
5.4.4 LocalSpace0 Write-only Registers
Configuration Group
Interrupt Enable Register
15141312111098
OVERRUNDAQ_STOPDAQ_ACTIVEXINT
MSB
76 5 43210
DAQDONEDAQ_IENB0DAQ_ISRC0
LSB
10
Page 15
BitNameDescription
15OVERRUNDAQ Overrun Enable – If this bit is set, a DAQ overrun condition can be detected. DAQ
overrun does not cause an interrupt but does set a bit in the Status register.
10DAQ_STOPDAQ STOP Interrupt Enable – If this bit is set, an interrupt is generated when the stop
trigger (TRIG2) is detected.
9DAQ_ACTIVEDAQ ACTIVE Interrupt Enable – If this bit is set, an interrupt is generated when a DAQ
sequence is active.
8XINTXINT Interrupt Enable – If this bit is set, the external XINT sig nal can generate an
interrupt.
3DAQDONEDAQDONE Interrupt Enable – If this bit is set, an interrupt is generated when the DAQ
sequence completes. A DAQ sequence ends by running its course or when an OVERRUN
condition occurs.
2DAQ_IENBDAQ Interrupt Enable – If this bit is set, one of the DAQ_ISRC conditions generates an
interrupt.
0DAQ_ISRC0DAQ Interrupt Source select – T his bit is used to select an additional DAQ interrupt
source, in addition to the DAQDONE source.
DAQ_ISRC0Description
0DAQ FIFO ¼ Full
1DAQ Single Conversion: An interrupt is generated each conversion.
Single Conversion Command: An interrupt can be generated for each ADC conversion when the
corresponding ADC data is available in the AFIFO.
Paced Conversions: An interrupt can be generated each ADC conversion during paced conversions
when the corresponding ADC data is available in the AFIFO. T he following restrictions apply to
this mode:
1. For single-channel paced conversions, place the STC in 2-Channel mode via DAQ Control 1
register.
2. Set the DSBL_DMA bit via the DAQ Control 0 register.
3. After the interrupt has been received, issue an ADC FIFO pointer clear command to permit
data to be retrieved form the FIFO.
BitNameDescription
6-0ASEG(6:0)ADC buffer segment size (FIFO size): The FIFO size can range from 256 samples deep
upward to 32K samples deep, in increments of 256 samples. Note that the FIFO is actually 24
bits wide; therefore, two samples can be stored per FIFO location.
Note: There are actually two FIFO banks (X and Y) populated on the board. Each bank can provide 64K
samples. In Burst mode the total FIFO size maximum is 2 x 64K = 128K samples.
XTRIG1 Mode bit in the DAQ Control Re gister 0 must be set for this bit to be used.
13XAGATE_SRCExternal AGATE Source select: 0 = AGATE pin; 1 = BNC source
12-2THRESH_L(11:0)Threshold Low Value: This register is used to load the LOW threshold value for
BitNameDescription
15DAQ_ENBData Acquisition Enable – T his bit enables and disables a data acquisition operation. It
is the master enable for DAQ operations.
14DMA_DSBLDMA Disable; This bit should be cleared only when the STC device is transferring
data to the host via DEMAND MODE DMA. Refer to the PLX New Products catalog
for DEMAND MODE DMA details.
13GATE_SEQGATE ON Sequence: If this bit is set in multi-channel mode, an inactive gate will
pause the data acquisition after the current scan sequence has completed. If this bit is
cleared, an inactive gate pauses the data acquisition immediately.
12SAMPCNT ENBSample Counter Enable. When this bit is set, the DAQ Sample counter in enabled. This
bit must be set for pre/post triggered mode.
11XCONV_POLExternal A/D Convert polarity control. This bit controls the polarity of the External
A/D convert input signal. If a low-to-high edge of XCONV is to be used to initiate a
conversion then this bit should be cleared. If a high-to-low edge of XCONV is to be
used to initiate a conversion t hen this bit should be set.
9TRIG2_ENBTRIG2 pre-trigger Enable. This bit enables pre-trigger mode.
8TRIG2_POLTRIG2 trigger polarity select: 0 = rising edge trigger; 1 = falling edge trigger.
7TRIG2_SRCTRIG2 pre-trigger source select: 0 = External X_TRIG2 pin; 1 = Analog Trigger.
6TRIG1_POLTRIG1 trigger polarity select: 0 = rising edge trigger; 1 = falling edge trigger.
5-4TRIG1_SRC(1:0)TRIG1 Source select – These bits are used to select TRIG1 source.
3AG AT E _POLAGATE polarity select: 0 = active high gate; 1 = active low gate.
2AGATE_LVLAGATE Level select; 0 = edge sensiti ve gate; 1 = level sensitive gate;
1-0AGATE_SRC(1:0)AGATE Source select – These bits are used to select AGATE source.
AGATE_SRC1AGATE_SRC0DESCRIPTION
00Disab led
01Soft_Gate
10External AGAT E
11Analog Gate
BitNameDescription
15PSC_ENBPre-Scale Enable bit. If this bit is set then the WCLK is prescaled by 400. If the
WCLK Source is 40 MHz then the Pacer clock source is 40 MHZ/400 = 100 kHz.
13-12CHANMODE(3:0)Channel MODE select bits.
CHANMODE1CHANMODE0MODEComments
00Single
Channel
01Two Channels20MHZ max. sample rate
10Four Channe ls10MHZ max. sample r ate
11Four Cha nnel
Transient
11-10UCHANSEL(1:0)High Channel select bits. These bits are used to select the high channel in Two-
Channel mode.
HCHANSEL1HCHANSEL0Selected Channel
00Channel A
01Channel B
10Channel C
11Channel D
20MHZ max. sample rate
20MHZ max. sample rate; single burst
of 32K samples max per channel.
9-8LCHANSEL(1 :0)Low Channel select bits. These bits select the low c han nel in Two Channel mode.
LCHANSEL1LCHANSEL0Se le cted Channel
00 Channel A
01 Channel B
10 Channel C
11 Channel D
6SFT_GATESoftware DAQ Gate - When SFT_GATE is cleared, no A/D conversions take place. When
SFT_GATE is set, A/D conversions take place normally. SFT_GATE can be used as a
software gating tool, or to inhibit random conversions during setup operations.
5-4ATRIGSRC(1:0)Analog Trigger Channel Source
ATRIGSRC1ATRIGSRC0Selected Channel
00 Channel A
01 Channel B
10 Channel C
11 Channel D
3-1ATRIGMD(2:0)Analog Trigger/Gate Mode select b its.
15
Page 20
Analog Trigger/Gate Modes
ATRIGMD2ATRIGMD1ATRIGMD0ModeDescription
000INACTIVEInactive state. Prior to programming the analog trigger to
the desired state, the analog trigger should be
programmed to the inactive state to clear out the trigger
circuitry.
010Positive
Hysteresis
011Negative
Hysteresis
100Negative
Slope
101Positive
Slope
110WindowThe trigger is gene rated when t he signal value is be tween
The trigger is gene rated when t he signal value is greater
than the high-value, with hysteresis specified by
low_value.
The trigger is gene rated when t he signal value is greater
than the low-value, with hysteresis specified by
high_value.
The trigger is generated when the signal value is less than
low-value.
The trigger is gene rated when t he signal value is greater
than high-value .
BitNameDescription
15-0ADCSMP(15:0)ADC Sample Count lower - The lower 16 bits of the Sample Counter.
Note: The sample counter must always be loaded with a non-zero value prior to enabling a DAQ
sequence. This holds true even when the sample counter is disabled via the SAMPCNT_ENB bit in the
DAQ Control 0 register.
BitNameDescription
15-0ADCSMP(23:16)ADC Sample Count upper - The upper 8 bits of the Sample Counter.
DAQ Start Register
15141312111098
XXXXXXX X
MSB
7654321 0
XXXXXXX X
LSB
BitNameDescription
15-0Don’t care
Accessing the DAQ Start Register location initiates a multiple A/D conversion data acquisition operation.
To trigger the board with the Start DAQ register, the TRIG1_SRC(1:0) bits need to select the soft-trigger
source. Otherwise, strobing the Start DAQ register has no effect.
DAQ Single Conversion Register
15141312111098
XXXXXXCHANSEL1CHANSEL0
MSB
7654321 0
XXXXXXX X
LSB
BitNameDescription
9-9CHANSEL(1:0)These bits select the desired channel to be acquired during the Single Conversion command.
Prior to issuing a DAQ Single Conversion command, access the Attenuation register and select the
desired gain. Note also that since the ADC converters are pipelined, the Sample Interval register must be
programmed with the desired pacer rate prior to issuing this command. Accessing the Single Conversion
Register location initiates a single A/D conversion. Retrieve the actual ADC value by reading the FIFO.
17
Page 22
ADC Buffer Pointer Clear Register
15141312111098
XXXXXXX X
MSB
7654321 0
XXXXXXX X
LSB
BitNameDescription
15-0Don’t care
Accessing the ADC buffer pointer clear register resets the pointer to home state and clears the internal
STC pipeline registers (PIPE2, PIPE1, and PIPE0).
DAC Control Register 1
15141312111098
MSB
7654321 0
DAC_OEDAC1R0DAC0R0
LSB
BitNameDescription
7DAC_OEDAC Output Enable 2DAC1R0These bits configure the range of DAC1 in the analog output section. 0 = bipolar +/-10V; 1 =
bipolar +/-5V.
0DAC0R0These bits configure the range of DAC0 in the analog output section. 0 = bipolar +/-10V; 1 =
bipolar +/-5V.
DAC0 Single Conversion Registers (LSB)
15141312111098
XXXXXXX X
MSB
7654321 0
D7D6D5D4D3D2D1D0
LSB
BitNameDescription
7-0Lower DAC byteThe lower 8-bits of DAC0.
DAC0 Single Conversion Registers (upper nibble)
15141312111098
XXXXXXX X
MSB
7654321 0
XXXXD11D10D9D8
LSB
BitNameDescription
3-0Upper DAC nibbleThe upper 4-bits of DAC0.
18
Page 23
Note: DAC0 is up-dated after the upper nibble has been loaded. Thus, to program DAC0 correctly, load
the lower byte first, then the upper nibble.
DAC1 Single Conversion Registers (LSB)
15141312111098
XXXXXXX X
MSB
7654321 0
D7D6D5D4D3D2D1D0
LSB
BitNameDescription
7-0Lower DAC byteThe lower 8-bits of DAC1.
DAC1 Single Conversion Registers (upper nibble)
15141312111098
XXXXXXX X
MSB
7654321 0
XXXXD11D10D9D8
LSB
BitNameDescription
3-0Upper DAC nibbleThe upper 4-bits of DAC1.
Note: DAC0 is updated after the upper nibble has been loaded. To program DAC1 correctly, load the
lower byte first, then the upper nibble.
15-13REV(2:0)REV Control Field: Currently = 001’b.
12NEXT_CHANNEXT_CHAN status. This bit is used to determine if an odd or even sample was the last
loaded into FIFO memory. If this bit is 0, the DAQ ope ration ended on an even
boundary. If this bit is 1, the DAQ operation ended on an odd boundary.
11-10PIPEFULL(1:0)STC PIPE FULL status: The STC contains three internal pipe line registers in the DAQ
data path. At the completion of a DAQ operation, these pipeline registers may contain
residual ADC data. The PIPEFULL(1:0) bits provides status on which pipe register
contains valid data.
9TRIG2_FLGIf this bit is set, a DAQ stop trigger interrupt is pending.
8XINT_FLGIf this bit is set, an external interrupt is pending.
7DAQDONEIf this bit is set, the current DAQ operation is complete. If the DAQDONE interrupt was
enabled, it is pending.
5ASRC_FLGIf this bit is set, one o f the DAQ interrupt sources (DAQ_ISRC(1:0) field in the Interrup t
Enable Register) is pending. This bit can also be polled to determine the ADC_BUSY
status after a Single Covert Command has been issued.
19
Page 24
3DAQ_ACTIVEIf this bit is set, the current DAQ operation is active.
1DAQ_OVERRUNIf this bit is set, an overrun error was detected during the previous DAQ operation.
All pending interrupts sourced by the STCs interrupt control logic are serviced by reading the Hardware
Status Register.
15-0XFERCNT (15:0)Lower User Transfer counter data. The overall User Transfer Counter is a 24-bit address.
This register provides the lower 16-bits. Reference the Upper User Transfer Counter for the
remaining upper 8-bits.
Pre-Post Register
15141312111098
0 00000 0
MSB
7 6 54321 0
20
Page 25
CHAIN_FLG1CHAIN_FLG2000000
LSB
7-6CHAIN_FLG(1:0)Chain Flag bits. These bits help determine what scatter-gather chain entry data was last
DMA transferred to. These bits can be compared to the LAD(4:3) bits programmed in the
DMA Channel Local Address register to guarantee that the correct final chain entry has
been located.
5.4.5 I2C INTERFACE:
The analog front-end and calibration circuitry is controlled by a 2-wire I2C interface. The following three
I2C-compatible devices reside on the I2C:
3AD3ATTENChannel D Attenuation Select: 0 = Gain of 1; 1 = Attenuation of 5.
2AD2ATTENChannel C Attenuation Select: 0 = Gain of 1; 1 = Attenuation of 5.
1AD1ATTENChannel B Attenuation Select: 0 = Gain of 1; 1 = Attenuation of 5.
0AD0ATTENChannel A Attenuation Select: 0 = Gain of 1; 1 = Attenuation of 5.
Note: The I2C register reset with all of the bits in the high state.
21
Page 26
I2C DAC0
Address Byte
MSB
7654321 0
0001100 0
LSB
Pointer Byte
MSB
7654321 0
0000OFFSET1GAIN1OFFSET0GAIN0
LSB
MSB Data Byte
MSB
7654321 0
001 0 D9D8D7 D8
LSB
LSB Data Byte
MSB
7654321 0
D5D4D3D2D1D000
LSB
I2C DAC1
Address Byte
MSB
7654321 0
0001101 0
LSB
Pointer Byte
MSB
7654321 0
0000OFFSET3GAIN3OFFSET2GAIN2
LSB
MSB Data Byte
MSB
7654321 0
001 0 D9D8D7 D8
LSB
LSB Data Byte
MSB
7654321 0
D5D4D3D2D1D000
LSB
22
Page 27
6. INITIATING A/D CONVERSIONS
6.1 DEFINITIONS AND IMPLEMENTATION
Convert Clock: – Buffered continuous clock signal that generates ADC conversions.
Start Convert: – Command which initiates A-STC to start transferring data from ADC’s to SRAM.
Trigger: – Initiates the Start Convert process (single conversion or scan of conversions).
Gate: – Masks off scans in a data acquisition sequence.
Figure 6-1 shows the various ways to initiate the executions of A/D conversion.
The description and methods for implementing Start Convert Sources, Trigger Methods, and Gating
Methods are defined in Figure 6-1 below.
Start Convert Source
Options
Software-
Configurable
Internal Pacer
Internal Start
Convert
via
EXTADCONVERT
Trigger Method
Options
Software –Initiated
Single Conversion
or
Scan of Conversions
Externally –Initiated
Single Conversion
or
Scan of Conversions
Via TRIG 1
Pre-Post Trigger
Initiated by
Software and TRIG 2
Pre-Post Trigger
Initiated by
TRIG 1 or Software
and
an Analog Trigger
via ATRIGIN
Gating Method
Options
Software –
Controlled Gate
External Gate
via
AIGATE
A-STC*
Start
Convert
4
Convert
Clock
ADC
Figure 6-1. Initiating A/D Conversions
23
Page 28
6.2 INITIATING CONVERSION VIA THE BNC CONNECTION: RELATED PIN
DESCRIPTIONS
*NOTE: These functions share the same input BNC connection. Therefore, they are mutually exclusive.
The BNC input can be configured for two different threshold settings, 2.5V threshold (TTL), or
0V threshold (+/-5V). See the I2C register for more details.
EXTBNCCLKThis BNC input signal generates start convert commands for the A-STC (System
Timing Chip). It is software-configurable to be active on a rising or falling edge.
TRIG1This BNC input signal triggers a scan (single) conversion. It is software-
configurable to be active on a rising or falling edge. When used in Pre-/PostTriggering applications, TRIG1 initiates the Pre-Triggers.
TRIG2The BNC input signal is used in Pre-/Post-Triggering applications. TRIG2
initiates the Post-Triggers. It is software-configurable to be active on rising or
falling edges.
AIGATEThe BNC input signal generates start convert commands for the A-STC.
AIGATE masks off scans in a data acquisition sequence. It is softwareconfigurable to be active HI or LO, or on a rising or falling edge.
INITIATING CONVERSION VIA ANALOG INPUT BNC CONNECTIONS:
6.3
ATRIGINAny of the four input channels can be used as an analog input trigger. They are
software-configurable to trigger above or below a reference level (with or
without hysteresis) or to trigger in or out of a reference window.
24
Page 29
7. CALIBRATION
The PCI_DAS4020/12 provides self-calibration of the analog inputs, eliminating the need for external
equipment and user adjustments. All adjustments are made via 10-bit calibration DACs that are
referenced to the on-board factory calibrated standard. Each channel has a pair of dedicated 10-bit DACs
used to trim out offset and gain errors. Offset calibration is performed by adjusting the offset voltage at
the input of each ADC. Gain adjustment is performed via the ADC reference pin.
The board is fully calibrated at the factory with calibration coefficients stored in nvRAM. At run time,
these calibration factors are loaded into system memory and are automatically retrieved each time a
different ADC range is specified.
7.1 CALIBRATING THE PCI-DAC4020/12
The user can recalibrate any time using factory voltage standards by selecting the
Insat
Cal. Simply launch
less than two minutes. We strongly recommend that you turn your computer on, and allow at least 30
minutes for the internal case temperature to stabilize prior to calibrating the board.
Insta
Cal, and select the “
Calibrate
” option. A full calibration typically requires
“Calibrate”
option in
25
Page 30
8. SPECIFICATIONS
Typical for 25°C unless otherwise specified.
Analog Inputs
A/D converter typeAD9225, 25 Msps pipelined A/D
Resolution12 bits
Programmable ranges±5V, ±1V
Number of channels4 single-ended, independent ADC’s per channel
Connection4 independent BNC
CouplingDC
A/D Pacer (Conversion Clock)Programmable: Internal counter, External source or software
polled
A/D Auxiliary BNCSoftware selectable for External Analog/Digital Trigger or gate; also
used as an external data acquisition clock source.
Trigger Mode SelectSoftware programmable for TRIG1 or TRIG2
External Gate Mode - AIGATE
Input impedance50 ohms, 1Mohm selectable (Coaxial cable termination)
Input configurationTTL (2.5V threshold) or +/-5V bipolar (0V threshold)
with hysteresis
Simultaneous SamplingSoftware selectable option - 1, 2, or 4 channels
A/D Trigger SourcesInternal software, External Analog or Digital
A/D Triggering Modes:
Internal Software:
Software trigger to begin a scan of conversions
Software convert to initiate single conversion
External digital:
Software configurable for rising or falling edge to initiate single
conversion via TRIG1.
26
Page 31
External analog:
Software selectable source for analog trigger: EXTATRIG or any of the
four Analog Input channels.
Resolution: 12-bit, uncalibrated DACs
Hysteresis: Programmable
Levels: Software configurable for above/below reference levels and
in/out of window
Pre- / Post-trigger:
Circular buffer allows unlimited pre-trigger conversions.
16 MB post-trigger conversion capability.
Data acquisition sequence initiated via Software, TRIG1 analog trigger
(if not used for Post-triggering phase). For software initiated pre-trigger
only, post-triggered phase initiated by TRIG2 or analog trigger (if not
used for data acquisition initiation).
A/D Gating Modes
Internal Software:
Software gate to mask off scans in a data acquisition sequence. Available
for all trigger modes.
External digital:
Software configurable for active HI or active LO external gating to mask
off scans in a data acquisition sequence via AIGATE. Available for
Internal Software trigger mode only.
Data transferVia dual 32Kx24 sample FIFO, SRAM based, with Bus-Master DMA
and scatter-gather, interrupt, or software polled.
A/D conversion time40 ns
Throughput20 MHz max, 1 kHz min
Single Channel, single input gain20 MHz continuous
Two Channels (0 and 1 or 2 and 3)20 MHz continuous
Multiple Channels10 MHz continuous,
20 MHz for 32k samples (one FIFO size)
Differential Linearity error±0.4 LSB typ, ±1.0 LSB max
Integral Linearity error±1.0 LSB typ, ±2.5 LSB max
No missing codes guaranteed12 bits
Gain drift (A/D specs)±0.4 ppm/°C + AD780 Reference: ±3 ppm/°C max
Zero drift (A/D specs)±2 ppm/°C
Common Mode Range±10 V
CMRR @ 60Hz90 dB
Input leakage current 2 uA typ, 10 uA max
Input impedance15 Mohms typ, or 50 ohms, selectable
Absolute maximum input voltage±15V
(coaxial cable termination)
27
Page 32
SNR (Signal-to-noise Ratio)66.6 dB
SINAD (Signal-to-noise and 66.5 dB
distortion Ratio)
SFDR (Spurious Free Dynamic Range) 80 dB
THD (Total Harmonic Distortion)80 dB
Analog Outputs
D/A converter typeAD7237
Resolution12 bits
Number of channels2
Output Range±10V, ±5 software selectable
D/A pacingSoftware paced
D/A trigger modesSoftware gate.
Data transferProgrammed I/O
Offset error±9mV max (not calibrated)
Gain error±2LSB max (not calibrated)
Differential nonlinearity±1LSB max
Integral nonlinearity±1LSB max
MonotonicityGuaranteed monotonic over temperature
D/A Gain drift±15 ppm/°C max
D/A Bipolar offset drift±5 ppm/°C
max
ThroughputSystem Dependent
Settling time (20V step to ±½LSB)5µs max
Slew Rate7V/µs
Current Drive±5 mA
Output short-circuit duration25 mA indefinite
Output couplingDC
Output impedance0.5 Ohms max
MiscellaneousSingle buffered output latch
Update DACs individually
On power-up and reset, both DACs are cleared to 0 volts
Digital Input / Output
Digital Type (40-pin connector)8255A
Configuration2 banks of 8, 2 banks of 4, programmable by bank as
input or output
Number of channels24 I/O
Output High3.0 volts min @ 2.5mA
Output Low0.4 volts max @ 2.5 mA
Input High2.0 volts min, Vcc+0.5 volts absolute max
Input Low0.8 volts max, GND −0.5 volts absolute min
Power-up / reset stateInput mode (high impedance)
InterruptsINTA# - mapped to IRQn via PCI BIOS at boot-time
Interrupt enableSoftware programmable, External enable
Interrupt sourcesExternal, internal FIFO status sources
28
Page 33
Crystal oscillator
Frequency40MHz
Frequency accuracy50% duty cycle, 50ppm
Environmental
Operating temperature range0 to 70 °C
Storage temperature range
Humidity0 to 90% non-condensing
−
40 to 100 °C
Power consumption
+5V Operating (A/D converting to FIFO)1.5A typical, 2.0A max
29
Page 34
For your notes.
.
30
Page 35
EC Declaration of Conformity
We, ComputerBoards, Inc., declare under sole responsibility that the product:
PCI-DAS4020/12High speed analog and digital I/O board for PCI bus
Part NumberDescription
to which this declaration relates, meets the essential requirements, is in conformity with, and CE marking
has been applied according to the relevant EC Directives listed below using the relevant section of the
following EC standards and other informative documents:
EU EMC Directive 89/336/EEC: Essential requirements relating to electromagnetic compatibility.
EU 55022 Class B: Limits and methods of measurements of radio interference characteristics of
information technolog y equipm ent.
EN 50082-1: EC generic immunity requirements.
IEC 801-2: Electrostatic discharge requirements for industrial process measurement and control
equipment.
IEC 801-3: Radiated electromagnetic field requirements for industrial process measurements and control
equipment.
IEC 801-4: Electrically fast transients for industrial process measurement and control equipment.
Carl Haapaoja, Director of Quality Assurance
Page 36
ComputerBoards, Inc.
16 Commerce Blvd.,
Middleboro, MA 02346
Tel: (508) 946-5100
Fax: (508) 946-9500
Web: www.computerboards.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.