Datasheet
www.ti.com
Conversion Controlled by TSC2004 Initiated by Host (TSMode 2)
t
COORDINATE
+
OH1
f
OSC
)2 @
ǒ
t
PVS
)t
PRE
)t
SNS
)
OH
DLY1
f
OSC
Ǔ
)2 @
ǒ
N @
ǒ(
B)2
)
@
f
OSC
f
ADC
)OH
CONV
Ǔ
@
ǒ
1
f
OSC
Ǔ
)
ǒ
L
PPRO
f
OSC
Ǔ
Ǔ
(7)
Detecting
Touch
PINTDAV Programmed:
As ,
CFR2,D[15:14]=10
PENIRQ
As ,
CFR2,D[15:14]=11or01
DAV
As and ,
CFR2,D[15:14]=00
PENIRQ DAV
Programmed
for
Host-
Controlled
Mode
(PSM=0)
TSC
Not
Addressed
P ograr mm d
for
X-Y
ScanMode
e
Reading
X-Data
Register
WaitingforHostto
WriteInto
ControlByte1D[6:3]
Sample,Conversion,
andPreprocessingfor
YCoordinate
TouchisStillHere
Reading
Y-Data
Register
TSC
NotAddressed
TSC
NotAddressed
Detecting
Touch
TouchisDetected
TouchisDetected
Sample,Conversion,
andPreprocessingfor
XCoordinate
Detecting
Touch
t
COORDINATE
Detecting
Touch
Sample,Conversion,
andPreprocessingfor
YCoordinate
TSC2004
SBAS408E – JUNE 2007 – REVISED MARCH 2008
In TSMode 2, the TSC2004 detects when the touch panel is touched and causes the internal Pen-Touch signal
to activate, which lowers the PINTDAV output if it is programmed as PENIRQ. The host recognizes the interrupt
request, and then writes to the A/D Converter Control register to select one of the two touch screen scan
functions:
1. X-Y-Z Scan (converter function select bits C[3:0] = Control Byte 1 D[6:3] = 0000); or
2. X-Y Scan (converter function select bits C[3:0] = Control Byte 1 D[6:3] = 0001).
See Table 7 for more information on the converter function select bits.
The conversion process then proceeds as shown in Figure 41 ; see the previous sections for more details.
The main difference between this mode and the previous mode is that the host, not the TSC2004, decides when
the touch screen scan begins.
The time needed to convert both X and Y coordinates under host control (not including the time needed to send
the command over the I
2
C bus) is given by:
Figure 41. Example of an X and Y Coordinate Touch Screen Scan using TSMode 2
44 Submit Documentation Feedback Copyright © 2007 – 2008, Texas Instruments Incorporated
Product Folder Link(s): TSC2004