slyt283.pdf

(149 KB) Pobierz
Texas Instruments Incorporated
Data Acquisition
Using a touch-screen controller’s
auxiliary inputs
By Wendy Fang, Precision Analog Applications, High-Performance Analog,
and Tony Chang, Precision Analog Nyquist, High-Performance Analog
Introduction
Texas Instruments (TI) touch-screen controllers (TSCs),
including the ADS7843/45/46, TSC2046, and TSC2003/4/5/6/7,
have touch-screen input pins and one or more non-touch-
screen or auxiliary analog input pins, such as the battery-
voltage-monitoring pin (V BAT ) of the TSC2046 or the AUX
pin of the TSC2007. These auxiliary inputs make it possible
to monitor the system’s battery level or other voltage signals
by sharing time with touch-screen inputs or using time
periods when the touch screen is not touched.
The auxiliary analog inputs of different TI TSCs may have
different input ranges and different levels of electrostatic-
discharge (ESD) protection, so certain requirements or
limitations should be considered when they are used. This
article discusses the general and specific features and limita-
tions of the TSC auxiliary (including battery-voltage) inputs.
Auxiliary analog inputs
Table 1 lists auxiliary analog input pins of TI’s current
TSCs. Inside a TSC, a MUX selects and connects one of
the analog inputs to the ADC via commands sent through
the SPI or I 2 C ports. Figure 1 shows an example.
Auxiliary input mode
TI’s TSCs can be operated in either differential or single-
ended (SE) input mode, but auxiliary analog inputs can be
measured and converted only in SE mode (see Figure 2).
Table 1. Auxiliary analog input(s) of TI TSC devices
AUXILIARY ANALOG INPUTS
TSC
V REF
MAIN FEATURES 1
NUMBER OF INPUTS
PIN NAMES
ADS7843
2
IN3, IN4
External
4-wire, SPI, command-based
ADS7845
1
AUXIN
External
5-wire, SPI, command-based
ADS7846
2
V BAT , AUX
Internal
4-wire, SPI, command-based
TSC2046
2
V BAT , AUX
Internal
4-wire, SPI, command-based
V BAT1 , IN1,
TSC2003
4
Internal
4-wire, I 2 C, command-based
V BAT2 , IN2
4-wire, I 2 C, register-based
TSC2004
1
AUX
External
TSC2005
1
AUX
External
4-wire, SPI, register-based
TSC2006
1
AUX
External
4-wire, SPI, register-based
TSC2007
1
AUX
Shared with V DD
4-wire, I 2 C, command-based
Figure 2. SE mode of a TSC
Figure 1. Block diagram of TSC’s internal
input circuit
V REF
TSC
TSC
V REF
X+
X–
Y+
Y–
Touch-
Screen
Driver’s
Interface
+REF
Analog
Input
+IN
SAR
ADC
SAR ADC
MUX
IN
Temp
– REF
AUX
GND
5
Analog Applications Journal
4Q 2007
High-Performance Analog Products
917598089.265.png 917598089.275.png 917598089.286.png 917598089.297.png 917598089.001.png 917598089.012.png 917598089.022.png 917598089.033.png 917598089.044.png 917598089.055.png 917598089.066.png 917598089.077.png 917598089.088.png 917598089.099.png 917598089.110.png 917598089.121.png 917598089.132.png 917598089.143.png 917598089.154.png 917598089.164.png 917598089.175.png 917598089.186.png 917598089.197.png 917598089.208.png 917598089.219.png 917598089.229.png 917598089.237.png 917598089.238.png 917598089.239.png 917598089.240.png 917598089.241.png 917598089.242.png 917598089.243.png 917598089.244.png 917598089.245.png 917598089.246.png 917598089.247.png 917598089.248.png 917598089.249.png 917598089.250.png 917598089.251.png 917598089.252.png 917598089.253.png 917598089.254.png 917598089.255.png 917598089.256.png 917598089.257.png 917598089.258.png 917598089.259.png 917598089.260.png 917598089.261.png 917598089.262.png 917598089.263.png 917598089.264.png 917598089.266.png
Data Acquisition
Texas Instruments Incorporated
A TSC in differential mode does not need any reference,
since the signal’s driver is connected to +REF and –REF
directly. However, the reference voltage, V REF , is a must
for SE operation and thus is always needed when an auxil-
iary input, such as the AUX or V BAT , is measured.
The reference voltage can be provided to the TSC’s ADC
externally or internally for the ADS7846, TSC2046, and
TSC2003. When an external reference is used, these devices
can be powered up at the V CC pin with a supply voltage
between 2.2 and 5.25 V, and an external V REF ranging from
1.0 V to V CC can be provided. When the TSC’s internal
reference is used, the ADS7846, TSC2046, or TSC2003
should be powered up with a 2.7- to 5.25-V supply to
guarantee that the internal V REF will be around 2.5 V
(2.45 V ~ 2.55 V). Other TI TSCs do not have the built-in
voltage reference. In practical applications, one can simply
route the same TSC power supply to the reference.
Auxiliary-input voltage range
The signal range for an auxiliary input should always be
within 0 V to V REF . Signals beyond this range will saturate
the ADC and can even increase the temperature, damaging
the input circuitry.
The signal range for a battery-monitor input, say V BAT ,
can greatly exceed the V REF level, since there is a voltage
divider with each V BAT pin (see Figure 3). The input
divider circuit limits the range of the signal to the ADC to
within 0 V to V REF . Figure 3 shows that the signal to the
ADC is only 25% of the signal at the V BAT pin.
As shown in Table 1, the ADS7846, TSC2046, and
TSC2003 have one or two battery-monitor input(s)
designed to monitor/measure signals of up to 6.0 V while
the device is powered with much lower voltage, down to
2.7 VDC.
TSC auxiliary-input features
The main features of TSC auxiliary (including battery)
inputs can be summarized as follows:
Auxiliary input signals can be measured only in SE mode.
A reference voltage, V REF , must be provided to the ADC
when an auxiliary input is measured.
The signal range of an auxiliary input must be within 0 V
to V REF .
The battery input, V BAT , can range from 0 V to as high
as 4
Figure 3. Voltage divider reduces input to ADC
DC/DC
Converter
Battery +
+V CC
ADC
7.5 k
V BAT
2.5 k
Figure 4. Using AUX with external voltage
divider to monitor battery voltage
V REF
TSC
R1
+
+REF
AUX
Battery
+IN
SAR ADC
R2
IN
REF
since the battery’s voltage is normally higher than that of
the TSC’s power supply (and thus that of the V REF ).
A TSC auxiliary pin such as AUX can still be used to
measure/monitor the battery voltage if an external voltage
divider is added between the battery and the AUX, as
shown in Figure 4. R1 and R2 values should be selected
with wide enough margins to ensure that the signal at the
AUX pin is within 0 V to V REF . Note that the voltage
divider shown in Figure 4 consumes extra power since a
current of V CC /(R1 + R2) continuously drains the battery.
Larger resistance can reduce power consumption.
The V BAT input circuit of TI TSCs does not consume
extra power from the battery since there is a switcher
between the divider and the power (ground) (see Figure 3),
and the internal divider is powered up only during the
short period of battery measurement.
V REF , up to 6.0 V.
Special applications
The following discussion focuses on the special applica-
tions of the auxiliary analog input pins of TSCs.
Unused input pins
If the TSC’s analog input pins are not used, it is recom-
mended that they be connected directly to an analog
ground.
Using AUX input pin to monitor V BAT
As Table 1 shows, several TI TSCs are not furnished with a
battery-voltage-monitoring pin (V BAT ). A regular auxiliary
input cannot be used directly for monitoring the battery,
×
6
Analog Applications Journal
High-Performance Analog Products
4Q 2007
917598089.267.png 917598089.268.png 917598089.269.png 917598089.270.png 917598089.271.png 917598089.272.png 917598089.273.png 917598089.274.png 917598089.276.png 917598089.277.png 917598089.278.png 917598089.279.png 917598089.280.png 917598089.281.png 917598089.282.png 917598089.283.png 917598089.284.png 917598089.285.png 917598089.287.png 917598089.288.png 917598089.289.png 917598089.290.png 917598089.291.png 917598089.292.png 917598089.293.png 917598089.294.png 917598089.295.png 917598089.296.png 917598089.298.png 917598089.299.png 917598089.300.png 917598089.301.png 917598089.302.png 917598089.303.png 917598089.304.png 917598089.305.png 917598089.306.png 917598089.307.png 917598089.002.png 917598089.003.png 917598089.004.png 917598089.005.png 917598089.006.png 917598089.007.png 917598089.008.png 917598089.009.png 917598089.010.png 917598089.011.png 917598089.013.png 917598089.014.png
Texas Instruments Incorporated
Data Acquisition
Figure 5. Using TSC AUX pin to monitor battery
with controllable switch
Figure 6. External ESD-protection circuit may
supply pseudo power to TSC
V REF
V CC
V REF
TSC
TSC
R1
+
Battery
+REF
AUX
+REF
AUX
+IN
+IN
R2
SAR ADC
SAR ADC
IN
IN
– REF
REF
Analog
Input
Switch
Control
GND
Similarly, while a TSC’s AUX pin is used to monitor
battery voltage, adding a controllable switcher like that
shown in Figure 5 can reduce power consumption and
ensure disconnection of the signal from the AUX pin while
the TSC is powered down.
ESD protection and auxiliary-input requirements
during power down
It is very common in practical applications to power down
a TSC when it is not in use to reduce system power con-
sumption. A question then arises: Can the analog signal
stay connected to the TSC when the TSC’s power source
is removed?
Figure 6 shows one case in which the analog input
should be removed before the TSC is powered down. If
the analog input signal is active (AUX is nonzero) when
the TSC is powered down (V CC = 0), the analog signal may
be routed to the V CC through the ESD-protection diode
(see the red line in Figure 6). This may partially or fully
power up the TSC, depending upon the amplitude of the
input signal, consuming more power and possibly causing
the TSC to malfunction. Thus the circuit configuration in
Figure 6 should be avoided.
An alternative is to simply use ESD-protection circuitry
as shown in Figure 7. Under extremely large electrostatic
voltages, the circuit in Figure 7a may not be as efficient as
that in Figure 7b due to the limited current flow through
the ESD-protection diodes. On the other hand, the circuit
in Figure 7b is not symmetric and therefore does not pro-
vide equal protection for positive and negative ESD bursts.
Figure 7. ESD-protection circuits for TSC analog input pin
V REF
V REF
V CC
V CC
TSC
TSC
AUX
+REF
+REF
AUX
+IN
+IN
SAR ADC
SAR ADC
IN
IN
– REF
Analog
Input
– REF
Analog
Input
GND
GND
(a)
(b)
7
Analog Applications Journal
4Q 2007
High-Performance Analog Products
917598089.015.png 917598089.016.png 917598089.017.png 917598089.018.png 917598089.019.png 917598089.020.png 917598089.021.png 917598089.023.png 917598089.024.png 917598089.025.png 917598089.026.png 917598089.027.png 917598089.028.png 917598089.029.png 917598089.030.png 917598089.031.png 917598089.032.png 917598089.034.png 917598089.035.png 917598089.036.png 917598089.037.png 917598089.038.png 917598089.039.png 917598089.040.png 917598089.041.png 917598089.042.png 917598089.043.png 917598089.045.png 917598089.046.png 917598089.047.png 917598089.048.png 917598089.049.png 917598089.050.png 917598089.051.png 917598089.052.png 917598089.053.png 917598089.054.png 917598089.056.png 917598089.057.png 917598089.058.png 917598089.059.png 917598089.060.png 917598089.061.png 917598089.062.png 917598089.063.png 917598089.064.png 917598089.065.png 917598089.067.png 917598089.068.png 917598089.069.png 917598089.070.png 917598089.071.png 917598089.072.png 917598089.073.png 917598089.074.png 917598089.075.png 917598089.076.png 917598089.078.png 917598089.079.png 917598089.080.png 917598089.081.png 917598089.082.png 917598089.083.png 917598089.084.png 917598089.085.png 917598089.086.png 917598089.087.png 917598089.089.png 917598089.090.png 917598089.091.png 917598089.092.png 917598089.093.png 917598089.094.png 917598089.095.png 917598089.096.png 917598089.097.png 917598089.098.png 917598089.100.png 917598089.101.png 917598089.102.png 917598089.103.png 917598089.104.png 917598089.105.png 917598089.106.png 917598089.107.png 917598089.108.png 917598089.109.png 917598089.111.png 917598089.112.png 917598089.113.png 917598089.114.png 917598089.115.png 917598089.116.png 917598089.117.png 917598089.118.png 917598089.119.png 917598089.120.png 917598089.122.png 917598089.123.png 917598089.124.png 917598089.125.png 917598089.126.png 917598089.127.png 917598089.128.png 917598089.129.png 917598089.130.png 917598089.131.png 917598089.133.png 917598089.134.png 917598089.135.png 917598089.136.png 917598089.137.png 917598089.138.png 917598089.139.png 917598089.140.png 917598089.141.png 917598089.142.png 917598089.144.png 917598089.145.png 917598089.146.png 917598089.147.png 917598089.148.png 917598089.149.png 917598089.150.png 917598089.151.png 917598089.152.png 917598089.153.png 917598089.155.png 917598089.156.png 917598089.157.png 917598089.158.png 917598089.159.png 917598089.160.png 917598089.161.png 917598089.162.png 917598089.163.png
Data Acquisition
Texas Instruments Incorporated
Figure 8. TSC2004/5/6/7 internal ESD protection
for AUX input
Figure 9. Switching off TSC2004/5/6/7 AUX
before TSC is powered down
Off
On
Off
TSC2007
V CC
TSC
From a GPO at host
V REF
+REF
On
AUX
+IN
AUX
SAR ADC
Off
IN
Analog
Input
– REF
GND
AGND
Some of TI’s new TSCs, including the TSC2004/5/6/7,
were designed with the enhanced, on-chip ESD protection
shown by the simplified circuit in Figure 8. Obviously, for
these devices, the input signal to the TSC’s AUX should be
removed before the TSC’s V CC power is shut down. An
example of removing the AUX signal is shown in Figure 9.
Special applications summary
An unused analog input pin should be connected
directly to the analog ground.
Pay attention to the divider’s resistance values and
power consumption when using an AUX to monitor the
battery voltage.
Before removing the TSC’s power, always use software
commands to disable the TSC’s auxiliary functions.
For the ADS7846, TSC2046, and TSC2003, the nonzero
signal to the AUX or V BAT pin can stay connected while
the TSC’s power source is removed.
For the TSC2004/5/6/7, the nonzero signal to AUX
should be removed from the analog input pin before the
TSC power is removed.
Reference
For more information related to this article, you can down-
load an Acrobat Reader file at www-s.ti.com/sc/techlit/
litnumber and replace “litnumber” with the TI Lit. # for
the materials listed below.
Document Title TI Lit. #
1. Wendy Fang, “Operation Schemes of Touch Screen
Controllers,” Application Report . . . . . . . . . . . . .slaa359
Related Web sites
www.ti.com/sc/device/ partnumber
Replace partnumber with ADS7843, ADS7845, ADS7846,
TSC2046
8
Analog Applications Journal
High-Performance Analog Products
4Q 2007
917598089.165.png 917598089.166.png 917598089.167.png 917598089.168.png 917598089.169.png 917598089.170.png 917598089.171.png 917598089.172.png 917598089.173.png 917598089.174.png 917598089.176.png 917598089.177.png 917598089.178.png 917598089.179.png 917598089.180.png 917598089.181.png 917598089.182.png 917598089.183.png 917598089.184.png 917598089.185.png 917598089.187.png 917598089.188.png 917598089.189.png 917598089.190.png 917598089.191.png 917598089.192.png 917598089.193.png 917598089.194.png 917598089.195.png 917598089.196.png 917598089.198.png 917598089.199.png 917598089.200.png 917598089.201.png 917598089.202.png 917598089.203.png 917598089.204.png 917598089.205.png 917598089.206.png 917598089.207.png 917598089.209.png 917598089.210.png 917598089.211.png 917598089.212.png 917598089.213.png 917598089.214.png 917598089.215.png 917598089.216.png 917598089.217.png 917598089.218.png 917598089.220.png 917598089.221.png 917598089.222.png
TIWorldwide Technical Support
Internet
TI Semiconductor Product Information Center Home Page
TI Semiconductor KnowledgeBase Home Page
Product Information Centers
Americas
Phone
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve
the right to make corrections, modifications, enhancements,
improvements, and other changes to its products and services at
any time and to discontinue any product or service without notice.
Customers should obtain the latest relevant information before
placing orders and should verify that such information is current
and complete. All products are sold subject to TI's terms and
conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the
specifications applicable at the time of sale in accordance with TI's
standard warranty. Testing and other quality control techniques are
used to the extent TI deems necessary to support this warranty.
Except where mandated by government requirements, testing of
all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer
product design. Customers are responsible for their products and
applications using TI components. To minimize the risks
associated with customer products and applications, customers
should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or
implied, is granted under any TI patent right, copyright, mask work
right, or other TI intellectual property right relating to any
combination, machine, or process in which TI products or services
are used. Information published by TI regarding third-party
products or services does not constitute a license from TI to use
such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party
under the patents or other intellectual property of the third party, or a
license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is
permissible only if reproduction is without alteration and is
accompanied by all associated warranties, conditions, limitations,
and notices. Reproduction of this information with alteration is an
unfair and deceptive business practice. TI is not responsible or
liable for such altered documentation.
Resale of TI products or services with statements different from or
beyond the parameters stated by TI for that product or service
voids all express and any implied warranties for the associated TI
product or service and is an unfair and deceptive business
practice. TI is not responsible or liable for any such statements.
Following are URLs where you can obtain information on other
Texas Instruments products and application solutions:
+1(972) 644-5580
Fax
+1(972) 927-6377
Europe, Middle East, and Africa
Phone
European Free Call 00800-ASK-TEXAS
(00800 275 83927)
International +49 (0) 8161 80 2121
Russian Support +7 (4) 95 98 10 701
Note: The European Free Call (Toll Free) number is not active in all countries. If you have
technical difficulty calling the free call number, please use the international number above.
Fax
+(49) (0) 8161 80 2045
Internet
Japan
Fax
International
+81-3-3344-5317
Domestic
0120-81-0036
Internet/Email
International
Domestic
Asia
Phone
International +886-2-23786800
Domestic Toll-Free Number Toll-Free Number
Australia 1-800-999-084 Malaysia 1-800-80-3973
China 800-820-8682 New Zealand 0800-446-934
Hong Kong 800-96-5941 Philippines 1-800-765-7404
India +91-80-41381665 (Toll) Singapore 800-886-1028
Indonesia 001-803-8861-1006 Taiwan 0800-006800
Korea 080-551-2804 Thailand 001-800-886-0010
Fax +886-2-2378-6808 Email tiasia@ti.com
Internet support.ti.com/sc/pic/asia.htm ti-china@ti.com
C062907
Safe Harbor Statement: This publication may contain forward-
looking statements that involve a number of risks and
uncertainties. These “forward-looking statements” are intended
to qualify for the safe harbor from liability established by the
Private Securities Litigation Reform Act of 1995. These forward-
looking statements generally can be identified by phrases such
as TI or its management “believes,” “expects,” “anticipates,”
“foresees,” “forecasts,” “estimates” or other words or phrases
of similar import. Similarly, such statements herein that describe
the company's products, business strategy, outlook, objectives,
plans, intentions or goals also are forward-looking statements.
All such forward-looking statements are subject to certain risks
and uncertainties that could cause actual results to differ
materially from those in forward-looking statements. Please
refer to TI's most recent Form 10-K for more information on the
risks and uncertainties that could materially affect future results
of operations. We disclaim any intention or obligation to update
any forward-looking statements as a result of developments
occurring after the date of this publication.
Trademarks: All trademarks are the property of their respective
owners.
Products
Amplifiers
Data Converters
DSP
Interface
Logic
Power Management
Microcontrollers
Applications
Audio
Automotive
Broadband
Digital control
Military
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Optical Networking
Security
Telephony
Video & Imaging
© 2007 Texas Instruments Incorporated
Wireless
SLYT283
917598089.223.png 917598089.224.png 917598089.225.png 917598089.226.png 917598089.227.png 917598089.228.png 917598089.230.png 917598089.231.png 917598089.232.png 917598089.233.png 917598089.234.png 917598089.235.png 917598089.236.png
Zgłoś jeśli naruszono regulamin