Samsung S5PC110 Manual page 1926

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
7.4.2.1 Touch Screen0 pin Conditions in X/Y Position MEASUREMENT
State
TS0: X-position measurement
TS0: Y-position measurement
7.4.2.2 Touch Screen1 pin Conditions in X/Y Position MEASUREMENT
State
TS1: X-position measurement
TS1: Y-position measurement
3. Auto (Sequential) X/Y Position Conversion Mode (AUTO_PST = 1, XY_PST = 0)
Steps to operate Auto (Sequential) X/Y Position Conversion Mode:
Set '0x5c' to TSCONn.
(XY_PST=0, AUTO_PST=1, PULL_UP disable, XP disable, XM disable, YP disable, YM disable)
Start conversion by setting TSADCCONn.
Touch screen controller converts X-Position and writes it to TSDATXn.
Touch screen controller converts Y-Position and writes it to TSDATYn.
Touch screen interface generates interrupt (INT_ADCn). In other words, INT_ADCn is occurred only
once, not twice.
4. Waiting for Interrupt Mode (TSCONn[7:0] = 0xd3)
Touch screen controller generates an interrupt signal (INT_PENn) when the stylus pen is down or up. The value of
TSCONn[7:0] should be '0xd3', that is, pull-up enable, XP disable, XM disable, YP disable and YM enable. After
touch screen controller generates interrupt signal (INT_PENn), waiting for interrupt Mode must be cleared (Set 0
to XY_PST).
XP0
VDDA_ADC
VSSA_ADC
AIN5
XP1
VDDA_ADC
VSSA_ADC
AIN9
7 ADC & TOUCH SCREEN INTERFACE
XM0
YP0
AIN3
Hi-z
VDDA_ADC
XM1
YP1
AIN7
Hi-z
VDDA_ADC
YM0
Hi-z
VSSA_ADC
YM1
Hi-z
VSSA_ADC
7-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents