ComputerBoards, Inc PCI-DAS4020/12 Manuale utente

PCI-DAS4020/12
User’s Manual
ComputerBoards, Inc.
Revision 1, April, 2000
© Copyright 2000

ii
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, PCM-
COM485, PCM-DMM, PCM-DAS16D/12, PCM-DAS16S/12, PCM-DAS16D/16, PCM-DAS16S/16,
PCI-DAS6402/16, Universal Library,InstaCal, Harsh Environment Warranty 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

iii
Table of Contents
1. INTRODUCTION AND PRODUCT DESCRIPTION....................................................................... 1
1.1 INTRODUCTION.................................................................................................................................... 1
1.2 ANALOG SIGNAL PATH ....................................................................................................................... 2
1.3 ANALOG OUTPUT SECTION......................................................................................................... 2
1.4 ANALOG OUTPUT SECTION - BLOCK DIAGRAM (FIGURE 1-2) ............................................. 3
1.5 DIGITAL I/O SECTION .................................................................................................................... 3
1.6 POWER DISTRIBUTION SECTION................................................................................................ 3
2. INSTALLATION.................................................................................................................................... 4
3. CONNECTIONS .................................................................................................................................... 5
4. PROGRAMMING AND APPLICATIONS......................................................................................... 7
4.1 PROGRAMMING LANGUAGES .............................................................................................................. 7
4.2 PACKAGED APPLICATIONS PROGRAMS............................................................................................... 7
5. REGISTER DESCRIPTION.................................................................................................................8
5.1 PCI-DAS4020/12 MEMORY MAP ....................................................................................................... 8
5.2 LOCALSPACE0 WRITE-ONLY REGISTERS............................................................................................ 9
5.3 LOCALSPACE0 READ-ONLY REGISTERS ............................................................................................. 9
5.4 LOCALSPACE0 READ/WRITE REGISTERS............................................................................................ 9
5.4.1 LocalSpace0 Read/Write Registers............................................................................................ 10
5.4.2 LocalSpace0 Serial Devices....................................................................................................... 10
5.4.3 Register Descriptions – Detailed................................................................................................ 10
5.4.4 LocalSpace0 Write-only Registers............................................................................................. 10
5.4.5 I2C INTERFACE:...................................................................................................................... 21
6. INITIATING A/D CONVERSIONS...................................................................................................23
6.1 DEFINITIONS AND IMPLEMENTATION................................................................................................ 23
6.2 INITIATING CONVERSION VIA THE BNC CONNECTION: RELATED PIN DESCRIPTIONS..................... 24
6.3 INITIATING CONVERSION VIA ANALOG INPUT BNC CONNECTIONS:................................................. 24
7. CALIBRATION.................................................................................................................................... 25
CALIBRATING THE PCI-DAC4020/12..................................................................................................... 25
8. SPECIFICATIONS.............................................................................................................................. 26

iv
This page is blank.

1
1. INTRODUCTION AND PRODUCT DESCRIPTION
1.1 INTRODUCTION
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.
BNC
BNC
INPUT
MUX
GAIN & OFFSET
AUTOCAL
ADC
IN
SYSTEM
TIMING
CONTROLLER
DUAL
32Kx24
SRAM
PC BUS
CONTROLLER
USER
DUAL 12-BIT
DACs
USER
DIGITAL I/0
(8255)
PCI BUS CONNECTOR
(5V, 32 BIT, 33 MHZ)
VREF
CONV
ATTENUATOR/
AMPLIFIER
ANALOG
CLOCK/
TRIGGER
LOCAL BUS
EXTERNAL PACER,
TRIG1, TRIG2,
or GATE
FOUR ANALOG INPUT CHANNELS PER BOARD
50 Ohm
ANALOG
OUTPUTS
24 I/O
FOUR
CHANNELS
12
Figure 1-1. PCI-DAS4020/12 Block Diagram

2
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;
•+/-1V or +/-5V bipolar ranges, software-selectable (Table 1-1);
•Auto-calibration for offset and gain adjustments for each channel and each range.
Table 1-1. Input Range
FULL SCALE
INPUT RANGE ATTENUATION DIVIDER
OUTPUT
+5V to -5V 5 +/-1V
+1V to -1V 1 +/-1V
1.3 ANALOG OUTPUT SECTION
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 INPUT CODE
BINARY 12 BIT INPUT
CODE HEX 12 BIT OUTPUT
VOLTAGE
+/- 10V 0000 0000 0000 000h −10.000 V
+/- 10V 1000 0000 0000 800h 0 V
+/- 10V 1111 1111 1111 FFFh +9.99513 V
+/- 5V 0000 0000 0000 000h −5.000 V
+/- 5V 1000 0000 0000 800h 0 V
+/- 5V 1111 1111 1111 FFFh +4.99756 V

3
1.4 ANALOG OUTPUT SECTION - BLOCK DIAGRAM (FIGURE 1-2)
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.
Range Select
AD7237
Dual DAC DAC0
DAC1
VDAC0
VDAC1
Precision
Summing Amps
To Auxiliary
connector and
Analog Trigger
circuit

4
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 InstaCal™
software supplied with your board contains this file. Just insert the disk or CD and click OK.
To easily test your installation, install InstaCal, the installation, calibration, and test utility supplied with
your board. Refer to the Software Installation Manual for information on the initial setup, loading, and
installation of InstaCal and optional universal library™ software.

5
3. CONNECTIONS
Figure 3-1 shows the pinout for the 40-pin connector. Figure 3-2 shows the Analog Inputs and Trigger In
BNC connectors.
I_XINT* 1
XINT_EN* 3
PB7 5
PB6 7
PB5 9
PB4 11
PB3 13
PB2 15
PB1 17
PB0 19
GND 21
NC 23
GND 25
NC 27
GND 29
NC 31
GND 33
+5V 35
GND 37
VDAC0 39
2 +5V
4 GND
6 PC7 (IAIGATE)
8 PC6 (ITRIG2)
10 PC5 (ITRIG1/EXT CLK)
12 PC4
14 PC3
16 PC2
18 PC1
20 PC0
22 PA7
24 PA6
26 PA5
28 PA4
30 PA3
32 PA2
34 PA1
36 PA0
38 VDAC RETURN
40 VDAC1
PCI-DAS4020/12 Connector Diagram
*PINS1&3HAVE10KPULL-UP RESISTORS INSTALLED.
P3
Figure 3-1. 40-Pin Connector
NOTE: When using analog outputs VDAC0 and VDAC1, use VDAC RETURN only (pin 38) for the
return.

6
View from rear of the PC.
Channel 0
Channel 1
Channel 2
Channel 3
Trigger Input
Figure 3-2. Analog Inputs and Trigger Input BNC Connectors
Indice

















