
www.ti.com
www.ti.com
TSC2302
SLAS394–JULY 2003
Table 5. STS Bit Operation
STS
READ/WRITE
VALUE
DESCRIPTION
Read
0
Converter is busy
Read
1
Converter is not busy (default)
Write
0
Normal operation
Write
1
Stop conversion and power down
Bits [13:10] — AD3 - AD0
ADC Function Select bits. These bits control which input is to be converted, and what mode the converter is
placed in. These bits are the same whether reading or writing. See Table 6 for a complete listing of how these
bits are used.
Table 6. ADC Function Select
A/D3
A/D2 A/D1
A/D0
FUNCTION
0
0
0
0
Invalid. No registers are updated. This is the default state after a reset.
0
0
0
1
Touch screen scan function: X and Y coordinates converted and the results returned to X and Y data
registers. Scan continues until either the pen is lifted or a stop bit is sent.
0
0
1
0
Touch screen scan function: X, Y, Z1 and Z2 coordinates converted and the results returned to X, Y, Z1 and
Z2 data registers. Scan continues until either the pen is lifted or a stop bit is sent.
0
0
1
1
Touch screen scan function: X coordinate converted and the results returned to X data register.
0
1
0
0
Touch screen scan function: Y coordinate converted and the results returned to Y data register.
0
1
0
1
Touch screen scan function: Z1 and Z2 coordinates converted and the results returned to Z1 and Z2 data
registers.
0
1
1
0
Battery input 1 converted and the results returned to the BAT1 data register.
0
1
1
1
Battery input 2 converted and the results returned to the BAT2 data register.
1
0
0
0
Auxiliary input 1 converted and the results returned to the AUX1 data register.
1
0
0
1
Auxiliary input 2 converted and the results returned to the AUX2 data register.
1
0
1
0
A temperature measurement is made and the results returned to the temperature measurement 1 data
register.
1
0
1
1
Port scan function: Battery input 1, Battery input 2, Auxiliary input 1, and Auxiliary input 2 measurements are
made and the results returned to the appropriate data registers
1
1
0
0
A differential temperature measurement is made and the results returned to the temperature measurement 2
data register.
1
1
0
1
Turn on X+, X- drivers
1
1
1
0
Turn on Y+, Y- drivers
1
1
1
1
Turn on Y+, X- drivers
Bits[9:8] — RS1, RS0
Resolution Control. The ADC resolution is specified with these bits. SeeTable 7 for a description of these bits.
These bits are the same whether reading or writing.
Table 7. ADC Resolution Control
RS1
RS0
FUNCTION
0
0
12-bit resolution. Power up and reset default.
0
1
8-bit resolution
1
0
10-bit resolution
1
1
12-bit resolution
25