XPT2046 Touch Screen Controller
XXPPTT22004466 DDaattaa SShheeeett
2007.5
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 1/30
XPT2046 Touch Screen Controller
CONTENTS
GENERAL DESCRIPTION .............................................................................................................3
FEATURES.........................................................................................................................................3
APPLICATIONS................................................................................................................................3
BLOCK DIAGRAM ..........................................................................................................................4
ABSOLUTE MAXIMUM RATINGS ..............................................................................................4
ELECTRICAL CHARACTERISTICS ...........................................................................................5
PIN CONFIGURATION ...................................................................................................................8
PIN LAYOUT ......................................................................................................................................8
PIN DESCRIPTION...............................................................................................................................9
TYPICAL CHARACTERISTICS..................................................................................................10
THEORY OF OPRATION..............................................................................................................13
BASIC OPERATION OF THE XPT2046...............................................................................................13
ANALOG INPUT................................................................................................................................14
INTERNAL REFERENCE.....................................................................................................................15
REFERENCE INPUT ...........................................................................................................................16
SIMPLIFIED DIAGRAM OF SINGLE-ENDED REFERENCE ....................................................................16
SIMPLIFIED DIAGRAM OF DIFFERENTIAL REFERENCE......................................................................17
TOUCH SCREEN SETTLING...............................................................................................................17
TEMPERATURE MEASUREMENT.......................................................................................................18
BATTERY MEASUREMENT ...............................................................................................................19
PRESSURE MEASUREMEN ................................................................................................................20
DIGITAL INTERFACE...................................................................................................................21
PENIRQ OUTPUT ..........................................................................................................................24
PER-CONVERSION .......................................................................................................................26
16 CLOCKS-PER-CONVERSION.........................................................................................................26
DIGITAL TIMING..............................................................................................................................26
15 CLOCKS-PER-CONVERSION.........................................................................................................28
DATA FORMAT ................................................................................................................................28
8-BIT CONVERSION .........................................................................................................................29
POWER DISSIPATION ..................................................................................................................29
DEMO ...............................................................................................................................................30
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 2/30
XPT2046 Touch Screen Controller
General Description
The XPT2046 is a 4-wire resistive touch screen controller that incorporates a 12-bit 125 kHz sampling SAR type
A/D converter.
The XPT2046 operates down to 2.2V supply voltage and supports digital I/O interface voltage from 1.5V to VCC
in order to connect low voltage uP.
The XPT2046 can detect the pressed screen location by performing two A/D conversions. In addition to location,
the XPT2046 also measures touch screen pressure.On-chip VREF can be utilized for analog auxiliary input,
temperature measurement and battery monitoring withthe ability to measure voltage from 0V to 5V.
The XPT2046 also has an on-chip temperature sensor
The XPT2046 is available in 16pin QFN thin package(0.75mm in height) and has the operating temperature range
of -40°C to +85°C
Features
12 bit SAR type A/D converter with S/H circuit
Low voltage operation (VCC = 2.2V ∼ 3.6V)
Low voltage digital I/F (1.5V ∼ VCC)
4-wire I/F
Sampling frequency: 125 kHz (max)
On-Chip voltage reference (2.5V)
Pen pressure measurement
On-chip thermo sensor
Direct battery masurement
Low power consumption (260μA)
Package 16pin QFN
Applications
Personal digital assistants
Portable instruments
Point -of-sale terminals
Pagers
Touch screen monitors
Cellular phones
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 3/30
XPT2046 Touch Screen Controller
Block Diagram
Figure 1. Block Diagram
Absolute Maximum Ratings
+VCC and IOVDD to GND
Analog Inputs to GND
Digital Inputs to GND
Power Dissipation
Maximum Junction Temperature
Operating Temperature Range
Storage Temperature Range
Lead Temperature (soldering, 10s)
−0.3V to +6V
−0.3V to +VCC + 0.3V
−0.3V to IOVDD + 0.3V
. 250mW
+150°C
. −40°C to +85°C
−65°C to +150°C
+300°C
Table 1. Absolute Maximum Ratings
WARNING: Stresses above these ratings may cause permanent damage.Exposure to absolute maximum conditions
for xtended periods may degrade device reliability. These are stress ratings only, and functional operation of the
device at these or any other conditions beyond those specified is not implied.
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 4/30
XPT2046 Touch Screen Controller
Electrical Characteristics: VS = +2.7V to +5.5V
At TA = −40°C to +85°C, +VCC = +2.7V, VREF = 2.5V internal voltage, fSAMPLE = 125kHz, fCLK = 16 • fSAMPLE = 2MHz,
12-bit mode, digital inputs = GND or IOVDD, and +VCC must be • IOVDD.
PARAMETER
CONDITION
ANALOG INPUT
Full-Scale Input Span
Absolute Input Range
Capacitance
Leakage Current
SYSTEM PERFORMANCE
Resolution
No Missing Codes
Integral Linearity Error
Offset Error
Gain Error
Noise
Power-Supply Rejection
SAMPLING DYNAMICS
Conversion Time
Acquisition Time
Throughput Rate
Multiplexer Settling Time
Aperture Delay
Aperture Jitter
Channel-to-Channel Isolation
SWITCH DRIVERS
On-Resistance
YP、XP
YN、XN
Drive Current(2)
REFERENCE OUTPUT
Internal Reference Voltage
Internal Reference Drift
Quiescent Current
Positive Input−Negative Input
Positive Input
Negative Input
External VREF
Including Internal VREF
VIN=2.5Vpp,fs=50KHz
Duration 100ms
MIN
0
-0.2
-0.2
11
3
2.45
XPT2046
TYP
25
0.1
12
70
70
500
30
100
100
5
6
2.50
15
500
MAX
VREF
+VCC+0.2
+0.2
±2
±6
±4
12
125
50
2.55
UNITS
V
V
V
pF
µA
Bits
Bits
LSB1
LSB
LSB
µVrms
dB
CLK
Cycles
CLK
Cycles
KHz
ns
ns
ps
dB
Ω
Ω
mA
V
ppm/℃
µA
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 5/30
XPT2046 Touch Screen Controller
1.0
0.5
-2
-3
-40
IOVDD*0.7
-0.3
IOVDD*0.8
2.7
2.2
1.5
REFERENCE INPUT
Range
Input Impedance
BATTERY MONITOR
Input Voltage Range
Input Impedance
Sampling Battery
Battery Monitor Off
Accuracy
TEMPERATURE ASUREMENT
Temperature Range
Resolution
Accuracy
DIGITAL INPUT/OUTPUT
Logic Family
Capacitance
VIH
VIL
VOH
VOL
Data Format
SER/——
DFR=0,PD1=0
Internal Reference Off
Internal Reference On
VBAT=0.5V~5.5V, ExternalVREF=2.5V
VBAT=0.5V~5.5V, Internal Reference
Differential Method(3)
TEMP0(4)
Differential Method(3)
TEMP0(4)
All Digital Control Input Pins
| IIH |≤+5µA
| IIL |≤+5µA
IOH=-250µA
IOL=250µA
POWER-SUPPLYREQUIREMENTS
+VCC (5)
IOVDD (6)
Quiescent Current (7)
Power Dissipation
Specified Performance
Operating Range
Internal Reference Off
Internal Reference On
fSAMPLE = 12.5kHz
Power-Down Mode with
(CS=DCLK=DIN=IOVDD)
VCC=+2.7V
1
250
10
1
1.6
0.3
±2
±3
CMOS
5
Straight
Binary
280
780
220
VCC
6.0
+2
+3
+85
15
IOVDD+0.3
0.3*IOVDD
0.4
3.6
5.25
VCC
650
3
1.8
V
GΩ
Ω
V
KΩ
GΩ
%
%
℃
℃
℃
℃
℃
pF
V
V
V
V
V
V
V
µA
µA
µA
µA
mW
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 6/30
XPT2046 Touch Screen Controller
TEMPERATURE RANGE
Specified Performance
-40
+85
℃
Table 2. Electrical Characteristics
(1) LSB means Least Significant Bit. With VREF = +2.5V, one LSB is 610 V.
(2) Assured by design, but not tested. Exceeding 50mA source current may result in device degradation.
(3) Difference between TEMP0 and TEMP1 measurement, no calibration necessary.
(4) Temperature drift is −2.1mV/ C.
(5) XPT2046 operates down to 2.2V.
(6) IOVDD must be − (+VCC).
(7) Combined supply current from +VCC and IOVDD. Typical values obtained from conversions on AUX input
with PD0 = 0.
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 7/30
XPT2046 Touch Screen Controller
Pin Configuration
Pin Layout
QFN-16
TSSOP-16
VFBGA-16
Figure 2. Pin Layout
CCooppyyrriigghhtt©©22000077,, SSHHEENNZZHHEENN XXPPTTEEKK TTEECCHHNNOOLLOOGGYY CCOO..,,LLTTDD http://www.xptek.com.cn 8/30