Datasheet

19
www.ti.com
TSC2200
SBAS191F
MSB LSB
BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
1 0111 011X X X X XXXX
TABLE XXXI. Reset Register.
MSB LSB
BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
K15 K14 K13 K12 K11 K10 K9 K8 K7 K6 K5 K4 K3 K2 K1 K0
TABLE XXXIII. Keypad Data Register.
MSB LSB
BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
X X X X X X X X D7 D6 D5 D4 D3 D2 D1 D0
TABLE XXXIV. D/A Converter Register.
TABLE XXXII. Result Data Format.
MSB LSB
BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
0 0 0 0 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
MSB LSB
TSC2200 DATA REGISTERS
The data registers of the TSC2200 hold data results from
conversions or keypad scans, or the value of the D/A converter
output current. All of these registers default to 0000
H
upon
reset, except the D/A converter register, which is set to 0080
H
,
representing the midscale output of the D/A converter.
X, Y, Z
1
, Z
2
, BAT1, BAT2, AUX1, AUX2, TEMP1,
AND TEMP2 REGISTERS
The results of all A/D conversions are placed in the appro-
priate data register (see Tables III and VIII). The data format
of the result word, R, of these registers is right-justified, as
shown in Table XXXII.
KEYPAD DATA REGISTER
(PAGE 0, ADDRESS 04
H
)
The Keypad Data register (Page 0, Address 04
H
) is format-
ted as shown in Table XXXIII.
This is the same format as used in the Keypad Mask register
(Page 1, Address 10
H
). Each bit in these registers represents
one key on the keypad. A 16-key keypad is mapped into the
Keypad Data register, see Table XXIX.
D/A CONVERTER DATA REGISTER
(PAGE 0, ADDRESS 0B
H
)
The data to be written to the D/A converter is written into the
D/A converter data register, which is formatted as shown in
Table XXXIV.
ZERO REGISTER
(PAGE 0, ADDRESS 10
H
)
This is a reserved data register, but instead of reading all 1s
(FFFF
H
), when read will return all 0s (0000
H
).
OPERATIONTOUCH SCREEN MEASUREMENTS
As noted previously in the discussion of the A/D converter,
several operating modes can be used, which allow great
flexibility for the host processor. These different modes will
now be examined.
Conversion Controlled by TSC2200 Initiated at
Touch Detect
In this mode, the TSC2200 will detect when the touch panel is
touched and cause the
PENIRQ
line to go LOW. At the same
time, the TSC2200 will start up its internal clock. It will then turn
on the Y-drivers, and after a programmed Panel Voltage
Stabilization time, power up the A/D converter and convert the
Y-coordinate. If averaging is selected, several conversions
may take place; when data averaging is complete, the Y-
coordinate result will be stored in the Y-register.
If the screen is still touched at this time, the X-drivers will be
enabled, and the process will repeat, but instead measuring
the X-coordinate and storing the result in the X-register.
If only X- and Y-coordinates are to be measured, then the
conversion process is complete. See Figure 8 for a flowchart
for this process. The time it takes to go through this process
depends upon the selected resolution, internal conversion
clock rate, averaging selected, panel voltage stabilization
time, and precharge and sense times.