LM8300 [TI]

LM8300/LM8500 Four Wire Resistive Touchscreen Controller with Brownout;
LM8300
型号: LM8300
厂家: TEXAS INSTRUMENTS    TEXAS INSTRUMENTS
描述:

LM8300/LM8500 Four Wire Resistive Touchscreen Controller with Brownout

文件: 总26页 (文件大小:437K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
LM8300/LM8500 Four Wire Resistive Touchscreen Controller with Brownout  
Check for Samples: LM8300, LM8500  
1
FEATURES  
DESCRIPTION  
The LM8300/8500 is a 4-wire resistive touch screen  
controller. The controller samples and drives the  
touch screen without the need of any external  
2
Supports 4 Wire Resistive Touch Panels  
Low Power Standby Current Typically Less  
Than 2 µA at 5.5V  
hardware. The built in 10-bit A/D provides  
a
Maximum Speed of 500 Coordinate Pairs per  
Second  
maximum of 500 coordinate pairs per second (cpps).  
The data sampled from the touch screen is sent out  
on the UART at a speed of 38400 bps.  
Automatic Wake Up and Return to Standby  
10 bit A/D  
The controller has a power-saving mode which  
causes the controller to self-power down when no  
touch is detected on the touch screen for a specified  
amount of time. In the self-power down mode, the  
current drawn is typically less than 2 µA. The device  
resumes normal operation when a touch is detected  
on the touch screen or communication is detected on  
the UART. In addition to the self-power down mode,  
the controller can be disabled by pulling the  
SHUTDOWN pin low. The controller resumes normal  
operation when the SHUTDOWN pin is tristated or  
pulled high.  
On-chip Touch Screen Current Drivers - No  
External Driver Required  
UART Interface  
Controller Configurations are Stored in the  
Internal Non-volatile Storage Element  
Touch Pressure can be Measured  
APPLICATIONS  
Personal Digital Assistants  
Smart Hand-Held Devices  
Touch Screen Monitors  
Point-of-Sales Terminals  
KIOSK  
The controller has an internal non-volatile memory  
storage element to store configuration data such as  
calibration points or controller configurations.  
Pagers  
Cell Phones  
Table 1. Devices included in this datasheet  
Operating  
Voltage  
Brownout  
Voltage  
Operating  
Frequency  
I/O  
Pins  
Device  
LM8300  
LM8500  
Packages  
Temperature  
0°C to +70°C  
0°C to +70°C  
44 WQFN, 44 PLCC,  
48 TSSOP  
3, 5 V  
5 V  
2.7 to 2.9 V  
3.27 MHz  
18  
18  
44 WQFN, 44 PLCC,  
48 TSSOP  
4.17V to 4.5V  
3.27, 10 MHz  
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of  
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.  
2
All trademarks are the property of their respective owners.  
PRODUCTION DATA information is current as of publication date.  
Products conform to specifications per the terms of the Texas  
Instruments standard warranty. Production processing does not  
necessarily include testing of all parameters.  
Copyright © 2002–2013, Texas Instruments Incorporated  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
Block Diagram  
* This pin is available in the LM8500. It is unused in the LM8300.  
2
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
Connection Diagram  
* This pin is available in the LM8500. It is  
unused in the LM8300.  
* This pin is available in the LM8500. It is  
unused in the LM8300.  
Figure 1. Top View  
Figure 3. Top View  
TSSOP Package  
See Package Number DGG  
PLCC Package  
See Package Number FN0044A  
* This pin is available in the LM8500. It is  
unused in the LM8300.  
Figure 2. Top View  
WQFN Package  
See Package Number NJN0044A  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
3
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
PIN DESCRIPTIONS Pinouts for 44- and 48-Pin Packages  
Pin Name  
RESET  
Direction  
Pin Description  
44-Pin WQFN  
44-Pin PLCC  
48-Pin TSSOP  
I
I
Reset pin, pull low to reset  
6
7
8
1
2
3
1
2
3
DTR  
UART data terminal ready signal  
WD_OUT  
Watchdog output, tie to RESET pin for  
correct function  
O
I
CLK_SET(1)  
Used to set if crystal is 3.3 MHz (low) or  
10 MHz (floating or pulled high)  
9
4
4
Unused(2)  
Unused(2)  
Unused(2)  
Unused(2)  
OSC_OUT  
OSC_IN  
Unused(2)  
Unused(2)  
UART_TX  
10  
11  
12  
13  
14  
15  
16  
17  
18  
5
6
5
6
7
7
8
8
O
I
Clock oscillator output  
Clock oscillator input  
9
9
10  
11  
12  
13  
10  
11  
12  
13  
O
I
UART transmit pin (inverted for use with  
standard RS-232 drivers)  
UART_RX  
UART receive pin (inverted for use with  
standard RS-232 drivers  
19  
20  
14  
15  
14  
15  
SHUTDOWN  
I
Shutdown pin, puts the device in halt  
mode if pulled low  
Unused(2)  
Unused(2)  
WAKE-UP  
21  
22  
23  
16  
17  
18  
16  
17  
18  
I
Used to wake up the processor from halt  
mode with touch on touch screen  
X+  
Y-  
I/O  
I/O  
I/O  
I/O  
Drives the X+ wire, also analog input  
when sampling  
24  
25  
26  
27  
19  
20  
21  
22  
19  
20  
21  
22  
Drives the Y- wire, also analog input  
when sampling  
X-  
Drives the X- wire, also analog input  
when sampling  
Y+  
Drives the Y+ wire, also analog input  
when sampling  
Unused(2)  
Unused(2)  
FILTER_OUT  
FILTER_IN  
GND  
28  
29  
30  
31  
32  
33  
34  
23  
24  
25  
26  
27  
28  
29  
23  
24  
25  
26  
27  
28  
31  
O
I
Analog output to the filter  
Analog input from the filter  
Digital ground  
AGND  
Analog ground  
AVCC  
Analog power supply, connect to filter  
for best performance  
VCC  
Digital power supply  
35  
X
30  
X
32  
33  
34  
35  
36  
37  
38  
39  
40  
Unused(2)  
Unused(2)  
Unused(2)  
Unused(2)  
Unused(2)  
Unused(2)  
Unused(2)  
Unused(2)  
X
X
36  
37  
38  
39  
40  
41  
31  
32  
33  
34  
35  
36  
(1) This is available in the LM8500 only.  
(2) These pins are for future functional expansions.  
4
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
PIN DESCRIPTIONS Pinouts for 44- and 48-Pin Packages (continued)  
Pin Name  
Direction  
Pin Description  
44-Pin WQFN  
44-Pin PLCC  
48-Pin TSSOP  
LED  
Output  
Optional LED output, low when running,  
high in halt-mode  
42  
37  
41  
Unused(3)  
Unused(3)  
Unused(3)  
3
4
5
42  
43  
44  
46  
47  
48  
(3) These pins are for future functional expansions.  
These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in conductive foam  
during storage or handling to prevent electrostatic damage to the MOS gates.  
Absolute Maximum Ratings(1)(2)  
Supply Voltage (VCC  
)
7V  
0.3V to VCC +0.3V  
200 mA  
Voltage at Any Pin  
Total Current into VCC Pin (Source)  
Total Current out of GND Pin (Sink)  
Storage Temperature Range  
ESD Protection Level  
200 mA  
65°C to +140°C  
2 kV (Human Body Model)  
(1) Absolute maximum ratings indicate limits beyond which damage to the device may occur. DC and AC electrical specifications are not  
ensured when operating the device at absolute maximum ratings.  
(2) If Military/Aerospace specified devices are required, please contact the Texas Instruments Sales Office/Distributors for availability and  
specifications.  
Electrical Characteristics  
DC Electrical Characteristics (0°C TA +70°C)  
Datasheet min/max specification limits are guaranteed by design, test, or statistical analysis.  
Parameter  
Conditions  
Min  
2.7  
10  
Typ  
Max  
5.5  
50 x 106  
Units  
V
Operating Voltage  
Power Supply Rise Time  
Power Supply Ripple(1)  
Supply Current(2)  
High Speed Mode  
CKI = 10 MHz  
ns  
Peak-to-Peak  
0.1 VCC  
V
VCC = 5.5V  
VCC = 4.5V  
11.5  
5
mA  
mA  
CKI = 3.33 MHz  
HALT Current with BOR Disabled(3)  
High Speed Mode  
VCC = 5.5V, CKI = 0 MHz  
VCC = 5.5V  
<2  
10  
45  
µA  
μA  
V
Supply Current for BOR Feature  
High Brownout Trip Level (BOR Enabled)  
Low Brownout Trip Level (BOR Enabled)  
Input Levels (VIH, VIL)  
4.17  
2.7  
4.28  
2.78  
4.5  
2.9  
V
Logic High  
0.8 VCC  
V
V
Logic Low  
0.16 VCC  
2.5  
Internal Bias Resistor for the CKI Crystal/Resonator  
Oscillator  
0.3  
1.0  
MΩ  
Hi-Z Input Leakage  
Input Pullup Current  
Port Input Hysteresis  
VCC = 5.5V  
0.5  
50  
+0.5  
μA  
μA  
V
VCC = 5.5V, VIN = 0V  
210  
0.25 VCC  
(1) Maximum rate of voltage change must be < 0.5 V/ms.  
(2) Supply and IDLE currents are measured with CKI driven with a square wave Oscillator, CKO driven 180° out of phase with CKI, inputs  
connected to VCC and outputs driven low but not connected to a load.  
(3) The HALT mode will stop CKI from oscillating. Measurement of IDD HALT is done with device neither sourcing nor sinking current; all  
inputs tied to VCC; A/D converter and clock monitor and BOR disabled.  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
5
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
Electrical Characteristics  
DC Electrical Characteristics (0°C TA +70°C) (continued)  
Datasheet min/max specification limits are guaranteed by design, test, or statistical analysis.  
Parameter  
Conditions  
Min  
10  
6  
10  
Typ  
Max  
Units  
mA  
mA  
mA  
mA  
mA  
µA  
Source(4)  
Sink(4)  
VCC = 4.5V, VOH = 4.2V  
VCC = 2.7V, VOH = 2.4V  
VCC = 4.5V, VOL = 0.3V  
VCC = 2.7V, VOL = 0.3V  
Output  
Current  
Levels  
Outputs  
X+, X-, Y+,  
Y-  
6
Allowable Sink and Source Current per Pin  
Source (Weak Pull-Up Mode)  
20  
VCC = 4.5V, VOH = 3.8V  
VCC = 2.7V, VOH = 1.8V  
VCC = 4.5V, VOH = 3.8V  
VCC = 2.7V, VOH = 1.8V  
VCC = 4.5V, VOL = 1.0V  
VCC = 2.7V, VOL = 0.4V  
10  
5  
µA  
Source (Push-Pull Mode)  
7  
mA  
mA  
mA  
mA  
mA  
μA  
All Others  
4  
Sink (Push-Pull Mode)(4)  
10  
3.5  
Allowable Sink and Source Current per Pin  
15  
TRI-STATE Leakage  
VCC = 5.5V  
0.5  
+0.5  
±200  
Maximum Input Current without Latchup  
RAM Retention Voltage, VR (in HALT Mode)  
Input Capacitance  
mA  
V
2.0  
7
pF  
(4) Absolute Maximum Ratings should not be exceeded.  
A/D Converter Electrical Characteristics (0°C TA +70°C) (Single-ended mode only)  
Datasheet min/max specification limits are guaranteed by design, test, or statistical analysis.  
Parameter  
Conditions  
Min  
Typ  
Max  
10  
Units  
Bits  
LSB  
LSB  
LSB  
LSB  
LSB  
LSB  
LSB  
LSB  
V
Resolution  
DNL  
VCC = 5V  
±1  
DNL  
VCC = 3V  
±1  
INL  
VCC = 5V  
±2  
INL  
VCC = 3V  
±4  
Offset Error  
Offset Error  
Gain Error  
Gain Error  
Input Voltage Range  
VCC = 5V  
±1.5  
±2.5  
±1.5  
±2.5  
VCC  
0.5  
6k  
VCC = 3V  
VCC = 5V  
VCC = 3V  
2.7V VCC < 5.5V  
0
Analog Input Leakage Current  
Analog Input Resistance(1)  
Analog Input Capacitance  
Operating Current on AVCC  
µA  
7
pF  
AVCC = 5.5V  
0.2  
0.6  
mA  
(1) Resistance between the device input and the internal sample and hold capacitance.  
6
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
FUNCTIONAL DESCRIPTION  
GENERAL  
The LM8300/8500 is a 4-wire resistive touch screen controller. The primary communication is through the built in  
UART operating at a baud rate of 38400. The LM8300/8500 has the ability to measure pressure on the Z-axis, in  
addition to the X-Y coordinates.  
The device has the capability to do a 2, 5, and 13 point calibration. All calibration data is stored in the internal  
non-volatile storage element. In addition, all settings pertaining to the controller are stored internally. This feature  
negates the need for external EEPROM.  
The device has three built in averaging algorithms: oversampling, delta, and focus. These algorithms help to  
minimize noise and A/D variation due to noise. Refer to the Averaging Algorithm section for a more detail  
explanation. These algorithms are implemented on-chip, freeing the main processor from these tasks. To further  
minimize noise in extremely noisy environments, the device has the ability to route the signal from the touch  
panel to an external filtering stage before A/D conversions are performed.  
To minimize power consumption, the device can be put into power save mode. The device can be set to go into  
power save mode automatically or manually by pulling the external shutdown pin low.  
ADVANCED PIN DESCRIPTIONS  
CLK_SET — This pin is the selection pin used to determine the operating frequency of the controller. On power  
up, the controller polls this pin to determine if the operating frequency is set to 10 MHz or 3.3 MHz. If the pin is  
left floating or tied high, then the operating frequency is 10 MHz. If the pin is tied low, then the operating  
frequency is set to 3.3 MHz.  
NOTE  
This is available on the LM8500 only.  
SHUTDOWN — This is the external shut down pin. When pulled low, the controller goes into power saving  
mode. This selection pin state has higher priority than the internal power save mode settings.  
WAKE_UP — This pin is used to wake the controller from power save mode. When the device is in power save  
mode, the pin must be tied to one of X-Y lines coming from the touch screen panel.  
X+ — Connect to X+ terminal of the resistive screen.  
X– — Connect to X– terminal of the resistive screen.  
Y+ — Connect to Y+ terminal of the resistive screen.  
Y– — Connect to Y– terminal of the resistive screen.  
Filter_out — Analog output to external filter. The use of the external filter is controlled by sending a command  
byte of $A0 on the UART to the controller.  
Filter_in — Analog input from external filter. The use of the external filter is controlled by sending a command  
byte of $A0 on the UART to the controller.  
LED — Optional LED output. When the controller is operating in normal (non power save) mode, a low is output  
to the pin. When the controller is in power save mode, a high is output to the pin.  
RESET — Reset pin. When pulled low, a manual reset is executed. For normal operation, this pin must be pulled  
high. Under no circumstances should the pin be left floating.  
UART_TX — UART transmit pin. The signal is inverted for use with standard RS-232 drivers.  
UART_RX — UART receive pin. The signal is inverted for use with standard RS-232 drivers.  
DTR — Data Terminal Ready signal for the UART. If a high level is detected on the pin, this signals that the  
UART is not ready. If a low level is detected on the pin, this signals that the UART is ready.  
WD_Out — Watch dog output. For correct operation, this pin should be connected to the RESET pin.  
OSC_OUT — Clock oscillator output pin.  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
7
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
OSC_IN — Clock oscillator input pin  
GND — Digital Ground  
AGND — Analog ground  
DVCC — Digital power supply.  
AVCC — Analog power supply. For best performance, this pin should be connected to a filter.  
Users of the WQFN package are cautioned to be aware that the central metal area and the pin 1 index mark on  
the bottom of the package may be connected to GND. See Figure 4 below:  
Figure 4. WQFN Package Bottom View  
USART FRAMING FORMAT  
The device communicates with the touch screen driver using the UART set at a baud rate of 38400, 8, n, 1.  
All communication from the host software and the controller consists of a command byte and occasionally data  
byte(s). If data byte(s) follow a command byte, it must be sent directly after the command byte. If the device is in  
the power save mode, a delay must be inserted between the wake up command and the command byte. Refer to  
the Power Save Mode (Low Power Stand-by) section for more details. For every command byte sent to the  
controller, an acknowledge byte is sent back and sometimes data byte(s).  
A command byte is distinguished by having the 7th bit of the command byte set (1). If any data byte(s) is to  
follow, the 7th bit of the data byte is reset (0).  
Data packets sent to the host software can be either four or five bytes in length. If the pressure measurement is  
enabled, five bytes are sent. If the pressure measurement is not enabled, four bytes are sent.  
The first byte of each data packet is a header byte. This header byte is used to synchronize and differentiate  
between four or five byte packages. If a four byte data package is sent, the 4th bit of the header byte is reset (0).  
If a five byte data package is sent, the 4th bit of the header byte is set (1).  
The 6th bit of the second byte of the data packet is used to indicate the touch state. If the bit is set (1), then a  
touchdown or continuous touch is detected. If the bit is reset (0), then a liftoff is detected.  
8
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
 
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
Data packet format table  
Bit 7  
Bit 6  
0
Bit 5  
0
Bit 4  
L
Bit 3  
0
Bit 2  
0
Bit 1  
0
Bit 0  
0
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Byte 5  
1
0
0
0
0
S
X2  
X8  
Y8  
Z5  
X1  
X7  
Y7  
Z4  
X0  
X6  
Y6  
Z3  
Y2  
X5  
Y5  
Z2  
Y1  
X4  
Y4  
Z1  
Y0  
X3  
Y3  
Z0  
X9  
Y9  
Z6  
L – Package length. (0 = 4 bytes, 1 = 5 bytes)  
S – Touch state (0 = liftoff, 1 = touchdown or continuous touch)  
XX – X position (10 bit value)  
YY – Y position (10 bit value)  
ZZ – Z positon (7 bit value), this byte is only transmitted if the pressure measurement is enabled  
Command Bytes  
PC  
Byte 2  
TSC  
Byte 2  
PC Command  
PC Byte 1  
$B0  
TSC Byte 1  
$CA  
Read clock-speed (3,33MHz,  
10MHz)  
$00, $01  
Read parameters  
$B1  
$B2  
$CA  
$C7  
See Advanced Command Bytes  
Descriptions  
Read software version number  
See Advanced Command Bytes  
Descriptions  
Read # of calibration points  
Read stored calibration points  
$B3  
$B4  
$CA  
$CA  
$00, $02, $05, $0D  
See Advanced Command Bytes  
Descriptions  
Set focus value (# of pixels on touch $B8  
panel)  
$0-$3F  
$CA  
$00-$3F  
Set # of samples per coordinate (1, $BA  
2, 4, 8, 16, 32)  
$01, $02, $04, $08, $10, $20 $CA  
$01, $02, $04, $08, $10, $20  
$01, $02, $04  
$00-$3F  
Set communication mode (stream,  
touchdown, liftoff)  
$BB  
$BC  
$BD  
$BE  
$01, $02, $04  
$00-$3F  
$CA  
$CA  
$CA  
Set max delta (# of pixels from  
predicted coordinate)  
Set calibration points  
See Advanced Command  
Bytes Descriptions  
See Advanced Command Bytes  
Descriptions  
Set minimum pressure  
$00-$7F  
$CA  
$CA  
$00-$7F  
$00, $01  
Toggle disable/enable external filter $A0  
path  
Toggle disable/enable self power-  
down  
$A2  
$CA  
$00, $01  
Toggle disable/enable echo mode  
$A3  
$A4  
$CA  
$CA  
$00, $01  
$00, $01  
Toggle disable/enable pressure  
measurements  
Toggle disable/enable calibration  
coordinate check  
$A5  
$CA  
$00, $01  
Wakeup  
$A7  
$A8  
$AF  
Shutdown  
Soft reset  
TSC Replies  
Timeout  
$CA  
$CA  
$CB, $CC  
$CF  
$CE  
Re-send  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
9
Product Folder Links: LM8300 LM8500  
 
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
PC  
Byte 2  
TSC  
Byte 2  
PC Command  
Self test failed  
PC Byte 1  
TSC Byte 1  
$CC  
Self test ok  
$CB  
Acknowledge  
$CA  
Calibration coordinates ok  
Error / buffer overrun  
Software version  
Data transmit  
$C4  
$C8  
$C7  
$0-$7F  
Payload (3/4 bytes)  
$80/$90  
Advanced Command Bytes Descriptions  
Unless otherwise mentioned, all values are in hex.  
$B0: Read clock-speed  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: Clock readout (0 = 3.3MHz, 1 = 10MHz)  
CLK_SEL pin tells the firmware which oscillator speed is used. If the CLK_SEL input pin is floating or pulled high  
a 10.0MHz oscillator must be connected. If the pin is pulled low a 3.3MHz oscillator must be connected. This  
command enables the driver software to determine which oscillator speed is used with the touch screen  
controller, as this determines the maximum coordinate pair per second data rates.  
NOTE  
This is available in the LM8500 only.  
$B1: Read parameters  
Reply Byte #1: $CA (Acknowledge)  
Reply Byte #2: First byte in software version number, year 20 (00-99)  
Reply Byte #3: Communication mode (1 = stream, 2 = touchdown, 4 = liftoff)  
Byte #4: Wakeup on touch (0 = disabled, 1 = enabled)  
Reply Byte #5: Number of samples (1,2, 4, 8, 16 or 32)  
Byte #6: Clock readout (0 = 3.3MHz, 1 = 10MHz)  
Byte #7: Second byte in software version number, month (1-12)  
Byte #8: Third byte in software version number, day (1-31)  
Byte #9: Focus value (0-63)  
Byte #10: Max delta (0-63)  
Byte #11: Number of calibration coordinates (0, 2, 5 or 13)  
Byte #12: Toggle-flags:  
Bit #5: calibration coordinates check (0=disabled, 1=enabled)  
Bit #4: Pressure measurement (0=disabled, 1=enabled)  
Bit #3: Echo mode (0=disabled, 1=enabled)  
Bit #2: Self Power-Down mode (0=disabled, 1=enabled)  
Bit #1: Unused  
Bit #0: External filter path (0=disabled, 1=enabled)  
Byte #13: Pressure threshold for valid touch  
10  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
This command allows the user to read all the selected parameters. It is primary intended to aid in debugging.  
This command can also be used if a configuration utility needs to determine the current setting of controller.  
$B2: Read software version number  
Reply Byte #1: $C7 (Software version number)  
Byte #2: First byte in version number, year 20 (00-99)  
Byte #3: Second byte in version number, month (1-12)  
Byte #4: Third byte in version number, day (1-31)  
$B3: Read # of calibration points  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: ($00 — no calibration done, $02 — 2 points, $05 — 5 points or $0D — 13 points)  
$B4: Read stored calibration points  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: ($00 — no calibration done, $02 — 2 points, $05 — 5 points or $0D — 13 points)  
Byte #3: X-max (2 MSB for coordinate 1)  
Byte #4: X-min (8 LSB for coordinate 1)  
Byte #5: Y-max (2 MSB for coordinate 1)  
Byte #6: Y-min (8 LSB for coordinate 1)  
Continue until all coordinates have been sent. A zero is send back if calibration has not been performed and  
there are no data bytes.  
$B8: Set focus value  
Byte #2: Focus value (0-63)  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: Focus value (0-63)  
The set focus command allows the setting of different values to improve touch screen focusing. Focusing is  
defined as the ability of the touch screen controller to detect exactly identical coordinate values from  
measurement to measurement if the pointer on the touch screen has not moved. The focus values are equivalent  
to pixels of touch screen resolution. If for example a value of 2 is selected, this means that every coordinate  
value that is within two pixels of the previously measured coordinate value is considered to be identical to that  
previous value and that in this case the touch screen controller transmits the previous coordinate information.  
This keeps the mouse pointer steady at the point being touched, rather than "jumping around" the point. A Focus  
value of zero disables the focusing algorithm. The default setting is 4.  
$BA: Set number of samples per coordinate  
Byte #2: Number of samples per coordinate ($01 - 1 samples/coordinate, $02 - 2 samples/coordinate, $04  
- 4 samples/coordinate, $08 - 8 samples/coordinate, $10 - 16 samples/coordinate, $20 - 32  
samples/coordinate)  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: Number of samples per coordinate ($01 - 1 samples/coordinate, $02 - 2 samples/coordinate, $04  
- 4 samples/coordinate, $08 - 8 samples/coordinate, $10 - 16 samples/coordinate, $20 - 32  
samples/coordinate)  
This command allows the selection of different sample numbers per X, Y, and Z coordinates. The higher the  
number of samples per X, Y, and Z coordinates, the better the accuracy, but the lower the coordinates per  
second data rate. The default setting is 8.  
$BB: Set communication mode  
Byte #2: Communication mode ($01 = stream, $02 = touchdown, $04 = liftoff)  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
11  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: Communication mode ($01 = stream, $02 = touchdown, $04 = liftoff)  
See the COMMUNICATION MODES section for a description of the stream, touchdown and liftoff modes. This  
command selects the communication mode. The default setting is stream mode.  
$BC: Set max delta  
Byte #2: Max delta value (0-63)  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: Max delta value (0-63)  
See the Averaging Algorithm section for a detailed description of this setting. Simply put, this command sets how  
much the "coordinate velocity" can change from one coordinate to the next. The default setting is 8.  
$BD: Set calibration points  
Byte #2: High nibble: Number of calibration points ($01 = two, $02 = five, $04 = thirteen)  
Low nibble: Active calibration cross (1-13 = cross #)  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: High nibble: Number of calibration points ($01=two, $02=five, $04=thirtheen)  
Low nibble: Active calibration cross # (1-13)  
Refer to the Calibration section for details.  
$BE: Set minimum pressure  
Byte #2: Minimum pressure value (0-127)  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: Minimum pressure value (0-127)  
This setting controls how high the pressure (Z-axis) must be in order for samples to be accepted. Setting this  
value too low may result in having faulty coordinates accepted. This value is internally multiplied by two in the  
controller (due to the 7-bit limitation in the communication format, which can not send 8-bit values larger than 127  
in one byte). The default setting is 40.  
$A0: Toggle disable/enable external filter path  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: (0 = now disabled, 1 = now enabled)  
This command enable/disable external filter path. The external filter path enabled option will require the addition  
of a single external low pass filter (either R/C or active OpAmp based), which is then applied to the touch screen  
signal lines. This option can be used in high noise environments to significantly improve performance and  
accuracy of the touch screen controller.  
The default setting is filter path enabled.  
$A2: Toggle disable/enable self-power down  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: (0 = now disabled, 1 = now enabled)  
This command can switch between self-power down mode enable or disabled. Refer to the Power Save Mode  
(Low Power Stand-by) section for details. The default setting is Self-Power Down mode enabled. If the echo  
mode is enabled, any command byte send to the device will be echo back and executed.  
$A3: Toggle disable/enable echo mode  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: (0 = now disabled, 1 = now enabled)  
12  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
The echo mode is available for debugging purposes. If enabled, the touch screen controller will echo back any  
data that is received via the UART interface.  
The default setting is Echo mode disabled.  
$A4: Toggle disable/enable pressure measurement  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: (0 = now disabled, 1 = now enabled)  
The pressure measurement sets the touch screen to also sample the Z-axis when reading the X and Y  
coordinates.  
The default setting is pressure measurement enabled.  
$A5: Toggle disable/enable calibration checking.  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: (0 = now disabled, 1 = now enabled)  
If the cablibration checking is enabled, the cablibration mapping must be the values shown in ??? to ???.  
$A7: Wakeup  
There is no reply byte to this command.  
When the self-power down mode of the device is enabled, the touch screen driver must send a wakeup  
command prior to any command byte(s). If the self-power down mode of the TSC is enabled. The wakeup  
command must also to be sent if the driver puts the TSC in power-down mode via the shutdown command.  
$A8: Shutdown  
Reply Byte #1: $CA (Acknowledge)  
When the TSC driver wants the controller to go into power save mode it sends a shutdown command to the  
controller. The driver needs to send a wakeup to the controller before starting up the communication again.  
With the TSC has the self-power-down mode enabled, then a touchdown on the touch screen will wake-up the  
TSC from shutdown mode in addition to sending the wake up command. If the self-power-down mode is  
disabled, then only the wakeup command can wake-up the controller from shutdown mode (i.e. wake-up on  
touchdown is disabled).  
$AF: Soft reset (restart the controller)  
Reply Byte #1: $CA (Acknowledge)  
Byte #2: $CB/$CC (Self test OK/Self test fail)  
When the PC driver sends the soft reset command, the touch screen controller executes a soft reset, which  
clears and re-initializes all internal RAM configuration registers from on-chip FLASH and performs a self-check of  
internal RAM and program memory.  
CONTROLLER REPLIES  
$CF: Timeout.  
Communication timeout has occurred, and current command has been aborted.  
$CE: Re-send  
Request the TSC driver to resend the last command. This command is used if the controller does not understand  
the received command or a buffer overrun condition occurs.  
$CC: Self test fail (done at startup, reset, and after calibration)  
$CB: Self test OK (done at startup, reset, and after calibration)  
$CA: Acknowledge  
$C4: Calibration coordinates OK  
This is sent if the coordinates are within the predefined value.  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
13  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
$C8: Error / TX Buffer overrun  
This is added to the last place in transmit buffer to signal that a buffer overrun has occurred.  
$C7: Software Version number  
Byte #2: First byte of version number  
Byte #3: Second byte of version number  
Byte #4: Third byte of version number  
$80: Format tablet for Z-axis disabled (see Data packet format table section for more info.)  
Byte #2: Status, low X and low Y  
Byte #3: High X  
Byte #4: High Y  
$90: Format tablet for Z-axis enabled (see Data packet format table section for more info.)  
Byte #2: Status, low X and low Y  
Byte #3: High X  
Byte #4: High Y  
Byte #5: Z-axis (0-127)  
Oscillator  
OSC_IN is the clock input while OSC_OUT is the clock generator output to the crystal. Table 2 shows the  
component values required for various standard crystal values. Figure 5 shows the crystal oscillator connection  
diagram.  
Figure 5.  
Table 2. Crystal Oscillator Configuration,  
TA = 25°C, VCC = 5V  
CKI Freq.  
(MHz)  
C1 (pF)  
C2 (pF)  
18  
18  
10  
18–36  
18–36  
3.27  
The crystal and other oscillator components should be placed in close proximity to the OSC_IN and OSC_OUT  
pins to minimize printed circuit trace length.  
The values for the external capacitors should be chosen to obtain the manufacturer's specified load capacitance  
for the crystal when combined with the parasitic capacitance of the trace, socket, and package (which can vary  
from 0 to 8 pF). The guideline in choosing these capacitors is:  
Manufacturer's specified load cap = (C1 * C2) / (C1 + C2) + Cparasitic  
C2 can be trimmed to obtain the desired frequency. C2 should be less than or equal to C1.  
14  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
 
 
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
Power Save Mode (Low Power Stand-by)  
The power consumption of the controller can be minimized by enabling the low power stand by mode. The power  
save mode can be controlled internally by sending a command of $A2 to the controller, externally by pulling the  
SHUTDOWN pin low, or by issuing a driver shutdown command of $A8.  
The self power down mode is enabled/disabled by sending a command of $A2 to the controller. When enabled,  
the controller automatically goes into low power stand by if no more touch activity is detected or if there is no  
UART communication. The controller automatically comes out of low power stand by mode when a touch is  
detected on the touch panel or if an incoming communication on the UART is detected. In the low power stand  
by mode, all activity is disabled, including the oscillator. Also, the LED pin is driven high. To wake up the  
controller on the UART, the wake up command byte must be sent, followed by a minimum time delay of 1ms for  
the LM8500 and 3ms for the LM8300 before sending any command byte. The delay time is needed to allow the  
oscillator to restart and stabilize. Table 3 shows the average startup time for a given operating frequency.  
The SHUTDOWN pin will shut down the controller when pulled low. When the SHUTDOWN pin is pulled low, the  
controller will continue to be in the low power stand by mode until the pin is pulled high or released. While the  
SHUTDOWN pin is pulled low, all activities are stopped and any touch or communication will be ignored.  
Immediately following the SHUTDOWN pin being released or pulled high, the controller clears the UART transmit  
and receive buffers and resumes normal operation.  
The controller can be put in the low power stand by mode by sending a $A8 command to it. Upon receiving this  
command, the controller goes into low power stand by mode. If the self power down mode is enabled and the  
controller is put into low power stand by mode, the controller will wake up if the wake up command ($A7) is  
received or if a touch is detected on the touch panel. If the self power down mode is disabled and the controller  
is put into low power stand by mode, the controller can only be woken up if it receives the wakeup command.  
After the controller wakes up, the UART transmit and receive buffers are cleared and resume normal operation.  
Table 3. Startup Times  
CKI Frequency  
10 MHz  
Startup Time  
1–10 ms  
3.33 MHz  
3–10 ms  
Averaging Algorithm  
To achieve better accuracy and noise filtering, each X, Y, and Z coordinate is oversampled by specific amount.  
The possible oversampling settings are 1, 2, 4, 8, 16, and 32. The factory setting is 8. The greater the  
oversampling, the greater the accuracy, but the lower the CPPS.  
Table 4. Samples per coordinate vs. CPPS for LM8300  
Samples  
Coordinate pairs  
per coordinate  
per second (CPPS)  
1
250  
220  
190  
150  
100  
65  
2
4
8
16  
32  
Table 5. Samples per coordinate vs. CPPS for LM8500  
Samples  
Coordinate pairs  
per coordinate  
per second (CPPS)  
1
500  
430  
360  
270  
190  
2
4
8
16  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
15  
Product Folder Links: LM8300 LM8500  
 
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
Table 5. Samples per coordinate vs. CPPS for LM8500 (continued)  
32  
110  
DELTA ALGORITHM  
The delta filter is used to remove large variations in sampled values due to noise and glitches. The delta filter  
tries to predict where the next coordinate could be. This is done by taking the two previous coordinates and  
subtracting one from the other, producing a delta value. This delta value is then added or subtracted to the last  
coordinate. The resulting value is the predicted coordinate. If the new sampled coordinate is close to this  
predicted value, then the new value is accepted as valid and is passed to the focus algorithm, provided the focus  
algorithm is enabled. If the new sampled coordinate is not close to the predicted coordinate, then the value is  
discarded and is stored to be used in the following delta calculations.  
The number by which the new sampled coordinate can differ from the predicted coordinate is controlled by  
setting the Set Max Delta value. The Set Max Delta value can be from a value of 0-63. The factory default is 8.  
FOCUS ALGORITHM  
The focus algorithm removes some inaccuracy and noise that could cause the coordinate to differ only by a  
couple of pixels. The focus algorithm is used to eliminate the "jittering" effect of the pointer when the pointer is  
stationary.  
The focus algorithm compares the value of the previous stored value to the value passed from the delta  
algorithm and determines if the difference is greater than or equal to the Set Focus Value. If the difference is  
greater or equal to the value in Set Focus Value then the new coordinate is sent out through the UART and  
stored as the previous value. If the difference is less than the Set Focus Value then the value is discarded and  
the stored valued is set through the UART.  
The amount of difference between the new coordinate and the old coordinate is set in the Set Focus Value. This  
value can be from 0-63 with a value of 0 disabling the focus algorithm. The factory default is 4.  
COMMUNICATION MODES  
Liftoff  
When set to the liftoff mode, the controller only sends data through the UART on liftoff. The controller  
continuously samples the touchscreen as long as there is a touch detected on the touchscreen but only the last  
coordinate is sent out to the UART.  
Touchdown  
When set to the touchdown mode, the controller only sends data through the UART on touchdown. The controller  
continuously samples the touchscreen as long as there is a touch detected on the touchscreen but only the first  
coordinate is sent out to the UART.  
Streaming  
When set to the streaming mode, the controller continuously sends data through the UART as long as there is a  
touch detected on the touchscreen.  
Brownout Reset  
The device is initialized when the RESET pin is pulled low or the On-chip Brownout Reset is activated.  
The RESET input initializes the device when pulled low. The RESET pin must be held low for a minimum of  
0.5µs for the LM8500 and a minimum of 1.5µs for the LM8300 to guarantee a valid reset. Reset should also be  
wide enough to ensure crystal start-up upon power-up. The R/C circuit shown in Figure 6 is an optional circuitry  
that will provide a delay 5 times (5x) greater than the power supply.  
16  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
Figure 6. Optional Reset Circuit using External Reset  
When enabled, the device generates an internal reset as VCC rises. While VCC is less than the specified brownout  
voltage (Vbor), the device is held in the reset condition for tid = 120-128 µs for the LM8500 and tid = 360-384 µs  
for the LM8300. Once the tid reaches zero, the internal reset is released and the controller resume normal  
operation. This internal reset will perform the same functions as external reset. Once VCC is above the Vbor and tid  
reaches zero, instruction execution begins. If, however, VCC drops below the selected Vbor, an internal reset is  
generated, and tid is set to 120-128 µs for the LM8500 and 360-384 µs for the LM8300. The device now waits  
until VCC is greater than Vbor, at which time the countdown starts over. When enabled, the functional operation of  
the device, at frequency, is guaranteed down to the Vbor level.  
One exception to the above is that the brownout circuit will insert a delay of approximately 3 ms on power up or  
any time the VCC drops below a voltage of about 1.8V. The device will be held in Reset for the duration of this  
delay before tid starts count down. This delay starts as soon as the VCC rises above the trigger voltage  
(approximately 1.8V). This behavior is shown in Figure 7.  
In Case 1, VCC rises from 0V and the on-chip RESET is undefined until the supply is greater than approximately  
1.0V. At this time the brownout circuit becomes active and holds the device in RESET. As the supply passes a  
level of about 1.8V, a delay of about 3 ms (td) is started and tid is preset with 120-128 µs for the LM8500 or 360-  
384 µs for the LM8300. Once VCC is greater than Vbor and td has expired, tid starts to count down.  
Case 2 shows a subsequent dip in the supply voltage which goes below the approximate 1.8V level. As VCC  
drops below Vbor, the internal RESET signal is asserted. When VCC rises back above the 1.8V level, td is started.  
Since the power supply rise time is longer for this case, td has expired before VCC rises above Vbor and tidstarts  
immediately when VCC is greater than Vbor  
.
Case 3 shows a dip in the supply where VCC drops below Vbor, but not below 1.8V. On-chip RESET is asserted  
when VCC goes below Vbor and tid starts as soon as the supply goes back above Vbor  
.
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
17  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
Figure 7. Brownout Reset Operation  
The internal reset will not be turned off until tid counts down to zero. The internal reset will perform the same  
functions as external reset. The device is guaranteed to operate at the specified frequency down to the specified  
brownout voltage. After the underflow, the logic is designed such that no additional internal resets occur as long  
as VCC remains above the brownout voltage.  
The device is relatively immune to short duration negative going VCC transients (glitches). Proper filtering of the  
VCC power supply voltage is essential for proper brownout functionality. Power supply decoupling is vital even in  
battery powered systems.  
There are two optional brownout voltages. The part numbers for the two versions of this device are:  
LM8500, Vbor = high voltage range.  
LM8300, Vbor = low voltage range.  
Refer to the device specifications for the actual Vbor voltages.  
High brownout voltage devices are guaranteed to operate at 10MHz down to the high brownout voltage. Low  
brownout voltage devices are guaranteed to operate at 3.33MHz down to the low brownout voltage. Low  
brownout voltage devices are not guaranteed to operate at 10MHz down to the low brownout voltage.  
Under no circumstances should the RESET pin be allowed to float. The RESET input may be connected to an  
external pull-up resistor to VCC or to other external circuitry. The output of the brownout reset detector will always  
preset tid to a value between 120-128µs for the LM8500 and 360-384µs for the LM8300. At this time, the internal  
reset will be generated.  
The device has a built in watchdog monitoring module to prevent runaway code. To use the watchdog feature,  
the WD_OUT pin must be connected to the RESET pin. The WD_OUT pin has an internal weak pull-up so that,  
when the WD_OUT pin is connected to the RESET pin, the RESET pin does not require an external pull-up  
resistor to VCC  
.
Calibration  
The device supports two, five, and thirteen point calibration. If desired, the calibration points can be stored  
internally in the non-volatile storage element. During calibration time, the device has the unique ability to check if  
the calibration points make sense. For instance, if the desired calibration point was to be at the upper left hand  
corner, but by accident, the actual point detected was at the lower right hand corner, the device will reject this  
point. This ensures the calibration process is not performed incorrectly.  
18  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
The calibration checking, can be enabled or disabled. If the calibration checking is enabled, the controller will  
always check the current calibration point being done against the theoretical point and determine if the value is  
within ±127 of the raw A/D values. If this option is desired, the touch screen driver must perform the calibration  
according to the calibration mapping for the two, five, and thirteen points as shown in Figure 8, Figure 9, and  
Figure 10, respectively. The theoretical values for the two, five, and thirteen points are shown in Table 6, Table 7,  
and Table 8 respectively.  
Figure 8. Two Points Calibration Mapping  
Figure 9. Five Points Calibration Mapping  
Figure 10. Thirteen Points Calibration Mapping  
Table 6. Two Points Calibration  
Calibration point  
Theoretical X-value  
Theoretical Y-value  
1
2
127  
895  
127  
895  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
19  
Product Folder Links: LM8300 LM8500  
 
 
 
 
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
Table 7. Five Points Calibration  
Calibration point  
Theoretical X-value  
Theoretical Y-value  
1
2
3
4
5
127  
895  
127  
511  
895  
127  
895  
895  
511  
127  
Table 8. Thirteen Points Calibration  
Calibration point  
Theoretical X-value  
Theoretical Y-value  
1
2
127  
895  
127  
511  
895  
895  
511  
127  
511  
623  
623  
319  
319  
127  
895  
895  
511  
127  
511  
895  
511  
127  
319  
623  
623  
319  
3
4
5
6
7
8
9
10  
11  
12  
13  
GENERAL CALIBRATION PROCEDURES  
Calibration is invoked by sending a command byte of $BD followed by a command byte to the device. The  
command byte is broken into two parts: the high nibble states the number of calibration points to performs and  
the lower nibble states the active calibration point. For example, to do the first calibration point for the two point  
calibration, the command bytes of $BD and $11 are sent to the device. The device then echos $BD and $11  
back to the TS driver and waits for a touch on the panel. When a touch is detected, the device checks to see if  
the point is within the specified parameters if the calibration point checking is enabled. If the calibration point  
checking is disabled, the device will send a $C8 for OK byte to the TS driver regardless of where the touch was  
detected. This calibration point checking can be enabled or disabled by sending a command byte of $A5 to the  
device. When all the calibration points are done, the device will do a self-test and send a command of $CB for  
OK or a command of $CC for failed. If a $CC is received, the TS driver should issue a warning stating the  
calibration was not done properly and redo the calibration procedures. The flowchart for the calibration  
procedures is shown in Figure 11.  
20  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
 
 
LM8300, LM8500  
www.ti.com  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
Figure 11. Calibration Procedures with Coordinates Checking Enabled  
CALIBRATION PROCEDURES WITH COORDINATES CHECKING ENABLED  
To do TS calibration with coordinates checking enabled, first ensure the Calibration Coordinates Checking is  
enabled on the device. This can be accomplished by sending a command byte of $B1 (Read Parameters  
command) and checking the 5th bit of the 12th reply byte is set. Alternatively, if the device is set to Calibration  
Coordinates Checking enabled as default, this step can be skipped.  
Copyright © 2002–2013, Texas Instruments Incorporated  
Submit Documentation Feedback  
21  
Product Folder Links: LM8300 LM8500  
LM8300, LM8500  
SNAS158B OCTOBER 2002REVISED MARCH 2013  
www.ti.com  
The TS driver sends the command byte to do calibration ($BD). The TS driver should wait for the reply bytes and  
ensure it is the same command bytes it sent. The device waits for a touch to be detected on the panel. Once a  
touch is detected, the device checks it against the predetermined calibration values as noted on Table 6,  
Table 7 , and Table 8. If the detected touch is within the predefined value (±127 of the raw A/D value), the device  
will send a command of $C4 to the TS driver and store the calibration point in the internal flash. The TS driver  
can now send a command byte to do the next calibration point. If the detected touch is not within the predefined  
value, the device will send a reply byte of $C8 to the TS driver. Upon receiving this reply byte, the TS driver can  
resend the calibration command for the same calibration point, go the next calibration point, or abort the  
calibration process.  
Once all the calibration points are done, the device does a self-test. If the self-test was not successful, the device  
will send a reply byte of $CC to the TS driver. At this point, the TS driver should either notify the user to redo the  
calibration point or automatically redo the calibration again. If the self-test was successful, the device will send a  
reply byte of $CB to the TS driver.  
CALIBRATION PROCEDURES WITH COORDINATES CHECKING DISABLED  
To do TS calibration with coordinates checking disabled, first ensure the Calibration Coordinates Checking is  
disabled on the device. This can be accomplished by sending a command byte of $B1 (Read Parameters  
command) and checking the 5th bit of the 12th reply byte is not set. Alternatively, if the device is set to  
Calibration Coordinates Checking disabled as default, this step can be skipped.  
The TS driver sends the command byte to do calibration ($BD). The TS driver should wait for the reply bytes and  
ensure it is the same command bytes it sent. The device waits for a touch to be detected on the panel. Once a  
touch is detected, the device save the values into the internal flash and send a reply byte of $C4 to the TS driver.  
The TS driver can now send a command byte to do the next calibration point. Since the Calibration Checking is  
disabled, the TS driver should ensure the calibration point is within the range of the calibration cross.  
Once all the calibration points are done, the device does a self-test. If the self-test was not successful, the device  
will send a reply byte of $CC to the TS driver. At this point, the TS driver should either notify the user to redo the  
calibration point or automatically redo the calibration again. If the self-test was successful, the device will send a  
reply byte of $CB to the TS driver.  
Revision History  
Date  
October 2002  
May 2003  
Section  
Summary of Changes  
Initial release.  
All sections  
Removed LM8400 part.  
Brownout Reset  
Updated section to reflect the change and made external reset circuitry optional.  
Added command byte $A5  
July 2003  
Advanced Command Bytes  
Descriptions  
Updated controller reply bytes  
December 2003  
March 2013  
Advanced Command Bytes  
Descriptions  
Added description for command byte $A5  
All Sections  
Changed layout of National Data Sheet to TI format  
22  
Submit Documentation Feedback  
Copyright © 2002–2013, Texas Instruments Incorporated  
Product Folder Links: LM8300 LM8500  
PACKAGE OPTION ADDENDUM  
www.ti.com  
18-Oct-2013  
PACKAGING INFORMATION  
Orderable Device  
LM8300IMT9B/NOPB  
LM8500IMT9B/NOPB  
Status Package Type Package Pins Package  
Eco Plan  
Lead/Ball Finish  
MSL Peak Temp  
Op Temp (°C)  
0 to 70  
Device Marking  
Samples  
Drawing  
Qty  
(1)  
(2)  
(6)  
(3)  
(4/5)  
ACTIVE  
TSSOP  
TSSOP  
DGG  
48  
48  
38  
Green (RoHS  
& no Sb/Br)  
SN | CU SN  
Level-2-260C-1 YEAR  
LM8300IMT9  
ACTIVE  
DGG  
38  
Green (RoHS  
& no Sb/Br)  
SN | CU SN  
Level-2-260C-1 YEAR  
0 to 70  
LM8500IMT9  
(1) The marketing status values are defined as follows:  
ACTIVE: Product device recommended for new designs.  
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.  
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.  
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.  
OBSOLETE: TI has discontinued the production of the device.  
(2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability  
information and additional product content details.  
TBD: The Pb-Free/Green conversion plan has not been defined.  
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that  
lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.  
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between  
the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.  
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight  
in homogeneous material)  
(3) MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.  
(4) There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.  
(5) Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation  
of the previous line and the two combined represent the entire Device Marking for that device.  
(6) Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish  
value exceeds the maximum column width.  
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information  
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and  
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.  
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.  
Addendum-Page 1  
PACKAGE OPTION ADDENDUM  
www.ti.com  
18-Oct-2013  
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.  
Addendum-Page 2  
MECHANICAL DATA  
MTSS003D – JANUARY 1995 – REVISED JANUARY 1998  
DGG (R-PDSO-G**)  
PLASTIC SMALL-OUTLINE PACKAGE  
48 PINS SHOWN  
0,27  
0,17  
M
0,08  
0,50  
48  
25  
6,20  
6,00  
8,30  
7,90  
0,15 NOM  
Gage Plane  
0,25  
1
24  
0°8°  
A
0,75  
0,50  
Seating Plane  
0,10  
0,15  
0,05  
1,20 MAX  
PINS **  
48  
56  
64  
DIM  
A MAX  
12,60  
12,40  
14,10  
13,90  
17,10  
16,90  
A MIN  
4040078/F 12/97  
NOTES: A. All linear dimensions are in millimeters.  
B. This drawing is subject to change without notice.  
C. Body dimensions do not include mold protrusion not to exceed 0,15.  
D. Falls within JEDEC MO-153  
POST OFFICE BOX 655303 DALLAS, TEXAS 75265  
IMPORTANT NOTICE  
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other  
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest  
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and  
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale  
supplied at the time of order acknowledgment.  
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms  
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary  
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily  
performed.  
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and  
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide  
adequate design and operating safeguards.  
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or  
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information  
published by TI regarding third-party products or services does not constitute a license 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 significant portions of TI 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. TI is not responsible or liable for such altered  
documentation. Information of third parties may be subject to additional restrictions.  
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service  
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.  
TI is not responsible or liable for any such statements.  
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements  
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support  
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which  
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause  
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use  
of any TI components in safety-critical applications.  
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to  
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and  
requirements. Nonetheless, such components are subject to these terms.  
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties  
have executed a special agreement specifically governing such use.  
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in  
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components  
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and  
regulatory requirements in connection with such use.  
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of  
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.  
Products  
Applications  
Audio  
www.ti.com/audio  
amplifier.ti.com  
dataconverter.ti.com  
www.dlp.com  
Automotive and Transportation www.ti.com/automotive  
Communications and Telecom www.ti.com/communications  
Amplifiers  
Data Converters  
DLP® Products  
DSP  
Computers and Peripherals  
Consumer Electronics  
Energy and Lighting  
Industrial  
www.ti.com/computers  
www.ti.com/consumer-apps  
www.ti.com/energy  
dsp.ti.com  
Clocks and Timers  
Interface  
www.ti.com/clocks  
interface.ti.com  
logic.ti.com  
www.ti.com/industrial  
www.ti.com/medical  
Medical  
Logic  
Security  
www.ti.com/security  
Power Mgmt  
Microcontrollers  
RFID  
power.ti.com  
Space, Avionics and Defense  
Video and Imaging  
www.ti.com/space-avionics-defense  
www.ti.com/video  
microcontroller.ti.com  
www.ti-rfid.com  
www.ti.com/omap  
OMAP Applications Processors  
Wireless Connectivity  
TI E2E Community  
e2e.ti.com  
www.ti.com/wirelessconnectivity  
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265  
Copyright © 2013, Texas Instruments Incorporated  

相关型号:

SI9130DB

5- and 3.3-V Step-Down Synchronous Converters

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1-E3

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135_11

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9136_11

Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130CG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130LG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130_11

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137DB

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137LG

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9122E

500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification Drivers

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY