
2
TOUCH
X-plate
1
Z
X-position
R
1
4096
Z
=
-
÷
è
(5-8)
TSC2117
Low-Power Audio Codec With Embedded miniDSP, Stereo Class-D
Speaker Amplifier, and Smart Four-Wire Touch-Screen Controller
SLAS550A – APRIL 2009 – REVISED JUNE 2009
www.ti.com
In some applications, external capacitors may be required across the touch screen for filtering noise
picked up by the touch screen, i.e., noise generated by the LCD panel or back-light circuitry. The value of
these capacitors provides a low-pass filter to reduce the noise, but causes an additional settling time
requirement when the touch-screen panel is touched.
Several solutions to this problem are available in the TSC2117. A programmable delay time is available
which sets the delay between turning the drivers on and making a conversion. This is referred to as the
panel voltage stabilization time, and is used in some of the modes available in the TSC2117.
The TSC2117 touch screen interface can measure position (X, Y). Determination of these coordinates is
possible under two different modes of the ADC:
Conversion controlled by the TSC2117 is initiated by detection of a touch. In this mode, if touch is
detected, then the TSC2117 automatically starts conversion for touch-screen coordinates based on the
setting of page 3/register 3, bits D5–D2. After the time set by the interval timer, it checks for the touch
again. If touch is still there, it starts conversion for touch-screen coordinates. This process continues.
Conversion controlled by the TSC2117 is initiated by the host after getting a pen-touch interrupt (Note:
program the GPIO1 or GPIO2 pin such that it generates the interrupt for pen-touch by writing to
page 3/register 3, bits D1–D0; choose either 0 or 2). In this mode, if touch is detected, then the
TSC2117 generates the interrupt (if GPIO1 or GPIO2 is programmed) and then waits for the host to
write to page 3/register 3, bits D5–D2. Once the host write is complete, the TSC2117 starts conversion
for touch-screen coordinates based on the setting of page 3/register 3, bits D5–D2. After the time set
by the interval timer, it checks for the touch again. If touch is still there, it starts conversion for
touch-screen coordinates. However, if touch is removed, then it stops the conversion procedure. The
next time touch is detected, the TSC2117 generates the interrupt (if GPIO1 or GPIO2 is programmed).
Then it waits for the host to write page 3/register 3, bits D5–D2. This process continues.
Measuring touch pressure (Z) can also be done with the TSC2117. Generally, it is not necessary to have
very high performance for this test; therefore, the 8-bit resolution mode is recommended (however,
calculations are shown with the 12-bit resolution mode). There are several different ways of performing
this measurement. The TSC2117 supports two methods. The first method requires knowing the X-plate
resistance, measurement of the X-position, and two additional cross-panel measurements (Z2 and Z1) of
the touch screen (see Figure 5-38). Using Equation 5-8 calculates the touch resistance: The second method requires knowing both the X-plate and Y-plate resistance, measurement of X-position
and Y-position, and Z1. Using Equation 5-9 also calculates the touch resistance:
APPLICATION INFORMATION
68