English
Language : 

AD7708BRZ Datasheet, PDF (30/44 Pages) Analog Devices – 8-/10-Channel, Low Voltage, Low Power, - ADCs
AD7708/AD7718
I/O Control Register (IOCON): (A3, A2, A1, A0 = 0, 1, 1, 1; Power-On-Reset = 00Hex)
The IOCON Register is an 8-bit register from which data can be read or to which data can be written. This register is used to con-
trol and configure the I/O port. Table XIX outlines the bit designations for this register. IOCON7 through IOCON0 indicate the
bit location, IOCON denoting the bits are in the I/O Control Register. IOCON7 denotes the first bit of the data stream. The num-
ber in brackets indicates the power-on/reset default status of that bit. A write to the IOCON register has immediate effect and does
not reset the ADCs.
IOCON7
(0)
IOCON6
0 (0)
IOCON5
P2DIR (0)
IOCON4
P1DIR (0)
IOCON3
0 (0)
IOCON2
0 (0)
IOCON1 IOCON0
P2DAT (0) P1DAT (0)
Bit
Location
IOCON7
IOCON6
IOCON5
IOCON4
IOCON3
IOCON2
IOCON1
IOCON0
Bit
Mnemonic
0
0
P2DIR
P1DIR
0
0
P2DAT
P1DAT
Table XIX. IOCON (I/O Control Register) Bit Designations
Description
This bit should always be cleared. Reserved for future use.
This bit should always be cleared. Reserved for future use.
P2, I/O Direction Control Bit.
Set by user to enable P2 as an output.
Cleared by user to enable P2 as an input. There are weak pull-ups internally when enabled
as an input.
P1, I/O Direction Control Bit.
Set by user to enable P1 as an output.
Cleared by user to enable P1 as an input. There are weak pull-ups internally when enabled
as an input.
This bit should always be cleared. Reserved for future use.
This bit should always be cleared. Reserved for future use.
Digital I/O Port (P1) Data Bit.
The readback value of this bit indicates the status of the pin regardless of whether this pin is
configured as an input or an output. The value written to this data bit will appear at the
output port when the I/O pin is enabled as an output.
Digital I/O port (P1) Data Bit.
The readback value of this bit indicates the status of the pin, regardless of whether this pin is
configured as an input or an output. The value written to this data bit will appear at the
output port when the I/O pin is enabled as an output.
ADC Data Result Register (DATA): (A3, A2, A1, A0 = 0, 1, 0, 0; Power-On-Reset = 000000Hex)
The conversion result for the selected ADC channel is stored in the ADC data register (DATA). This register is 16 bits wide on the
AD7708 and 24 bits wide on the AD7718. This is a read only register. On completion of a read from this register the RDY bit in
the status register is cleared. These ADCs can be operated in either unipolar or bipolar mode of operation.
Unipolar Mode
In unipolar mode of operation the output coding is straight binary. With an analog input voltage of 0 V the output code is 0000Hex
for the AD7708 and 000000Hex for the AD7718. With an analog input voltage of 1.024 VREF/Gain the output code is FFFFHex
for the AD7708 and FFFFFF Hex for the AD7718. The output code for any analog input voltage can be represented as follows:
Code = (AIN × GAIN × 2N)/(1.024 × VREF)
where
AIN is the analog input voltage and
N = 16 for the AD7708 and N = 24 for the AD7718.
–30–
REV. 0