Atmel Evaluation Kit AT91SAM9X35-EK AT91SAM9X35-EK Data Sheet

Product codes
AT91SAM9X35-EK
Page of 1301
933
SAM9X35 [DATASHEET]
11055E–ATARM–10-Mar-2014
The TSADC controller has the ability to perform without external components:
Position Measurement
Pressure Measurement
Pen Detection
Figure 42-5. Touchscreen Position Measurement
42.7.3  4-wire Position Measurement Method
As shown in 
, to detect the position of a contact, a supply is first applied from top to bottom. Due to the linear
resistance of the film, there is a voltage gradient from top to bottom. When a contact is performed on the screen, the
voltage propagates at the point the two surfaces come into contact with the second film. If the input impedance on the
right and left electrodes sense is high enough, the film does not affect this voltage, despite its resistive nature.
For the horizontal direction, the same method is used, but by applying supply from left to right. The range depends on the
supply voltage and on the loss in the switches that connect to the top and bottom electrodes.
In an ideal world (linear, with no loss through switches), the horizontal position is equal to:
VY
M
 / VDD or VY
P
 / VDD. 
The implementation with on-chip power switches is shown in 
. The voltage measurement at the output of the
switch compensates for the switches loss. 
It is possible to correct for switch loss by performing the operation:
[VY
P
 - VX
M
] / [VX
P
 - VX
M
].
This requires additional measurements, as shown in 
X
M
X
P
Y
M
Y
P
X
P
X
M
Y
P
VDD
GND
Volt
Horizontal Position Detection
Y
P
Y
M
X
P
VDD
GND
Volt
Vertical Position Detection
Pen 
Contact