ADwin-Gold
USB / ENET, manual version 3.8, October 2005
A-5
Annex
ADwin
A.2 Hardware Addresses - General Overview
Address
[HEX]
Function
Bit No..
Comment
Register available
in the module
31:16 15:10 9 8 7 6 5 4 3 2 1 0
Gold
Gold-
DA
Gold-
CO1
20400000
Set MUX 1: IN1, IN3, …, IN15
-
-
- - - - - - - n n n
"nnn"binary = 0…7 decimal,
selected channel = nnn + 1
x
x
x
Set MUX 2: IN2, IN4, …, IN16
-
-
- - - - n n n - - -
"nnn" binary = 0…7 decimal,
selected channel = 2
×
(nnn + 1)
x
x
x
Gain PGA 1
-
-
- - g g - - - - - - "gg" binary = 0…3 decimal,
selected channel = 2
gg
x
x
x
Gain PGA 2
-
-
g g - - - - - - - -
x
x
x
20400010
Start conversion: ADC 1, 16-bit
-
-
- - - - - 1 1 1 1 s
s = 0 : start conversion
s = 1 : no effect
x
x
x
Start conversion: ADC 2, 16-bit
-
-
- - - - - 1 1 1 s 1
Start conversion: all DACs synchro-
nously
-
-
- - - - - 1 1 s 1 1
Start conversion: ADC 1, 14-bit
-
-
- - - - - 1 s 1 1 1
Start conversion: ADC 2, 14-bit
-
-
- - - - - s 1 1 1 1
20400020
Start conversion: ADC 1, 16-bit
-
-
- - - - - - - - - e
e = 0 : end of conversion
e = 1 : conversion is running
x
x
x
Start conversion: ADC 2, 16-bit
-
-
- - - - - - - - e -
Start conversion: ADC 1, 14-bit
-
-
- - - - - - - e - -
Start conversion:: ADC 2, 14-bit
-
-
- - - - - - e - - -
20400030
Read out register: ADC 1, 16-bit
-
x
x x x x x x x x x x
x : result of the conversion
x
x
x
20400040
Read out register: ADC 2, 16-bit
-
x
x x x x x x x x x x
x
x
x
20400050
Write only into register: DAC 1
-
x
x x x x x x x x x x
x : digital value to be converted
x
x
x
20400060
Write only into register: DAC 2
-
x
x x x x x x x x x x
x
x
x
20400070
Write only into register: DAC 3
-
x
x x x x x x x x x x
–
x
–
20400080
Write only into register: DAC 4
-
x
x x x x x x x x x x
–
x
–
20400090
Write only into register: DAC 5
-
x
x x x x x x x x x x
–
x
–
204000A0
Write only into register: DAC 6
-
x
x x x x x x x x x x
–
x
–
204000B0
Input regiser DIO00:DIO15
-
x
x x x x x x x x x x x : read digital value
x
x
x
204000C0
Output registerDIO16:DIO31
-
x
x x x x x x x x x x x : digital value to be output
x
x
x
20400100
Read out register and start conver-
sion: ADC 1, 16-bit
-
x
x x x x x x x x x x
x : result of the conversion
x
x
x
20400110
Read out register and start conver-
sion: ADC 2, 16-bit
-
x
x x x x x x x x x x
x
x
x
20400120
Read out register and start conver-
sion: ADC 1, 14-bit
-
x
x x x x x x x x 0 0
x
x
x
20400130
Read out register: ADC 1, 14-bit
-
x
x x x x x x x x 0 0
x
x
x
20400140
Read out register: ADC 2, 14-bit
-
x
x x x x x x x x 0 0
x
x
x
20400190
Write only into register: DAC 7
-
x
x x x x x x x x x x
x : digital value to be converted
–
x
–
204001A0
Write only into register: DAC 8
-
x
x x x x x x x x x x
–
x
–
204001B0
Input register DIO16:DIO31
-
x
x x x x x x x x x x x : digital value to be read in
x
x
x
204001C0
Output register DIO00:DIO15
-
x
x x x x x x x x x x x : digital value to be output
x
x
x
204001D0
Read out register and start conver-
sion: ADC 2, 14-bit
-
x
x x x x x x x x 0 0 x : digital value to be converted
x
x
x
204001E0
Configure DIO00:DIO07
0
0
0 0 0 0 0 0 - - - c
c = 0 : inputs
c = 1 : outputs
x
x
x
Configure DIO08:DIO15
0
0
0 0 0 0 0 0 - - c -
x
x
x
Configure DIO16:DIO23
0
0
0 0 0 0 0 0 - c - -
x
x
x
Configure DIO24:DIO31
0
0
0 0 0 0 0 0 c - - -
x
x
x
20400200
Write into register and start conver-
sion immediately: DAC 1
-
x
x x x x x x x x x x x : digital value to be converted
x
x
x
20400204
Contents of Latch A, counter 1
x
x
x x x x x x x x x x
x :contents of the latch
x
x
x
20400208
Contents of Latch B, counter 1
x
x
x x x x x x x x x x
–
–
x
20400210
Write into register and start conver-
sion immediately: DAC 2
-
x
x x x x x x x x x x x : digital value to be converted
x
x
x
20400214
Contents of Latch A, counter 2
x
x
x x x x x x x x x x
x :contents of the latch
x
x
x
20400218
Contents of Latch B, counter 2
x
x
x x x x x x x x x x
–
–
x
20400220
Write into register and start conver-
sion immediately DAC 3
-
x
x x x x x x x x x x x : digital value to be converted
–
x
–
20400224
Contents of Latch A, counter 3
x
x
x x x x x x x x x x
x : contents of the latch
–
–
x
20400228
Contents of Latch B, counter 3
x
x
x x x x x x x x x x
–
–
x
20400230
Write into register and start conver-
sion immediately DAC 4
-
x
x x x x x x x x x x x :digital value to be converted
–
x
–
20400234
Contents of Latch A, counter 4
x
x
x x x x x x x x x x
x : contents of the latch
–
–
x
20400238
Contents of Latch B, counter 4
x
x
x x x x x x x x x x
–
–
x