
AD7877
Table 6. Codes for Selecting Input Channel and Normal or Ratiometric Conversion
Channel
SER/DFR
CHADD(3:0)
0
0
0 0 0 0
1
0
0 0 0 1
2
0
0 0 1 0
3
0
0 01 1
4
0
0 1 00
5
0
0 1 0 1
6
0
0 1 1 0
7
0
0 1 1 1
8
0
1 0 0 0
9
0
1 0 0 1
10
0
1 0 1 0
-
0
1 0 1 1
-
0
1 1 0 0
-
0
1 1 0 1
-
0
1 1 1 0
-
0
1 1 1 1
0
1
0 0 0 0
1
1
0 0 0 1
2
1
0 0 1 0
3
1
0 0 1 1
4
1
0 1 0 0
5
1
0 1 0 1
6
1
0 1 1 0
7
1
0 1 1 1
8
1
1 0 0 0
9
1
1 0 0 1
10
1
1 0 1 0
-
1
10 1 1
-
1
1 1 0 0
-
1
1 1 0 1
-
1
1 1 1 0
-
1
1 1 1 1
Rev. A | Page 21 of 44
Analog Input
X+ (Y Position)
Y+ (X Position)
Y (Z2)
AUX1
AUX2
AUX3
BAT1
BAT2
TEMP1
TEMP2
X+ (Z1)
X Switches
OFF
ON
X+ OFF, X ON
OFF
OFF
OFF
OFF
OFF
OFF
OFF
X+ OFF, X ON
Y Switches
ON
OFF
Y+ ON, Y OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
Y+ ON, Y OFF
+REF
Y+
X+
Y+
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
Y+
REF
Y
X
X
GND
GND
GND
GND
GND
GND
GND
X
INVALID ADDRESS
INVALID ADDRESS
INVALID ADDRESS
INVALID ADDRESS
INVALID ADDRESS
X+ (Y Position)
Y+ (X Position)
Y (Z2)
AUX1
AUX2
AUX3
BAT1
BAT2
TEMP1
TEMP2
X+ (Z1)
OFF
ON
X+ OFF, X ON
OFF
OFF
OFF
OFF
OFF
OFF
OFF
X+ OFF, X ON
ON
OFF
Y+ ON, Y OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
Y+ ON, Y OFF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
V
REF
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
INVALID ADDRESS
INVALID ADDRESS
INVALID ADDRESS
INVALID ADDRESS
INVALID ADDRESS
CONTROL REGISTER 2
Timer (Control Register 2 Bits <1:0>)
The TMR bits in Control Register 2 enable the ADC to
repeatedly perform a conversion or conversion sequence either
once only or at intervals of 512 μs, 1.024 ms, or 8.19 ms. In slave
mode, the timer starts as soon as the conversion sequence is
finished. In master mode, the timer starts at the end of a conver-
sion sequence only if the screen remains touched. If the touch is
released at any stage, then the timer stops and, the next time the
screen is touched, a conversion sequence begins immediately.
Table 7. Control Register 2 Timer Selection
TMR1
TMR0
Function
0
0
Convert only once (default)
0
1
Every 1024 clocks (512 μs)
1
0
Every 2048 clocks (1.024 ms)
1
1
Every 16,384 clocks (8.19 ms)
Int/Ext Reference (Control Register 2 Bit <2>)
If the REF bit in Control Register 2 is 0 (default value), the
internal reference is selected. If any connection is made to V
REF
while the internal reference is selected (for example, to supply a
reference to other circuits), it should be buffered. An external
power supply should not be connected to this pin while REF is
equal to 0, because it might overdrive the internal reference.
Note also that, because the internal reference is 2.5 V, it operates
only with supply voltages down to 2.7 V. Below this value an
external reference should be used.
If the REF bit is 1, the V
REF
pin becomes an input and the
internal reference is powered down. This overrides any setting
of the PM bits with regard to the reference. An external
reference can then be applied to the REF pin.