DMM-32X-AT User Manual V1.03 Page 2
DMM-32X-AT 16-Bit Analog I/O PC/104 Module With Autocalibration
TABLE OF CONTENTS
1. D
ESCRIPTION
......................................................................................................................................................4
2. F
EATURES
...........................................................................................................................................................5
3. DMM-32X-AT
B
OARD
D
RAWING
......................................................................................................................6
4. I/O
H
EADERS
P
INOUT AND
P
IN
D
ESCRIPTION
......................................................................................................7
4.1 Analog I/O Header – J3.............................................................................................................................7
4.2 Digital I/O Header – J4.............................................................................................................................8
4.3 Auxiliary I/O Header – J11 .......................................................................................................................9
5. B
OARD
C
ONFIGURATION
...................................................................................................................................10
5.1 Base Address............................................................................................................................................10
5.2 Interrupt level ..........................................................................................................................................10
5.3 DMA level ................................................................................................................................................10
5.4 Single-Ended / Differential A/D Channels...............................................................................................11
5.5 D/A Configuration ...................................................................................................................................12
5.6 Digital I/O Pull-Up / Pull-Down .............................................................................................................12
5.7 16-Bit Data Bus .......................................................................................................................................12
6. I/O
R
EGISTER
M
AP
...........................................................................................................................................13
6.1 I/O Map Description................................................................................................................................14
6.2 I/O Map Reference – Write......................................................................................................................15
6.3 I/O Map Reference – Read ......................................................................................................................16
6.4 I/O Map Details .......................................................................................................................................17
6.5 Page 0: 82C54 Counter/Timer Access.....................................................................................................30
6.6 Page 1: 82C55 Digital I/O Circuit ..........................................................................................................31
6.7 Page 2: Expanded FIFO Control ............................................................................................................32
6.8 Page 3: Autocalibration Registers...........................................................................................................33
6.9 Page 4: dsPIC Interface ..........................................................................................................................36
6.10 Page 5: D/A Waveform Generator ..........................................................................................................39
6.11 Page 6: CPLD I/O Window .....................................................................................................................40
7. E
NABLING ENHANCED FEATURES
......................................................................................................................41
7.1 Enabling Enhanced Features (Enhanced Mode).....................................................................................41
7.2 Disabling Enhanced Features (Normal Mode)........................................................................................41
8. A
NALOG
I
NPUT
R
ANGES AND
R
ESOLUTION
.......................................................................................................42
8.1 Unipolar and Bipolar Inputs ...................................................................................................................42
8.2 Input Ranges and Resolution ...................................................................................................................42
8.3 A/D Conversion Formulas .......................................................................................................................43
8.4 Correlation between A/D Code and Input Voltage..................................................................................44
9. P
ERFORMING AN
A/D
C
ONVERSION
..................................................................................................................45
9.1 Select the input channel or input channel range .....................................................................................45
9.2 Select the analog input range ..................................................................................................................46
9.3 Wait for the analog circuit to settle .........................................................................................................46
9.4 Start an A/D conversion on the current channel .....................................................................................46
9.5 Wait for the conversion to finish..............................................................................................................46
9.6 Read the A/D data....................................................................................................................................46
9.7 Convert the numerical data to a meaningful value..................................................................................46
10. A/D
S
AMPLING
M
ETHODS
............................................................................................................................47
10.1 Sampling Modes ......................................................................................................................................47
10.2 FIFO Description ....................................................................................................................................48
10.3 Scan Sampling .........................................................................................................................................48
10.4 Sequential Sampling ................................................................................................................................48
(Conti
nued on following page)