English
Language : 

CP3BT23 Datasheet, PDF (84/260 Pages) Texas Instruments – CP3BT23 Reprogrammable Connectivity Processor with Bluetooth and Dual CAN Interfaces
16.2 TOUCHSCREEN INTERFACE
16.2.1 Touchscreen Driver Configuration
The ADC provides an interface for 4-wire resistive touch-
screens with the resolution necessary for applications such
as signature analysis. A typical touchscreen configuration is
shown in Figure 28.
An equivalent circuit for the touchscreen interface is shown
in Figure 29.
VCC
TSX+/ADC0
TSY+/ADC1
TSX-/ADC2
TSY-/ADC3
69 69
TSY+
TSX+
X Plate
Y Plate
To ADC
RX1
A
RZ
RY1
B
MUXOUT0
RX2
RY2
ADCIN
DS186
te Figure 28. Touchscreen Interface
69 69
TSX-
TSY-
A touchscreen consists of two resistive plates normally sep-
arated from each other. The TSX+ and TSX- signals are
connected to opposite ends of the X plate, while the TSY+
and TSY- signals are connected to the Y plate. If the pen is
le down, the plates will be shorted together at the point of pen
contact. The location of the pen is sensed by driving one
end of a plate to VCC, driving the opposite end to ground,
and sensing the voltage at the point of pen contact using the
other plate. This is done twice, once for each coordinate.
An external RC low-pass filter is used to remove noise cou-
bso pled to the touchscreen signals from the display drivers.
DS187
Figure 29. Touchscreen Driver Equivalent Circuit
Low-ohmic drivers are provided to pull the TSX+ and TSY+
signals to VCC and the TSX- and TSY- signals to GND. The
on-resistance of these drivers is specified to be 6 ohms.
Two measurements are used to produce one (x,y) position
coordinate pair. To measure the x-coordinate, the TSX+ sig-
nal is pulled to VCC, the TSX- signal is pulled to GND, and
the TSY+ and TSY- signals are undriven. A voltage divider
is formed across the X plate, with the center tap of the divid-
er being the point of pen contact, represented in Figure 29
by node A. With TSY+ and TSY- undriven, the voltage at
node A can be measured by sampling either of the TSY+ or
TSY- signals. This voltage will be proportional to the position
of the pen contact on the X plate.
The position of the pen contact on the Y plate is measured
similarly, by driving the TSY+ signal to VCC, the TSY- signal
O to GND, and leaving the TSX+ and TSX- signals undriven.
The voltage at node B can be sampled from either the TSX+
or TSX- signals. The TOUCH_CFG field of the ADCGCR
register specifies the configuration of the drivers, with 010b
used to sample node A and 001b used to sample node B.
Typically, two consecutive measurements are made of each
coordinate so that any interference coupled from the LCD
column drivers is averaged out.
The plate-to-plate resistance is shown in Figure 29 as RZ.
This measurement is used as an indication of the force of
pen contact. When 100b is loaded into the TOUCH_CFG
field, the TSY+ signal is pulled to VCC and the TSX- signal
is pulled to GND, to support measuring RZ.
83
www.national.com