
Inputs and Outputs ADwin
16 ADwin-Gold USB / ENET, manual version 3.8, October 2005
Address
[HEX] Function Bit Commentary
31:16 15:10 9876543210
20400000
Set MUX 1: channels 1, 3, 5, …, 15 - - - - - - - - - n n n ""nnn"" binary = 0...7 decimal,
selected ch. = nnn +
Set MUX 2: channels 2, 4, 6, …, 16 - - - - - - n n n - - - ""nnn"" binary = 0...7 decimal,
selected ch. = 2(nnn + 1
Gain PGA 1 - - - - g g - - - - - - ""gg"" binary = 0...3 decimal,
selected gain = 2gg
Gain PGA 2 - - g g - - - - - - - -
20400010
Start conversion: ADC 1 (16-bit) - - - - - - - - - 1 - s
s = 0 : start conversion
s = 1 : no effect
Start conversion: ADC 2 (16-bit) - - - - - - - - - 1 s -
Start conversion: ADC 1 (14-bit) - - - - - - - - s 1 - -
Start conversion: ADC 2 (14-bit) - - - - - - - s - 1 - -
20400020
EOC status: ADC 1 (16-bit) - - - - - - - - - - - e
e = 0 : end of conversion
e = 1 : conversion is running
EOC status: ADC 2 (16-bit) - - - - - - - - - - e -
EOC status: ADC 1 (14-bit) - - - - - - - - e - - -
EOC status: ADC 2 (14-bit) - - - - - - - e - - - -
20400030 Read out register: ADC 1 (16-bit) - x xxxxxxxxxx
x : result of conversion
20400040 Read out register: ADC 2 (16-bit) - x xxxxxxxxxx
20400130 Read out register: ADC 1 (14-bit) - x x x x x x x x x 0 0
20400140 Read out register: ADC 2 (14-bit) - x x x x x x x x x 0 0
20400100 Read out register and start conversion:
ADC 1 (16-bit) - x xxxxxxxxxx
20400110 Read out register and start conversion:
ADC 2 (16-bit) - x xxxxxxxxxx
20400120 Read out register and start conversion:
ADC 1 (14-bit) - x xxxxxxxxxx
204001D0 Read out register and start conversion:
ADC 2 (14-bit) - x xxxxxxxxxx
Fig. 11 – Hardware addresses of the control and data registers for the ADCs
Address
[HEX] Function Bit Commentary
31:16 15:10 9 8 7 6 5 4 3 2 1 0
20400010 Start conversion: All DACs synchronously - - - - - - - 1 1 s 1 1 s = 0 : start conversion
s = 1 : no effect
20400050 Write only to the register: DAC 1 - x x x x x x x x x x x
x : digital value to be converted
20400060 Write only to the register: DAC 2 - x x x x x x x x x x x
20400070 Write only to the register: DAC 3 (Gold-DA) - x x x x x x x x x x x
20400080 Write only to the register: DAC 4 (Gold-DA) - x x x x x x x x x x x
20400090 Write only to the register: DAC 5 (Gold-DA) - x x x x x x x x x x x
204000A0 Write only to the register: DAC 6 (Gold-DA) - x x x x x x x x x x x
20400190 Write only to the register: DAC 7 (Gold-DA) - x x x x x x x x x x x
204001A0 Write only to the register: DAC 8 (Gold-DA) - x x x x x x x x x x x
20400200 Write to the register and start conversion
immediately: DAC 1 - x x x x x x x x x x x
x : digital value to be converted
20400210 Write to the register and start conversion
immediately: DAC 2 - x x x x x x x x x x x
20400220 Write to the register and start conversion
immediately: DAC 3 (Gold-DA)- x x x x x x x x x x x
20400230 Write to the register and start conversion
immediately: DAC 4 (Gold-DA)- x x x x x x x x x x x
20400240 Write to the register and start conversion
immediately: DAC 5 (Gold-DA)- x x x x x x x x x x x
20400250 Write to the register and start conversion
immediately: DAC 6 (Gold-DA)- x x x x x x x x x x x
20400260 Write to the register and start conversion
immediately: DAC 7 (Gold-DA)- x x x x x x x x x x x
20400270 Write to the register and start conversion
immediately: DAC 8 (Gold-DA)- x x x x x x x x x x x
Fig. 12 – Hardware addresses of the control and data register for the DACs