AR1021-I/ML [MICROCHIP]

Resistive Touch Screen Controller; 电阻式触摸屏控制器
AR1021-I/ML
型号: AR1021-I/ML
厂家: MICROCHIP    MICROCHIP
描述:

Resistive Touch Screen Controller
电阻式触摸屏控制器

控制器
文件: 总70页 (文件大小:3574K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
AR1000 Series Resistive  
Touch Screen Controller  
Data Sheet  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B  
Note the following details of the code protection feature on Microchip devices:  
Microchip products meet the specification contained in their particular Microchip Data Sheet.  
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the  
intended manner and under normal conditions.  
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our  
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data  
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.  
Microchip is willing to work with the customer who is concerned about the integrity of their code.  
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not  
mean that we are guaranteeing the product as “unbreakable.”  
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our  
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts  
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.  
Information contained in this publication regarding device  
applications and the like is provided only for your convenience  
and may be superseded by updates. It is your responsibility to  
ensure that your application meets with your specifications.  
MICROCHIP MAKES NO REPRESENTATIONS OR  
WARRANTIES OF ANY KIND WHETHER EXPRESS OR  
IMPLIED, WRITTEN OR ORAL, STATUTORY OR  
OTHERWISE, RELATED TO THE INFORMATION,  
INCLUDING BUT NOT LIMITED TO ITS CONDITION,  
QUALITY, PERFORMANCE, MERCHANTABILITY OR  
FITNESS FOR PURPOSE. Microchip disclaims all liability  
arising from this information and its use. Use of Microchip  
devices in life support and/or safety applications is entirely at  
the buyer’s risk, and the buyer agrees to defend, indemnify and  
hold harmless Microchip from any and all damages, claims,  
suits, or expenses resulting from such use. No licenses are  
conveyed, implicitly or otherwise, under any Microchip  
intellectual property rights.  
Trademarks  
The Microchip name and logo, the Microchip logo, dsPIC,  
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,  
32  
PIC logo, rfPIC and UNI/O are registered trademarks of  
Microchip Technology Incorporated in the U.S.A. and other  
countries.  
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,  
MXDEV, MXLAB, SEEVAL and The Embedded Control  
Solutions Company are registered trademarks of Microchip  
Technology Incorporated in the U.S.A.  
Analog-for-the-Digital Age, Application Maestro, chipKIT,  
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,  
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,  
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP,  
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB,  
MPLINK, mTouch, Omniscient Code Generation, PICC,  
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE,  
rfLAB, Select Mode, Total Endurance, TSHARC,  
UniWinDriver, WiperLock and ZENA are trademarks of  
Microchip Technology Incorporated in the U.S.A. and other  
countries.  
SQTP is a service mark of Microchip Technology Incorporated  
in the U.S.A.  
All other trademarks mentioned herein are property of their  
respective companies.  
© 2009-2012, Microchip Technology Incorporated, Printed in  
the U.S.A., All Rights Reserved.  
Printed on recycled paper.  
ISBN: 9781620761366  
QUALITY MANAGEMENT SYSTEM  
CERTIFIED BY DNV  
Microchip received ISO/TS-16949:2009 certification for its worldwide  
headquarters, design and wafer fabrication facilities in Chandler and  
Tempe, Arizona; Gresham, Oregon and design centers in California  
and India. The Company’s quality system processes and procedures  
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping  
devices, Serial EEPROMs, microperipherals, nonvolatile memory and  
analog products. In addition, Microchip’s quality system for the design  
and manufacture of development systems is ISO 9001:2000 certified.  
== ISO/TS 16949 ==  
DS41393B-page 2  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH  
SCREEN CONTROLLER  
AR1000 Series Resistive Touch Screen Controller  
Special Features:  
Touch Sensor Support:  
• RoHS Compliant  
• 4-Wire, 5-Wire and 8-Wire Analog Resistive  
• Lead-to-Lead Resistance: 50-2,000typical)  
• Layer-to-Layer Capacitance: 0-0.5 uF  
• Power-Saving Sleep mode  
• Industrial Temperature Range  
• Built-in Drift Compensation Algorithm  
• 128 Bytes of User EEPROM  
Touch Sensor Time Constant: 500 us (maximum)  
Touch Resolution:  
Power Requirements:  
• 10-bit Resolution (maximum)  
• Operating Voltage: 2.5-5.0V ±5%  
• Standby Current:  
- 5V: 85 uA, typical; 125 uA (maximum)  
- 2.5V: 40 uA, typical; 60 uA (maximum)  
• Operating “No touch” Current:  
- 3.0 mA (typical)  
• Operating Touch” Current:  
- 17 mA, typical, with a touch sensor having  
200layers.  
Touch Coordinate Report Rate:  
• 140 Reports Per Second (typical) with a Touch  
Sensor of 0.02 uF with 200Layers  
• Actual Report Rate is dependent on the Touch  
Sensor used.  
Communications:  
- Actual current is dependent on the touch  
sensor used  
• SPI, Slave mode, p/n AR1021  
• I2CTM, Slave mode, p/n, AR1021  
• UART, 9600 Baud Rate, p/n AR1011  
• AR1011/AR1021 Brown-Out Detection (BOR) set  
to 2.2V.  
Touch Modes:  
• Off, Stream, Down, Up and more.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 3  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Table of Contents  
1.0 Device Overview .......................................................................................................................................................................... 5  
2.0 Basics of Resistive Sensors......................................................................................................................................................... 7  
3.0 Hardware.................................................................................................................................................................................... 11  
2
4.0 I C Communications .................................................................................................................................................................. 17  
5.0 SPI Communications.................................................................................................................................................................. 21  
6.0 UART Communications.............................................................................................................................................................. 25  
7.0 Touch Reporting Protocol........................................................................................................................................................... 27  
8.0 Configuration Registers.............................................................................................................................................................. 29  
9.0 Commands................................................................................................................................................................................. 35  
10.0 Application Notes ....................................................................................................................................................................... 45  
11.0 Electrical Specifications.............................................................................................................................................................. 51  
12.0 Packaging Information................................................................................................................................................................ 53  
Appendix A: Revision History............................................................................................................................................................... 63  
Appendix B: Device Differences........................................................................................................................................................... 64  
Index .................................................................................................................................................................................................... 65  
The Microchip Web Site....................................................................................................................................................................... 67  
Customer Change Notification Service ................................................................................................................................................ 67  
Customer Support................................................................................................................................................................................ 67  
Reader Response ................................................................................................................................................................................ 68  
TO OUR VALUED CUSTOMERS  
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip  
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and  
enhanced as new volumes and updates are introduced.  
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via  
E-mail at docerrors@microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We  
welcome your feedback.  
Most Current Data Sheet  
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:  
http://www.microchip.com  
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.  
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).  
Errata  
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current  
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision  
of silicon and revision of document to which it applies.  
To determine if an errata sheet exists for a particular device, please check with one of the following:  
Microchip’s Worldwide Web site; http://www.microchip.com  
Your local Microchip sales office (see last page)  
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are  
using.  
Customer Notification System  
Register on our web site at www.microchip.com to receive the most current information on all of our products.  
DS41393B-page 4  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
1.1  
Applications  
1.0  
DEVICE OVERVIEW  
The Microchip mTouchTM AR1000 Series Resistive  
Touch Screen Controller is a complete, easy to  
integrate, cost-effective and universal touch screen  
controller chip.  
The AR1000 Series is designed for high volume, small  
form factor touch solutions with quick time to market  
requirements – including, but not limited to:  
• Mobile communication devices  
• Personal Digital Assistants (PDA)  
• Global Positioning Systems (GPS)  
Touch Screen Monitors  
• KIOSK  
The AR1000 Series has sophisticated proprietary  
touch screen decoding algorithms to process all touch  
data, saving the host from the processing overhead.  
Providing filtering capabilities beyond that of other  
low-cost devices, the AR1000 delivers reliable, vali-  
dated, and calibrated touch coordinates.  
• Media Players  
• Portable Instruments  
• Point of Sale Terminals  
Using the on-board EEPROM, the AR1000 can store  
and independently apply the calibration to the touch  
coordinates before sending them to the host. This  
unique combination of features makes the AR1000 the  
most resource-efficient touch screen controller for  
system designs, including embedded system  
integrations.  
FIGURE 1-1:  
BLOCK DIAGRAM  
FIGURE 1-2:  
PIN DIAGRAM  
AR1000 Series (QFN)  
AR1000 Series (SSOP, SOIC)  
1
2
VSS  
X-  
20  
19  
VDD  
M1  
3
4
5
6
7
8
9
10  
X+ 18  
5WSX- 17  
SY-  
M2  
M2  
15  
14  
13  
12  
11  
1
2
3
4
5
X+  
5WSX-  
Y-  
WAKE  
SIQ  
SY+  
SS  
16  
15  
14  
13  
12  
11  
Y-  
Y+  
WAKE  
SIQ  
SY+  
SS  
SDO  
NC  
Y+  
SX+  
SX+  
SDI/SDA/RX  
NC  
SCK/SCL/TX  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 5  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
TABLE 1-1:  
PIN DESCRIPTIONS  
Pin  
Function  
Description/Comments  
Supply Voltage  
SSOP, SOIC  
QFN  
1
2
3
18  
19  
20  
VDD  
M1  
Communication Selection  
SY-  
Sense Y- (8-wire). Tie to VSS, if  
not used.  
4
1
M2  
4/8-wire or 5-wire Sensor  
Selection  
5
6
2
3
WAKE  
SIQ  
Touch Wake-up/Touch Detection  
LED Drive/SPI Interrupt. No  
connect, if not used.  
7
4
5
SY+  
SS  
Sense Y+ (8-wire). Tie to VSS, if  
not used.  
8
Slave Select (SPI). Tie to VSS, if  
not used.  
9
6
SDO  
SPI Serial Data Output/I2C™  
Interrupt. Tie to Vss, if UART.  
10  
11  
12  
13  
14  
7
NC  
No connection. No connect or tie  
to VSS or VDD.  
SPI/I2C™ Serial Clock/UART  
8
SCK/SCL/TX  
NC  
Transmit  
9
No connection. No connect or tie  
to VSS or VDD.  
I2C™ Serial Data/SPI Serial Data  
10  
11  
SDI/SDA/RX  
SX+  
Input/UART Receive  
Sense X+ (8-wire). Tie to VSS, if  
not used.  
15  
16  
17  
12  
13  
14  
Y+  
Y-  
Y+ Drive  
Y- Drive  
5WSX-  
5W Sense (5-wire)/Sense X-  
(8-wire). Tie to VSS, if not used.  
18  
19  
20  
15  
16  
17  
X+  
X-  
X+ Drive  
X- Drive  
VSS  
Supply Voltage Ground  
DS41393B-page 6  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Bus Bars or Silver Frit electrically connect the ITO on  
2.0  
BASICS OF RESISTIVE  
SENSORS  
the flex and stable layers to the sensor’s interface tail.  
Bus bars are typically screen printed silver ink. They  
are typically much lower in resistivity than the ITO.  
2.1  
Terminology  
X-Axis is the left and right direction on the touch sensor.  
ITO (Indium Tin Oxide) is the resistive coating that  
makes up the active area of the touch sensor. ITO is a  
transparent semiconductor that is sputtered onto the  
touch sensor layers.  
Y-Axis is the top and bottom direction on the touch  
sensor.  
Drive Lines supply a voltage gradient across the  
sensor.  
Flex or Film or Topsheet is the top sensor layer that a  
user touches. Flex refers to the fact that the top layer  
physically flexes from the pressure of a touch.  
2.2  
General  
Resistive 4, 5, and 8-wire touch sensors consist of two  
facing conductive layers, held in physical separation  
from each other. The force of a touch causes the top  
layer to deflect and make electrical contact with the  
bottom layer.  
Stable or Glass is the bottom sensor layer that  
interfaces against the display.  
Spacer Adhesive is a frame of adhesive that connects  
the flex and stable layers together around the perimeter  
of the sensor.  
Touch position measurements are made by applying a  
voltage gradient across a layer or axis of the touch  
sensor. The touch position voltage for the axis can be  
measured using the opposing layer.  
Spacer Dots maintain physical and electrical  
separation between the flex and stable layers. The dots  
are typically printed onto the stable layer.  
A comparison of typical sensor constructions is shown  
below in Table 2-1.  
TABLE 2-1:  
Sensor  
SENSOR COMPARISON  
Comments  
4-Wire  
Less expensive than 5-wire or 8-wire  
Lower power than 5-wire  
More linear (without correction) than 5-wire  
Touch inaccuracies occur from flex layer damage or resistance changes  
5-Wire  
8-Wire  
Maintains touch accuracy with flex layer damage  
Inherent nonlinearity often requires touch data correction  
Touch inaccuracies occur from resistance changes  
More expensive than 4-wire  
Lower power than 5-wire  
More linear (without correction) than 5-wire  
Touch inaccuracies occur from flex layer damaged  
Maintains touch accuracy with resistance changes  
The AR1000 Series Resistive Touch Screen  
Controllers will work with any manufacturers of analog  
resistive 4,  
5 and 8-wire touch screens. The  
communications and decoding are included, allowing  
the user the quickest simplest method of interfacing  
analog resistive touch screens into their applications.  
The AR1000 Series was designed with an  
understanding of the materials and processes that  
make up resistive touch screens. The AR1000 Series  
Touch Controller is not only reliable, but can enhance  
the reliability and longevity of the resistive touch  
screen, due to its advanced filtering algorithms and  
wide range of operation.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 7  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
2.3  
4-Wire Sensor  
A 4-wire resistive touch sensor consists of a stable and  
flex layer, electrically separated by spacer dots. The  
layers are assembled perpendicular to each other. The  
touch position is determined by first applying a voltage  
gradient across the flex layer and using the stable layer  
to measure the flex layer’s touch position voltage. The  
second step is applying a voltage gradient across the  
stable layer and using the flex layer to measure the  
stable layer’s touch position voltage.  
The measured voltage at any position across a driven  
axis is predictable. A touch moving in the direction of  
the driven axis will yield a linearly changing voltage. A  
touch moving perpendicular to the driven axis will yield  
a relatively unchanging voltage (See Figure 2-1).  
FIGURE 2-1:  
4-WIRE DECODING  
DS41393B-page 8  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
The basic decoding of an 8-wire sensor is similar to a  
2.4  
8-Wire Sensor  
4-wire. The difference is that an 8-wire sensor has four  
additional interconnects used to reference sensor  
voltage back to the controller.  
An 8-wire resistive touch sensor consists of a stable  
and flex layer, electrically separated by spacer dots.  
The layers are assembled perpendicular to each other.  
The touch position is determined by first applying a  
voltage gradient across the flex layer and using the  
stable layer to measure the flex layer’s touch position  
voltage. The second step is applying a voltage gradient  
across the stable layer and using the flex layer to  
measure the stable layer’s touch position voltage.  
A touch system may experience voltage losses due to  
resistance changes in the bus bars and connection  
between the controller and sensor. The losses can vary  
with product use, temperature, and humidity. In a  
4-wire sensor, variations in the losses manifest them-  
selves as error or drift in the reported touch location.  
The four additional sense lines found on 8-wire sensors  
are added to dynamically reference the voltage to cor-  
rect for this fluctuation during use (See Figure 2-2).  
The measured voltage at any position across a driven  
axis is predictable. A touch moving in the direction of  
the driven axis will yield a linearly changing voltage. A  
touch moving perpendicular to the driven axis will yield  
a relatively unchanging voltage.  
FIGURE 2-2:  
8-WIRE DECODING  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 9  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
To measure the X-axis, the left edge of the layer is  
2.5  
5-Wire Sensor  
driven with 0V (ground), using connections to the upper  
left and lower left sensor corners. The right edge is  
driven with +5 VDC, using connections to the upper  
right and lower right sensor corners.  
A 5-wire resistive touch sensor consists of a flex and  
stable layer, electrically separated by spacer dots. The  
touch position is determined by first applying a voltage  
gradient across the stable layer in the X-axis direction  
and using the flex layer to measure the axis touch posi-  
tion voltage. The second step is applying a voltage gra-  
dient across the stable layer in the Y-axis direction and  
using the flex layer to measure the axis touch position  
voltage.  
To measure the Y-axis, the top edge of the layer is  
driven with 0V (ground), using connections to the upper  
left and upper right sensor corners. The bottom edge is  
driven with +5 VDC, using connections to the lower left  
and lower right sensor corners.  
The measured voltage at any position across a driven  
axis is predictable. A touch moving in the direction of  
the driven axis will yield a linearly changing voltage. A  
touch moving perpendicular to the driven axis will yield  
a relatively unchanging voltage (See Figure 2-3).  
The voltage is not directly applied to the edges of the  
active layer, as it is for 4-wire and 8-wire sensors. The  
voltage is applied to the corners of a 5-wire sensor.  
FIGURE 2-3:  
5-Wire Decoding  
DS41393B-page 10  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
3.0  
HARDWARE  
3.1  
Main Schematic  
A main application schematic for the SOIC/SSOP  
package pinout is shown in Figure 3-1.  
See Figure 1-2 for the QFN package pinout.  
FIGURE 3-1:  
MAIN SCHEMATIC (SOIC/SSOP PACKAGE PINOUT)  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 11  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
3.2  
4, 5, 8-Wire Sensor Selection  
3.3  
4-Wire Touch Sensor Interface  
The desired sensor type of 4/8-wire or 5-wire is  
hardware selectable using pin M2.  
Sensor tail pinouts can vary by manufacturer and part  
number. Ensure that both sensor tail pins for one  
sensor axis (layer) are connected to the controller’s  
X-/X+ pins and the tail pins for the other sensor axis  
(layer) are connected to the controller’s Y-/Y+ pins. The  
controller’s X-/X+ and Y-/Y+ pin pairs do not need to  
connect to a specific sensor axis. The orientation of  
controller pins X- and X+ to the two sides of a given  
sensor axis is not important. Likewise, the orientation of  
controller pins Y- and Y+ to the two sides of the other  
sensor axis is not important.  
TABLE 3-1:  
Type  
4/8-WIRE vs. 5-WIRE  
SELECTION  
M2 pin  
4/8-wire  
5-wire  
VSS  
VDD  
If 4/8-wire has been hardware-selected, then the  
choice of 4-wire or 8-wire is software-selectable via the  
TouchOptions Configuration register.  
Connections to a 4-wire touch sensor are as follows  
(See Figure 3-2).  
When 4/8-wire is hardware-selected, the controller  
defaults to 4-wire operation. If 8-wire operation is  
desired, then the TouchOptions Configuration register  
must be changed.  
FIGURE 3-2:  
4-WIRE TOUCH SENSOR INTERFACE  
Tie unused controller pins 5WSX-, SX+, SY-, and SY+  
to VSS.  
See Section 3.8 “ESD Considerations” and  
Section 3.9 “Noise Considerations” for important  
information regarding the capacitance of the controller  
schematic hardware.  
DS41393B-page 12  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
3.4  
5-Wire Touch Sensor Interface  
Sensor tail pinouts can vary by manufacturer and part  
number. Ensure sensor tail pins for one pair of  
diagonally related sensor corners are connected to the  
controller’s X-/X+ pins and the tail pins for the other pair  
of diagonally related corners are connected to the  
controller’s Y-/Y+ pins.  
The controller’s X-/X+ and Y-/Y+ pin pairs do not need  
to connect to a specific sensor axis. The orientation of  
controller pins X- and X+ to the two selected diagonal  
sensor corners is not important.  
Likewise, the orientation of controller pins Y- and Y+ to  
the other two selected diagonal sensor corners is not  
important. The sensor tail pin connected to its top layer  
must be connected to the controller’s 5WSX- pin.  
Connections to a 5-wire touch sensor are shown in  
Figure 3-3 below.  
FIGURE 3-3:  
5-WIRE TOUCH SENSOR INTERFACE  
Tie unused controller pins SX+, SY-, and SY+ to VSS.  
See “Section 3.8 “ESD Considerations” and  
Section 3.9 “Noise Considerations” for important  
information regarding the capacitance of the controller  
schematic hardware.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 13  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Consult with the sensor manufacturer’s specification to  
3.5  
8-Wire Touch Sensor Interface  
determine which member of each edge connected pair  
is the special 8-wire “sense” connection. Incorrectly  
connecting the sense and excite lines to the controller  
will adversely affect performance.  
Sensor tail pinouts can vary by manufacturer and part  
number. Ensure both sensor tail pins for one sensor  
axis (layer) are connected to the controller’s X-/X+ pins  
and the tail pins for the other sensor axis (layer) are  
connected to the controller’s Y-/Y+ pins.  
The controller requires that the main and “sense” tail  
pin pairs for sensor edges be connected to controller  
pin pairs as follows:  
The controller’s X-/X+ and Y-/Y+ pin pairs do not need  
to connect to a specific sensor axis. The orientation of  
controller pins X- and X+ to the two sides of a given  
sensor axis is not important. Likewise, the orientation of  
controller pins Y- and Y+ to the two sides of the other  
sensor axis is not important.  
Y- and SY-  
• Y+ and SY+  
• X- and 5WSX-  
• X+ and SX+  
Connections to a 8-wire touch sensor are shown in  
Figure 3-4 below.  
The 8-wire sensor differs from a 4-wire sensor in that  
each edge of an 8-wire sensor has a secondary  
connection brought to the sensor’s tail. These  
secondary connections are referred to as “sense” lines.  
The controller pins associated with the sense line for an  
8-wire sensor contain an ‘S’ prefix in their respective  
names. For example, the SY- pin is the sense line  
connection associated with the main Y- pin connection.  
FIGURE 3-4:  
8-WIRE TOUCH SENSOR INTERFACE  
See Section 3.8 “ESD Considerations” and  
Section 3.9 “Noise Considerations” for important  
information regarding the capacitance of the controller  
schematic hardware.  
DS41393B-page 14  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
3.6  
Status LED  
3.8  
ESD Considerations  
The LED and associated resistor are optional.  
ESD protection is shown on the 4-wire, 5-wire, and  
8-wire interface applications schematics.  
FIGURE 3-5:  
The capacitance of alternate ESD diodes may  
adversely affect touch performance.  
A
lower  
capacitance is better. The PESD5V0S1BA parts shown  
in the reference design have a typical capacitance of 35  
pF. Test to ensure that selected ESD protection does  
not degrade touch performance.  
ESD protection is shown in the reference design, but  
acceptable protection is dependent on your specific  
application. Ensure your ESD solution meets your  
design requirements.  
The LED serves as a status indicator that the controller  
is functioning. It will slow flash when the controller is  
running with no touch in progress. It will flicker quickly  
(mid-level on) when a touch is in progress.  
3.9  
Noise Considerations  
If the LED is used with SPI communication, then the  
LED will be off with no touch and flicker quickly  
(mid-level on) when a touch is in progress.  
Touch sensor filtering capacitors are included in the  
reference design.  
Note:  
If the SIQ pin is not used, it must be left as  
a No Connect and NOT tied to circuit VDD or  
VSS.  
Warning: Changing the value of the capacitors may  
adversely affect performance of the touch system.  
3.7  
WAKE Pin  
The AR1000’s WAKE pin is described as “Touch  
Wake-Up/Touch Detection”. It serves the following  
three roles in the controller’s functionality:  
• Wake-up from touch  
Touch detection  
• Measure sensor capacitance  
The application circuit shows a 20 Kresistor  
connected between the WAKE pin and the X- pin on the  
controller chip. The resistor is required for product  
operation, based on all three of the above roles.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 15  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
NOTES:  
DS41393B-page 16  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
2
TM  
4.0  
I C COMMUNICATIONS  
The AR1021 is an I2C slave device with a 7-bit address  
of 0x4D, supporting up to 400 kHz bit rate.  
A master (host) device interfaces with the AR1021.  
2
4.1  
I C Hardware Interface  
A summary of the hardware interface pins is shown  
below in Table 4-1.  
TABLE 4-1:  
AR1021 Pin  
I2C HARDWARE INTERFACE  
Description  
M1  
Connect to VSS to select I2C™ communications  
Serial Clock to master I2C  
Serial Data to master I2C  
SCL  
SDA  
SDO  
Data ready interrupt output to master  
M1 Pin  
• The M1 pin must be connected to VSS to config-  
ure the AR1021 for I2C communications.  
SCL Pin  
• The SCL (Serial Clock) pin is electrically  
open-drain and requires a pull-up resistor, typi-  
cally 2.2 Kto 10 K, from SCL to VDD.  
• SCL Idle state is high.  
SDA Pin  
• The SDA (Serial Data) pin is electrically  
open-drain and requires a pull-up resistor, typi-  
cally 2.2Kto 10K, from SDA to VDD.  
• SDA Idle state is high.  
• Master write data is latched in on SCL rising  
edges.  
• Master read data is latched out on SCL falling  
edges to ensure it is valid during the subsequent  
SCL high time.  
SDO Pin  
• The SDO pin is a driven output interrupt to the  
master.  
• SDO Idle state is low.  
• SDO will be asserted high when the AR1021 has  
data ready (touch report or command response)  
for the master to read.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 17  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
2
4.2  
I C Pin Voltage Level  
Characteristics  
TABLE 4-2:  
Function  
I2C PIN VOLTAGE LEVEL CHARACTERISTICS  
Pin  
Input  
Output  
SCL/SCK  
SCL/SCK/TX  
VSS VIL0.2*VDD  
0.8*VDD VIH VDD  
SDO  
SDA  
SDO  
VSS VOL(1) (1.2V – 0.15*VDD)(2)  
(1.25*VDD – 2.25V)(3) VOH(1) VDD  
SDI/SDA/RX  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
Open-drain  
Note 1: These parameters are characterized but not tested.  
2: At 10 mA.  
3: At –4 mA.  
4.3  
Addressing  
TABLE 4-5:  
I2C DEVICE READ ID  
ADDRESS  
The AR1021’s device ID 7-bit address is: 0x4D  
(0b1001101)  
A7 A6 A5 A4 A3 A2 A1 A0  
1
0
0
1
1
0
1
1
0x9B  
TABLE 4-3:  
I2C DEVICE ID ADDRESS  
Device ID Address, 7-bit  
4.4  
Master Read Bit Timing  
A7  
A6  
A5  
A4  
A3  
A2  
A1  
Master read is to receive touch reports and command  
responses from the AR1021.  
1
0
0
1
1
0
1
• Address bits are latched into the AR1021 on the  
rising edges of SCL.  
• Data bits are latched out of the AR1021 on the  
rising edges of SCL.  
• ACK is presented (by AR1021 for address, by  
master for data) on the ninth clock.  
• The master must monitor the SCL pin prior to  
asserting another clock pulse, as the AR1021  
may be holding off the master by stretching the  
clock.  
TABLE 4-4:  
I2C DEVICE WRITE ID  
ADDRESS  
A7 A6 A5 A4 A3 A2 A1 A0  
1
0
0
1
1
0
1
0
0x9A  
FIGURE 4-1:  
I2C MASTER READ BIT TIMING DIAGRAM  
Steps  
4. AR1021 compares the received address to its  
device ID. If they match, the AR1021  
acknowledges (ACK) the master sent address  
by presenting a low on SDA, followed by a  
low-high-low on SCL.  
1. SCL and SDA lines are Idle high.  
2. Master presents “Start” bit to the AR1021 by  
taking SDA high-to-low, followed by taking SCL  
high-to-low.  
5. Master monitors SCL, as the AR1021 may be  
“clock stretching”, holding SCL low to indicate  
that the master should wait.  
3. Master presents 7-bit Address, followed by a  
R/W = 1 (Read mode) bit to the AR1021 on  
SDA, at the rising edge of eight master clock  
(SCL) cycles.  
DS41393B-page 18  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
6. Master receives eight data bits (MSb first)  
presented on SDA by the AR1021, at eight  
sequential master clock (SCL) cycles. The data  
is latched out on SCL falling edges to ensure it  
is valid during the subsequent SCL high time.  
9. Master presents a “Stop” bit to the AR1021 by  
taking SCL low-high, followed by taking SDA  
low-to-high.  
4.5  
Master Write Bit Timing  
7. If data transfer is not complete, then:  
Master write is to send supported commands to the  
AR1021.  
- Master acknowledges (ACK) reception of the  
eight data bits by presenting a low on SDA,  
followed by a low-high-low on SCL.  
- Go to step 5.  
• Address bits are latched into the AR1021 on the  
rising edges of SCL.  
• Data bits are latched into the AR1021 on the  
rising edges of SCL.  
• ACK is presented by AR1021 on the ninth clock.  
• The master must monitor the SCL pin prior to  
asserting another clock pulse, as the AR1021  
may be holding off the master by stretching the  
clock.  
8. If data transfer is complete, then:  
- Master acknowledges (ACK) reception of the  
eight data bits and a completed data transfer  
by presenting a high on SDA, followed by a  
low-high-low on SCL.  
FIGURE 4-2:  
I2C MASTER WRITE BIT TIMING DIAGRAM  
Steps  
4.6  
Clock Stretching  
1. SCL and SDA lines are Idle high.  
The master normally controls the clock line SCL. Clock  
stretching is when the slave device holds the SCL line  
low, indicating to the master that it is not ready to  
continue the communications.  
2. Master presents “Start” bit to the AR1021 by  
taking SDA high-to-low, followed by taking SCL  
high-to-low.  
3. Master presents 7-bit Address, followed by a  
R/W = 0 (Write mode) bit to the AR1021 on  
SDA, at the rising edge of eight master clock  
(SCL) cycles.  
During communications, the AR1021 may hold off the  
master by stretching the clock with a low on SCL.  
The master must monitor the slave SCL pin to ensure  
the AR1021 is not holding it low, prior to asserting  
another clock pulse for transmitting or receiving.  
4. AR1021 compares the received address to its  
device ID. If they match, the AR1021  
acknowledges (ACK) the master sent address  
by presenting a low on SDA, followed by a  
low-high-low on SCL.  
4.7  
AR1020 Write Conditions  
The AR1020 part does not implement clock stretching  
on write conditions.  
5. Master monitors SCL, as the AR1021 may be  
“clock stretching”, holding SCL low to indicate  
the master should wait.  
A 50 us delay is needed before the Stop bit, when  
clocking a command to the AR1020.  
6. Master presents eight data bits (MSb first) to the  
AR1021 on SDA, at the rising edge of eight mas-  
ter clock (SCL) cycles.  
7. AR1021 acknowledges (ACK) receipt of the  
eight data bits by presenting a low on SDA, fol-  
lowed by a low-high-low on SCL.  
8. If data transfer is not complete, then go to step 5.  
9. Master presents a “Stop” bit to the AR1021 by  
taking SCL low-high, followed by taking SDA  
low-to-high.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 19  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
4.8  
Touch Report Protocol  
Touch coordinates, when available, are provided to the  
master by the AR1021 in the following protocol (See  
Figure 4-3).  
FIGURE 4-3:  
I2C TOUCH REPORT PROTOCOL  
Note that the IRQ signal shown above occurs on the  
SDO pin of the AR1021.  
4.9  
Command Protocol  
The master issues supported commands to the  
AR1021 in the following protocol.  
Below is an example of the ENABLE_TOUCHcommand  
(see Figure 4-4).  
FIGURE 4-4:  
I2C COMMAND PROTOCOL  
Note that the IRQ shown above occurs on the SDO pin.  
4.10 Sleep State  
• 0x9A  
• 0x00  
AR1021 Device ID address  
Protocol command byte (send 0x00 for  
the protocol command register)  
Header  
Data size  
Command  
Pending communications are not maintained through a  
sleep/wake cycle.  
If the SDO pin is asserted for a pending touch report or  
command response, and the AR1021 enters a Sleep  
state, prior to the master performing a read on the data,  
then the data is lost.  
• 0x55  
• 0x01  
• 0x12  
DS41393B-page 20  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
5.0  
SPI COMMUNICATIONS  
SPI operates in Slave mode with an Idle low SCK and  
data transmitted on the SCK falling edge.  
5.1  
SPI Hardware Interface  
A summary of the hardware interface pins is shown  
below in Table 5-1.  
TABLE 5-1:  
AR1021 Pin  
SPI HARDWARE INTERFACE  
Description  
M1  
SDI  
SCK  
SDO  
SIQ  
SS  
Connect to VDD to select SPI communications  
Serial data sent from master  
Serial clock to master  
Serial data to master SPI  
Interrupt output to master (optional)  
Slave Select (optional)  
SIQ Pin  
SCK Pin  
• The AR1021 controller’s SCL/SCK/TX pin  
receives Serial Clock (SCK), controlled by the  
host.  
• The AR1021 controller’s SIQ pin provides an  
optional interrupt output from the controller to the  
host.  
• The Idle state of the SCK should be low.  
• Data is transmitted on the falling edge of SCK.  
• The SIQ pin is asserted high when the controller  
has data available (a touch report or a command  
response) for the host.  
• The SIQ pin is deasserted after the host clocks  
out the first byte of the data packet.  
SDI Pin  
• The AR1021 controller’s SDI/SDA/RX pin reads  
Serial Data Input (SDI), sent by the host.  
SDO Pin  
Note:  
The AR1000 Development kit PICkit™  
Serial Pin 1 is designated for the SIQ  
interrupt pin after the firmware updated is  
executed for the PICkit.  
• The AR1021 controller’s SDO pin presents Serial  
Data Output (SDO) to the host.  
SS Pin  
• The AR1021 controller’s SS pin provides optional  
“slave select” functionality.  
SS Pin Level  
VSS  
AR1021 Select  
Active  
VDD  
Inactive  
In the ‘inactive’ state, the controller’s SDO pin presents  
a high-impedance in order to prevent bus contention  
with another device on the SPI bus.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 21  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
5.2  
SPI Pin Voltage Level  
Characteristics  
TABLE 5-2:  
SPI PIN VOLTAGE CHARACTERISTICS  
Operating Voltage: 2.5V VDD 5.25V  
Function  
SCK  
Pin  
Input  
Output  
SCL/SCK/TX  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
SDI  
SDI/SDA/RX  
SDO  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
SDO  
VSS VOL(1) (1.2V – 0.15*VDD)(2)  
(1.25*VDD – 2.25V)(3) VOH(1) VDD  
SIQ  
SS  
SIQ  
SS  
VSS VOL(1) (1.2V – 0.15*VDD)(2)  
(1.25*VDD – 2.25V)(3) VOH(1) VDD  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
Note 1: These parameters are characterized but not tested.  
2: At 10 mA.  
3: At -4 mA.  
5.3  
Data Flow  
5.4  
Touch Report Protocol  
SPI data is transferred by the host clocking the AR1021  
controller’s Serial Clock (SCK) pin.  
The AR1021 controller’s touch reporting is interrupt  
driven:  
Each host driven clock cycle simultaneously shifts a bit  
of data into and out from the AR1021 controller:  
• The AR1021 controller asserts the SIQ interrupt  
pin high when it has a touch report ready.  
• The host clocks out the bytes of the touch report  
packet from the AR1021 controller.  
• The AR1021 controller clears the SIQ interrupt pin  
low, after the first byte of the touch report packet  
has been clocked out by the host.  
• Out from the AR1021 controller’s Serial Data Out  
(SDO) line.  
• Into the AR1021 controller’s Serial Data In (SDI)  
line.  
The data is shifted Most Significant bit (MSb) first.  
The communication protocol for the AR1021 controller  
reporting touches to the host as shown below in  
Figure 5-1.  
If the host clocks data out from the AR1021 controller  
when no valid data is available, then a byte value of  
0x4d will be presented by the controller.  
FIGURE 5-1:  
SPI TOUCH REPORT PROTOCOL  
DS41393B-page 22  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
• The host clocks out the bytes of the command  
5.5  
Command Protocol  
response from the AR1021 controller.  
• The AR1021 controller clears the SIQ interrupt pin  
low, after the first byte of the command response  
has been clocked out by the host.  
The AR1021 controller receives commands from the  
host as follows:  
• The host clocks the bytes of a command to the  
AR1021 controller.  
• The AR1021 controller asserts the SIQ interrupt  
pin high when it is ready with a response to the  
command sent by the host.  
The communication protocol for the host sending the  
ENABLE_TOUCHcommand to the AR1021 controller is  
shown below in Figure 5-2.  
FIGURE 5-2:  
SPI TIMING DIAGRAM – COMMAND PROTOCOL (ENABLE_TOUCH)  
5.6  
SPI Bit Timing – General  
General timing waveforms are shown below in  
Figure 5-3.  
FIGURE 5-3:  
SPI GENERAL BIT TIMING WAVEFORM  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 23  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
5.7.2  
INTER-BYTE DELAY  
5.7  
Timing – Bit Details  
The AR1021 controller requires an inter-byte delay of  
~50 us. This means the host should wait ~50 us  
between the end of clocking a given byte and the start  
of clocking the next byte.  
5.7.1  
BIT RATE  
The SPI standard does not specify a maximum data  
rate for the serial bus. In general, SPI data rates can be  
in MHz. Peripherals devices, such as the AR1021  
controller, specify their own unique maximum SPI data  
rates.  
5.7.3  
BIT TIMING – DETAIL  
Characterized timing details are shown below, in  
Figure 5-4.  
The maximum SPI bit rate for the AR1021 controller is  
~900 kHz.  
Characterization has been performed at bit rates of ~39  
kHz and ~156 kHz.  
FIGURE 5-4:  
SPI BIT TIMING – DETAIL  
TABLE 5-3:  
SPI BIT TIMING MIN. AND MAX. VALUES  
Parameter Number(1)  
Parameter Description  
Min.  
Max.  
Units  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
SS(select) to SCK(initial)  
SCK high  
500  
550  
550  
800  
100  
100  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
SCK low  
SCK(last) to SS(deselect)  
SDI setup before SCK↓  
SDI hold after SCK↓  
SDO valid after SCK↓  
SDOrise  
150  
50  
50  
50  
SDOfall  
SS(deselect) to SDO High-z  
10  
Note 1: Parameters are characterized, but not tested.  
DS41393B-page 24  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
6.0  
UART COMMUNICATIONS  
TABLE 6-1:  
UART HARDWARE INTERFACE  
AR1011 Pin  
Description  
M1  
TX  
Connect M1 to VDD to select UART communications  
Transmit to host  
RX  
Receive from host  
SDO  
Connect SDO to VSS  
UART communication is fixed at 9600 baud rate, 8N1  
format.  
Sleep mode will cause the TX line to drop low, which  
may appear as a 0x00 byte sent from the controller.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 25  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
NOTES:  
DS41393B-page 26  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
7.0  
TOUCH REPORTING  
PROTOCOL  
Touch coordinates are sent from the controller to the  
host system in a 5-byte data packet, which contains the  
X-axis coordinate, Y-axis coordinate, and a “Pen-Up/  
Down” touch status.  
The range for X-axis and Y-axis coordinates is from 0-  
4095 (12-bit). The realized resolution is 1024, and bits  
X1:X0 and Y1:Y0 are zeros.  
It is recommended that applications be developed to  
read the 12-bit coordinates from the packet and use  
them in a 12-bit format. This enhances the application  
robustness, as it will work with either 10 or 12 bits of  
coordinate information.  
The touch coordinate reporting protocol is shown below  
in Table 7-1.  
TABLE 7-1:  
Byte #  
TOUCH COORDINATE REPORTING PROTOCOL  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
1
2
3
4
5
1
0
0
0
0
R
X6  
0
R
X65  
0
R
R
R
R
P
X4  
X3  
X2  
X9  
Y2  
Y9  
X1  
X8  
Y1  
Y8  
X0  
X7  
Y0  
Y7  
X11  
Y4  
X10  
Y3  
Y6  
0
Y5  
0
Y11  
Y10  
where:  
• P:  
• R:  
0Pen Up, 1Pen Down  
Reserved  
• X11-X0: X-axis coordinate  
• Y11-Y0: Y-axis coordinate  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 27  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
NOTES:  
DS41393B-page 28  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
8.1  
Restoring Default Parameters  
8.0  
CONFIGURATION REGISTERS  
• AR1010/AR1020  
The Configuration registers allow application specific  
customization of the controller. The default values have  
been optimized for most applications and are  
automatically used, unless you choose to change  
them.  
The factory default settings for the Configuration  
registers can be recovered by writing a value of 0xFF  
to address 0x00 of the EEPROM, then cycling power.  
• AR1011/AR1021  
Unique sensors and/or product applications may  
benefit from adjustment of Configuration registers.  
The factory default settings for the Configuration  
registers can be recovered by writing a value of 0xFF  
to addresses 0x01 and 0x29 of the EEPROM, then  
cycling power.  
Note:  
Although most registers can be  
configured for a value ranging from 0 to  
255, using a value outside the specified  
range for the specific register may  
negatively impact performance.  
TABLE 8-1:  
CONFIGURATION REGISTERS  
Address  
AR1010/  
AR1020  
Default  
AR1011/  
AR1021  
Default  
Register Name  
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0  
Offset  
<Special Use>  
<Special Use>  
TouchThreshold  
SensitivityFilter  
SamplingFast  
0x00  
0x01  
0x02  
0x03  
0x04  
0x05  
0x06  
0x07  
0x08  
0x09  
0x0A  
0x0B  
0x0C  
0x0D  
0x0E  
0x0F  
0x10  
0x11  
0x12  
<Non-Configurable>  
<Non-Configurable>  
Value of: 0-255  
0x58  
0x01  
0xC5  
0x04  
0x04  
0x10  
0x02  
0x08  
0x04  
0x23  
0x64  
0x80  
0xB1  
0x00  
0x19  
0xC8  
0x03  
0x00  
0x00  
0x58  
0x01  
0xC5  
0x04  
0x04  
0x10  
0x04  
0x08  
0x04  
0x23  
0x64  
0x80  
0xB1  
0x00  
0x19  
0xC8  
0x03  
0x00  
0x00  
Value of: 0-255  
Value of: 1, 2, 4, 8, 16, 32, 64, 128  
Value of: 1, 2, 4, 8, 16, 32, 64, 128  
Value of: 1-8  
SamplingSlow  
AccuracyFilterFast  
AccuracyFilterSlow  
SpeedThreshold  
<Special Use>  
SleepDelay  
Value of: 1-8  
Value of: 0-255  
<Non-Configurable>  
Value of: 0-255  
PenUpDelay  
Value of: 0-255  
TouchMode  
PD2 PD1 PD0 PM1 PM0 PU2 PU1 PU0  
TouchOptions  
48W CCE  
CalibrationInset  
PenStateReportDelay  
<Special Use>  
TouchReportDelay  
<Special Use>  
Value of: 0-40  
Value of: 0-255  
<Non-Configurable>  
Value of: 0-255  
Configuration registers are defined as an Offset value  
from the Start address for the register group.  
• Issue the REGISTER_READor REGISTER_WRITE  
command, using the calculated register’s  
absolute address.  
To read or write to a register, do the following:  
• Issue the  
REGISTER_START_ADDRESS_REQUESTcom-  
mand to obtain the Start address for the register  
group.  
Warning: Use of invalid register values will yield  
unpredictable results.  
• Calculate the desired register’s absolute address  
by adding the register’s Offset value to Start  
address for the register group.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 29  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
8.2.5  
AccuracyFilterFast Register (OFFSET  
0x06)  
8.2  
Register Descriptions  
8.2.1  
TouchThreshold Register (OFFSET  
0x02)  
The AccuracyFilterFast register sets the level of an  
accuracy enhancement filter, used when the touch  
movement is fast. See the SpeedThreshold register for  
information on the touch movement threshold. A lower  
value will provide better touch coordinate resolution  
when the touch motion is fast, but may exhibit more  
low-frequency noise error in the touch position. A  
higher value will reduce touch coordinate resolution  
when the touch motion is fast, but will reduce low-fre-  
quency random noise error in the touch position. Valid  
values are as follows:  
The TouchThreshold register sets the threshold for a  
touch condition to be detected as a touch. A touch is  
detected if it is below the TouchThreshold setting. Too  
small of a value might prevent the controller from  
accepting a real touch, while too large of a value might  
allow the controller to accept very light or false touch  
conditions. Valid values are as follows:  
0 TouchThreshold 255  
8.2.2  
SensitivityFilter Register (OFFSET  
0x03)  
1 AccuracyFilterFast 8  
Higher values may improve accuracy with some  
sensors.  
The SensitivityFilter register sets the level of touch sen-  
sitivity. A higher value is more sensitive to a touch  
(accepts a lighter touch), but may exhibit a less stable  
touch position. A lower value is less sensitive to a touch  
(requires a harder touch), but will provide a more stable  
touch position. Valid values are as follows:  
8.2.6  
AccuracyFilterSlow Register  
(OFFSET 0x07)  
The AccuracyFilterSlow register sets the level of an  
accuracy enhancement filter, used when the touch  
movement is slow. See the SpeedThreshold register for  
information on the touch movement threshold. A lower  
value will provide better touch coordinate resolution  
when the touch motion is slow, but may exhibit more  
low-frequency noise error in the touch position. A  
higher value will reduce touch coordinate resolution  
when the touch motion is slow, but will reduce low-fre-  
quency random noise error in the touch position. Valid  
values are as follows:  
0 SensitivityFilter 10  
8.2.3  
SamplingFast Register (OFFSET  
0x04)  
The SamplingFast register sets the level of touch mea-  
surement sample averaging, when touch movement is  
determined to be fast. See the SpeedThreshold regis-  
ter for information on the touch movement threshold. A  
lower value will provide for a higher touch coordinate  
reporting rate when touch movement is fast, but may  
exhibit more high-frequency random noise error in the  
touch position. A higher value will reduce the touch  
coordinate reporting rate when touch movement is fast,  
but will reduce high-frequency random noise error in  
the touch position. Valid values are as follows:  
1 AccuracyFilterSlow 8  
8.2.7  
SpeedThreshold Register (OFFSET  
0x08)  
The SpeedThreshold register sets the threshold for  
touch movement to be considered as slow or fast. A  
lower value reduces the touch movement speed that  
will be considered as fast. A higher value increases the  
touch movement speed that will be considered as fast.  
Valid values are as follows:  
SamplingFast: <1, 4, 8, 16, 32, 64, 128>  
Recommended Values: <4, 8, 16>  
Higher values may improve accuracy with some  
sensors.  
0 SpeedThreshhold 255  
8.2.4  
SamplingSlow Register (OFFSET  
0x05)  
The SamplingSlow register sets the level of touch mea-  
surement sample averaging, when touch movement is  
slow. See the SpeedThreshold register for information  
on the touch movement threshold. A lower value will  
increase the touch coordinate reporting rate when the  
touch motion is slow, but may exhibit a less stable more  
jittery touch position. A higher value will decrease the  
touch coordinate reporting rate when the touch motion  
is slow, but will provide a more stable touch position.  
Valid values are as follows:  
SamplingSlow: 1, 2, 4, 8, 16, 32, 64, 128  
DS41393B-page 30  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
8.2.8  
SleepDelay Register (OFFSET 0x0A)  
8.2.10  
TouchMode Register (OFFSET 0x0C)  
The SleepDelay register sets the time duration with no  
touch or command activity that will cause the controller  
to enter a low-power Sleep mode. Valid values are as  
follows:  
The TouchMode register configures the action taken for  
various touch states.  
There are three states of touch for the controller’s touch  
reporting action which can be independently controlled.  
0 SleepDelay 255  
Touch States:  
Sleep Delay Time = SleepDelay * 100 ms; when Sleep-  
Delay > 0  
1. Pen Down (initial touch)  
User defined 0-3 touch reports, with selectable pen  
states.  
A value of zero disables the Sleep mode, such that the  
controller will never enter low-power Sleep mode.  
2. Pen Movement (touch movement after initial  
touch)  
A touch event will wake the controller from low-power  
Sleep mode and start sending touch reports. Commu-  
nications sent to the controller will wake it from the low-  
power Sleep mode and initiate action to the command.  
User defined no-touch reports or streaming touch  
reports, with selectable pen states.  
3. Pen Up (touch release)  
8.2.9  
PenUpDelay Register (OFFSET  
0x0B)  
User defined 0-3 touch reports, with selectable pen  
states.  
The PenUpDelay register sets the duration of a pen-up  
event that the controller will allow, without sending a  
pen-up report for the event. The delay time is started  
upon detecting a pen-up condition.  
Every touch report includes a “P” (Pen) bit that  
indicates the pen state.  
• Pen Down: P = 1  
• Pen Up:  
P = 0  
If a pen down is reestablished before the delay time  
expires, then pen-down reports will continue without a  
pen up being sent. This effectively debounces a touch  
event in process.  
A lower value will make the controller more responsive  
to pen ups, but will cause more touch drop outs with a  
lighter touch. A higher value will make the controller  
less responsive to pen ups, but will reduce the number  
of touch drop outs with a lighter touch. Valid values are  
as follows:  
0 PenUpDelay 255  
Pen-up Delay Time PenUpDelay * 240 μs  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 31  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
REGISTER 8-1:  
TouchMode REGISTER FORMAT  
R/W  
PD2  
R/W  
PD1  
R/W  
PD0  
R/W  
PM1  
R/W  
PM0  
R/W  
PU2  
R/W  
PU1  
R/W  
PU0  
bit 7  
bit 0  
Legend:  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit, read as ‘0’  
bit 7-5  
PD<2:0>: Pen-Down State bits (action taken upon pen down).  
000= No touch report  
001= Touch report with P=0  
010= Touch report with P=1  
011= Touch report with P=1, then touch report with P=0  
100= Touch report with P=0, then touch report with P=1, then touch report with P=0  
101= Touch report with P=0, then touch report with P=1  
bit 4-3  
bit 2-0  
PM<1:0>: Pen Movement State bits (action taken upon pen movement).  
00= No touch report  
01= Touch report with P=0  
10= Touch report with P=1  
PU<2:0>: Pen-Up State bits (action taken upon pen up).  
000= No touch report  
001= Touch report with P=0  
010= Touch report with P=1  
011= Touch report with P=1, then touch report with P=0  
100= Touch report with P=0, then touch report with P=1, then touch report with P=0  
101= Touch report with P=0, then touch report with P=1  
A couple of typical setup examples for the TouchMode  
are as follows:  
• Report a pen down P=1on initial touch, followed  
by reporting a stream of pen downs P=1during  
the touch, followed by a final pen up P=0on touch  
release. TouchMode = 0b01010001= 0x51  
• Report a pen up P=0then a pen down P=1on  
initial touch, followed by reporting a stream of pen  
downs P=1during the touch, followed by a final  
pen up P=0on touch release. TouchMode =  
0b10110001= 0xB1  
DS41393B-page 32  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
8.2.11  
TouchOptions Register (OFFSET  
0x0D)  
The TouchOptions register contains various “touch”  
related option bits.  
REGISTER 8-2:  
TouchOptions REGISTER  
U-0  
U-0  
U-0  
U-0  
U-0  
U-0  
R/W  
48W  
R/W  
CCE  
bit 7  
bit 0  
Legend:  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit, read as ‘0’  
bit 7-2  
bit 1  
Unimplemented: Read as ‘0’  
48W: 4-Wire or 8-Wire Sensor Selection bit  
1= Selects 8-wire Sensor Operating mode  
0= Selects 4-wire Sensor Operating mode  
bit 0  
CCE: Calibrated Coordinates Enable bit  
1= Enables calibrated coordinates, if the controller has been calibrated  
0= Disables calibrated coordinates  
Calibration Inset = (CalibrationInset/2) %, Range of 0-  
20% with 0.5% resolution  
Note:  
A 4-wire touch sensor will not work if the  
48W Configuration bit is incorrectly  
defined as 1, which selects 8-wire.  
For example, CalibrationInset = 25 (0x19) yields a cal-  
ibration inset of (25/2) or 12.5%. During the calibration  
procedure, the controller will internally extrapolate the  
calibration point touch values in Calibration mode by  
12.5% to achieve full scale.  
An 8-wire touch sensor will provide basic  
operation if the 48W Configuration bit is  
incorrectly defined as 0, which selects 4-  
wire. However, the benefit of the 8-wire  
sensor will only be realized if the 48W  
Configuration bit is correctly defined as 1,  
selecting 8-wire.  
FIGURE 8-1:  
12.5% of  
Full Scale  
8.2.12  
CalibrationInset Register (OFFSET  
0x0E)  
The CalibrationInset register defines the expected  
position of the calibration points, inset from the perime-  
ter of the touch sensor’s active area, by a percentage  
of the full scale dimension.  
12.5% of  
Full Scale  
Location of Calibration  
Targets presented during  
Calibration.  
This allows for the calibration targets to be placed inset  
from edge to make it easier for a user to touch them.  
The CalibrationInset register value is only used when  
the CALIBRATION_MODE command is issued to the  
controller. In Calibration mode, the controller will  
extrapolate the calibration point touch report values by  
the defined CalibrationInset percentage to achieve full  
scale.  
A
software  
application  
that  
issues  
the  
CALIBRATION_MODE command must present the  
displayed calibration targets at the same inset  
percentage as defined in this CalibrationInset register.  
Valid values are as follows:  
0 CalibrationInset 40  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 33  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
8.2.13  
PenStateReportDelay Register  
(OFFSET 0x0F)  
The PenStateReportDelay register sets the delay time  
between sending of sequential touch reports for the  
“Pen-Down” and “Pen-Up” Touch mode states. See  
Section 8.2.10 “TouchMode Register (offset 0x0C)”  
for touch modes.  
For example, if “Pen-Up” state of the TouchMode  
register is configured to send a touch report with P=1,  
followed by a touch report with P=0, then this delay  
occurs between the two touch reports. This provides  
some timing flexibility between the two touch reports  
that may be desired in certain applications. Valid values  
are as follows.  
0 PenStateReportDelay 255  
Pen State Report Delay Time = PenStateReportDelay *  
50 μs  
8.2.14  
TouchReportDelay Register (OFFSET  
0x11)  
The TouchReportDelay register sets a forced delay  
time between successive touch report packets. This  
allows slowing down of the touch report rate, if desir-  
able for a given application. For example, a given appli-  
cation may not need a high rate of touch reports and  
may want to reduce the overhead used to service all of  
the touch reports being sent. In this situation, increas-  
ing the value of this register will reduce the rate at  
which the controller sends touch reports. Valid values  
are as follows:  
0 TouchReportDelay 255  
Touch Report Delay Time TouchReportDelay * 500 μs  
DS41393B-page 34  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
9.0  
COMMANDS  
9.1  
Sending Commands  
9.1.1  
The  
COMMAND SEND FORMAT  
controller  
supports  
application-specific  
configuration commands as shown in Table 9-1, below.  
TABLE 9-1:  
Byte #  
COMMAND SEND FORMAT  
Name  
Value  
Description  
1
2
3
4
:
Header  
Size  
0x55  
0x<>  
0x<>  
0x<>  
0x<>  
Header (mark beginning of command packet)  
Size, # of bytes following this byte  
Command ID  
Command  
Data  
Data, if applicable for the command  
Data, if applicable for the command  
Data  
To ensure command communication is not interrupted  
by touch activity, it is recommended that the controller  
touch is disabled, prior to other commands. This can be  
done as follows:  
1. Send DISABLE_TOUCHcommand  
2. Wait 50 ms  
3. Send desired commands  
4. Send ENABLE_TOUCHcommand  
9.1.2  
COMMAND RESPONSE  
A received command will be responded to as seen in  
Table 9-2 below.  
TABLE 9-2:  
Byte #  
COMMAND RESPONSE FORMAT  
Name  
Value  
Description  
1
2
3
4
5
:
Header  
Size  
0x55  
0x<>  
0x<>  
0x<>  
0x<>  
0x<>  
Header (mark beginning of command packet)  
Size, # of bytes following this byte  
Status  
Status  
Command  
Data  
Command ID  
Data, if applicable for the command  
Data, if applicable for the command  
Data  
The “Status” value within the response packet should  
be one of the following (See Table 9-3):  
TABLE 9-3:  
Status Value  
COMMAND RESPONSE  
STATUS VALUES  
Description  
0x00  
0x01  
0x03  
0x04  
Success  
Command Unrecognized  
Header Unrecognized  
Command Time Out (exceeded ~100  
ms)  
0xFC  
Cancel Calibration mode  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 35  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
9.1.3  
DISABLE TOUCH BEFORE  
SENDING SUBSEQUENT  
COMMANDS  
The AR1000 does not support full duplex  
communications. It cannot send touch reports to the  
host simultaneously with receiving commands from the  
host.  
Disable AR1000 touch reporting prior to sending any  
other command(s), then re-enable touch reporting  
when complete with executing other commands.  
1. Send the DISABLE_TOUCHcommand.  
Check for expected command response.  
2. Send a desired command.  
Check for expected command response.  
3. Repeat at step 2 if another command is to be  
sent.  
4. Send the ENABLE_TOUCHcommand.  
Check for expected command response.  
9.1.4  
CONFIRM COMMAND IS SENT  
Confirm each command sent to the AR1000, prior to  
issuing another command, to ensure it is executed.  
This is accomplished by evaluating the AR1000  
response to a command that has been sent to it.  
Check for each of the following five conditions to be  
met (See Table 9-4).  
TABLE 9-4:  
Condition  
COMMAND RESPONSE ERROR CONDITIONS  
Response Byte  
Description  
Header  
Size  
1
Header 0x55 value is expected  
2
Size 0x<> value to match what is expected for command sent  
Status 0x00 “success” value is expected  
Status  
ID  
3
4
Command ID 0x<> value to match what is expected (ID of sent command)  
Data byte count to match what is expected for command sent  
Data  
5 to end  
0x<> represents a value that is dependent on the com-  
mand.  
An error has occurred if no response is received at all  
or if any of the above conditions are not met in the  
response from the AR1000. If an error condition  
occurs, delay for a period of ~50 ms then send the  
same command again.  
DS41393B-page 36  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
9.2  
AR1000 Commands  
TABLE 9-5:  
COMMAND SET SUMMARY  
Command  
Value  
Command Description  
0x10  
0x12  
0x13  
0x14  
0x20  
0x21  
0x22  
0x23  
0x28  
0x29  
0x2B  
GET_VERSION  
ENABLE_TOUCH  
DISABLE_TOUCH  
CALIBRATE_MODE  
REGISTER_READ  
REGISTER_WRITE  
REGISTER_START_ADDRESS_REQUEST  
REGISTERS_WRITE_TO_EEPROM  
EEPROM_READ  
EEPROM_WRITE  
EEPROM_WRITE_TO_REGISTERS  
9.3  
AR1000 Command Descriptions  
9.3.1  
GET_VERSION– 0x10  
Controller will return version number and type.  
Send: <0x55><0x01><0x10>  
Receive: <0x55><0x05><Response><0x10><Ver-  
sion High><Version Low><Type>  
where <Type>  
REGISTER 9-1:  
GET_VERSION <TYPE> FORMAT  
R/W  
RS1  
R/W  
RS0  
R/W  
TP5  
R/W  
TP4  
R/W  
TP3  
R/W  
TP2  
R/W  
TP1  
R/W  
TP0  
bit 7  
bit 0  
Legend:  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit, read as ‘0’  
bit 7-6  
RS<1:0>: Resolution of Touch Coordinates bits  
00= 8-bit  
01= 10-bit  
10= 12-bit  
bit 5-0  
9.3.2  
TP<5:0>: Type of Controller bits  
001010= ARA10  
ENABLE_TOUCH– 0x12  
9.3.3  
DISABLE_TOUCH– 0x13  
Controller will send touch coordinate reports for valid  
touch conditions.  
Controller will not send any touch coordinate reports. A  
touch will, however, still wake-up the controller if  
asleep.  
Send:  
<0x55><0x01><0x12>  
Send:  
<0x55><0x01><0x13>  
Receive: <0x55><0x02><Response><0x12>  
Receive: <0x55><0x02><Response><0x13>  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 37  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
9.3.4  
CALIBRATE– 0x14  
Enter Calibration mode. This instructs the controller to  
enter a mode of accepting the next four touches as the  
calibration point coordinates. See Section 10.1 “Cali-  
bration of Touch Sensor with Controller” for an  
example.  
Completion of Calibration mode will automatically store  
the calibration point coordinates in on-board controller  
memory and set (to 1) the CCE bit of the TouchOptions  
register. This bit enables the controller to report touch  
coordinates that have been processed with the  
previously collected calibration data.  
To provide for proper touch orientation, the four  
sequential calibration touches must be input in the  
physical order on the touch sensor, as shown in  
Figure 9-1.  
FIGURE 9-1:  
CALIBRATION ROUTINE  
SEQUENCE  
#2  
#1  
Upper Right  
Upper Left  
Touch Sensor  
#3  
#4  
Lower Left  
Lower Right  
Upon completion, the controller’s register values and  
calibration data are stored to the EEPROM.  
The Calibration mode will be cancelled by sending any  
command before the mode has been completed. If the  
calibration is canceled, the controller response may  
appear incorrect or incomplete. This is expected  
behavior.  
DS41393B-page 38  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
9.3.4.1  
AR1010/AR1020 Calibrate  
Response  
Send:  
<0x55><0x02><0x14><Calibration Type>  
Calibration Type  
Description  
0x04  
4 point  
Receive: <0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
for initial command response  
Response for touch of Calibration point #1  
Response for touch of Calibration point #2  
Response for touch of Calibration point #3  
Response for touch of Calibration point #4  
A successful CALIBRATE command results in 5  
response packets being sent to the host.  
Once the response has been received for the  
completed 4th target, a delay of one second must be  
implemented prior to sending any commands to the  
controller. This one second delay insures all data has  
been completely written to the EEPROM.  
9.3.4.2  
AR1011/AR1021 Calibrate  
Response  
Send:  
<0x55><0x02><0x14><Calibration Type>  
Calibration Type  
Description  
0x04  
4 point  
Receive: <0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
<0x55><0x02><0x00><0x14>  
for initial command response  
Response for touch of Calibration point #1  
Response for touch of Calibration point #2  
Response for touch of Calibration point #3  
Response for touch of Calibration point #4  
Response after EEPROM has been written  
A successful CALIBRATE command results in six  
response packets being sent to the host.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 39  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
The raw touch coordinates, decoded by the controller,  
for each of the four calibration touches are extrapolated  
if CalibrationInset was non-zero. The four coordinate  
pairs are then re-oriented, if required, such that the  
upper left corner is the minimum (X,Y) “origin” value  
pair and the lower right corner is the maximum (X,Y)  
value pair.  
9.3.4.3  
Calibration Data Encoded and  
Stored in EEPROM  
System integrators may prefer to pre-load a calibration  
into their design. This allows the user to properly  
navigate to the calibration routine icon or shortcut  
without the use of a mouse. This also addresses the  
need to calibrate each system individually before  
deploying it to the field.  
Coordinates are 10-bit significant values, scaled to  
16-bit and stored in a High (Hi) and Low (Lo) byte pair.  
Separator Upper Left (Node 1) Upper Right (Node 2) Lower Right (Node 3)  
Lower Left (Node 4)  
Flip State  
X
Y
X
Y
X
Y
X
Y
Lo Hi Lo  
Hi  
Lo  
Hi  
Lo Hi Lo Hi Lo  
Hi  
Lo  
Hi  
Lo  
Hi  
Decode the above data to as follows:  
1. Swap the order of stored low and high bytes for  
a given coordinate.  
2. Convert the 16-bit value (stored high and low  
bytes) from hexadecimal to decimal.  
3. Divide the result by 64 to properly rescale the  
16-bit stored value back to a 10-bit significant  
coordinate.  
Example of Low = 0x40 and High = 0xF3:  
Swap:  
Hex to Decimal: 62272  
Divide by 64: 973  
0xF340  
REGISTER 9-2:  
Flip State Byte  
U-0  
U-0  
U-0  
U-0  
U-0  
R/W  
XYFLIP  
R/W  
R/W  
YFLIP  
bit 0  
XFLIP  
bit 7  
Legend:  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit, read as ‘0’  
bit 7-3  
bit 2  
Unimplemented: Read as ‘0’  
XYFLIP: X and Y Axis Flip bit  
1= X and Y axis are flipped  
0= X an Y axis are not flipped  
bit 1  
bit 0  
XFLIP: X-Axis Flip bit  
1= X-axis flipped  
0= X-axis not flipped  
YFLIP:Y-Axis Flip bit  
1= Y-axis flipped  
0= Y-axis not flipped  
For storing desired calibration values to the EEPROM:  
• AR1010/AR1020 (See Section 9.3.12 “EEPROM  
Map”).  
• AR1011/AR1021 (See Section 9.3.12 “EEPROM  
Map” and Section 10.2 “AR1011/AR1021 Stor-  
ing Default Calibration Values to EEPROM”).  
DS41393B-page 40  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
The AR1000 controller will ignore the value entered for  
the Register Address High Byte. However, 0x00 is  
recommended to safeguard against any possible future  
product development.  
9.3.5  
REGISTER_READ– 0x20  
Reads a value from a controller register location. This  
can be used to determine a controller configuration  
setting.  
Configuration registers are defined as an Offset value  
from the Start address for the register group. Read a  
register as follows:  
9.3.7  
REGISTER_START_ADDRESS_REQUEST  
– 0x22  
Configuration registers are defined as an Offset value  
from the Start address for the register group. This  
command returns the Start address for the register  
group.  
1. Issue the REGISTER_START_ADDRESS_REQUEST  
command to obtain the Start address for the  
register group  
.
2. Calculate the desired register’s absolute  
address by adding the register’s Offset value to  
Start address for the register group.  
Send: <0x55><0x01><0x22>  
Receive:  
<0x55><0x03><Response><0x22><Regi  
ster Start Address>  
3. Issue this REGISTER_READ command, as  
follows, using the calculated register’s absolute  
address:  
9.3.8  
REGISTERS_WRITE_TO_EEPROM–  
Send: <0x55><0x04><0x20><Register Address  
High byte><Register Address Low  
byte><# of Registers to Read>  
0x23  
Save Configuration register values to EEPROM. This  
allows the controller to remember configurations  
settings through controller power cycles.  
Register Address High byte: 0x00  
# of Registers to Read:  
0x01 thru 0x08  
Send:  
<0x55><0x01><0x23>  
Receive: <0x55><0x02  
+
#
of Registers  
Receive: <0x55><0x02><Response><0x23>  
Read><Response><0x20><Register  
value>…<Register value>  
9.3.9  
EEPROM_READ– 0X28  
The AR1000 controller will ignore the value entered for  
the Register Address High Byte. However, 0x00 is  
recommended to safeguard against any possible future  
product development.  
The controller has 256 bytes of on-board EEPROM.  
• The first 128 bytes (address range 0x00-0x7F)  
are reserved by the controller for the Configura-  
tion register settings and calibration data.  
• The second 128 bytes (address range  
0x80-0xFF) are provided for the user’s  
application, if desired.  
9.3.6  
REGISTER_WRITE– 0x21  
Write a value to a controller register location. This can  
be used to change a controller configuration setting.  
This command provides a means to read values from  
the EEPROM.  
Configuration registers are defined as an Offset value  
from the Start address for the register group. Write a  
register as follows:  
Send:  
<0x55><0x04><0x28><EEPROM Address  
High byte><EEPROM Address Low  
byte><# of EEPROM to Read>  
1. Issue the REGISTER_START_ADDRESS_REQUEST  
command to obtain the Start address for the  
register group.  
Register Address High byte: 0x00  
# of Registers to Read: 0x01 thru 0x08  
2. Calculate the desired register’s absolute  
address by adding the register’s Offset value to  
Start address for the register group.  
Receive: <0x55><0x02  
+
#
EEPROM  
Read><Response><0x28><EEPROM  
value>…<EEPROM value>  
3. Issue this REGISTER_WRITE command, as  
follows, using the calculated register’s absolute  
address:  
The AR1000 controller will ignore the value entered for  
the EEPROM Address High Byte. However, 0x00 is  
recommended to safeguard against any possible future  
product development.  
Send: <0x55><0x04  
+
#
Registers  
to  
Write><0x21><Register Address High  
byte><Register Address Low byte>  
<#  
of  
Registers  
to  
Write><Data>…<Data>  
Register Address High byte: 0x00  
# of Registers to Read:  
0x01 thru 0x08  
Receive: <0x55><0x02><Response><0x21>  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 41  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
9.3.10  
EEPROM_WRITE– 0x29  
9.3.12  
EEPROM MAP  
The controller has 256 bytes of on-board EEPROM.  
The first 128 bytes in address range 0x00:0x7F are  
reserved by the controller for the Configuration register  
settings and calibration data. The mapping of data in  
this reserved controller space of the EEPROM may  
change over different revisions within the product  
lifetime.  
This command provides a means to write values to the  
user space within the EEPROM.  
• The first 128 bytes (address range 0x00-0x7F)  
are reserved by the controller for the Configura-  
tion register settings and calibration data. Only the  
Register Write to EEPROM command should be  
used to write Configuration registers to EEPROM.  
Failure to use the Register Write command to  
save Configuration registers to EEPROM may  
result in failures or reverting to previously stored  
Configuration register values.  
The EEPROM_WRITE command must not be used to  
write directly to the lower 128 bytes of the controller  
EEPROM space of 0x00:0x7F.  
The second 128 bytes in address range 0x80:0xFF are  
provided for the user’s application, if desired.  
• The second 128 bytes (address range  
0x80-0xFF) are provided for the user’s applica-  
tion, if desired.  
TABLE 9-6:  
AR1010/AR1020 EEPROM  
AND REGISTER MAP  
EEPROM Address  
Function  
0x00  
0x01  
0x02  
0x03  
0x04  
0x05  
0x06  
0x07  
0x08  
0x09  
0x0A  
0x0B  
0x0C  
0x0D  
0x0E  
0x0F  
0x10  
0x11  
0x12  
0x13  
0x14  
0x15  
0x16  
0x17  
0x18  
0x19  
0x1A  
0x1B  
0x1C  
0x1D  
0x1E  
0x1F  
<Special Use>  
<Special Use>  
Warning: ONLY write to user EEPROM addresses of  
0x80-0xFF.  
<Special Use>  
One of the following actions is required for  
EEPROM changes to be used by the  
controller:  
Touch Threshold  
Sensitivity Filter  
• The controller power must be cycled  
from OFF to ON or  
• Issue the  
EEPROM_WRITE_TO_REGISTERS  
command.  
Sampling Fast  
Sampling Slow  
Accuracy Filter Fast  
Accuracy Filter Slow  
Speed Threshold  
<Special Use>  
Write to EEPROM as follows:  
Send: <0x55><0x04  
+
#
EEPROM  
to  
Write><0x29><EEPROM Address High  
byte><EEPROM Address Low byte>  
Sleep Delay  
Pen-Up Delay  
<#  
of  
EEPROM  
to  
Touch Mode  
Write><Data>…<Data>  
Touch Options  
Register Address High byte: 0x00  
Calibration Inset  
# of Registers to Read: 0x01 thru 0x08  
Receive: <0x55><0x02><Response><0x29>  
Pen State Report Delay  
<Reserved>  
The AR1000 controller will ignore the value entered for  
the EEPROM Address High Byte. However, 0x00 is  
recommended to safeguard against any possible future  
product development.  
Touch Report Delay  
<Special Use>  
Data Block Separator  
Calibration UL X-low  
Calibration UL X-high  
Calibration UL Y-low  
Calibration UL Y-high  
Calibration UR X-low  
Calibration UR X-high  
Calibration UR Y-low  
Calibration UR Y-high  
Calibration LR X-low  
Calibration LR X-high  
Calibration LR Y-low  
9.3.11  
EEPROM_WRITE_TO_REGISTERS–  
0x2B  
Write applicable EEPROM data to Configuration regis-  
ters. This will cause the controller to immediately begin  
using changes made to EEPROM stored Configuration  
register values. A power cycle of the controller will  
automatically cause the controller to use changes  
made to the EEPROM stored Configuration register  
values, without the need for issuing this command. This  
command eliminates the need for the power cycle.  
Send:  
<0x55><0x01><0x2B>  
Receive: <0x55><0x02><Response><0x2B>  
DS41393B-page 42  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
TABLE 9-6:  
AR1010/AR1020 EEPROM  
AND REGISTER MAP  
TABLE 9-7:  
AR1011/AR1021 EEPROM  
AND REGISTER MAP  
EEPROM Address  
Function  
EEPROM Address  
Function  
0x20  
0x21  
Calibration LR Y-high  
Calibration LL X-low  
Calibration LL X-high  
Calibration LL Y-low  
Calibration LL Y-high  
Calibration Flip State  
<Special Use>  
0x1D  
0x1E  
Calibration UR Y-low  
Calibration UR Y-high  
Calibration LR X-low  
Calibration LR X-high  
Calibration LR Y-low  
Calibration LR Y-high  
Calibration LL X-low  
Calibration LL X-high  
Calibration LL Y-low  
Calibration LL Y-high  
Calibration Flip State  
Calibration – Checksum  
<Special Use>  
0x22  
0x1F  
0x23  
0x20  
0x24  
0x21  
0x25  
0x22  
0x26:0x7E  
0x7F  
0x23  
End of Controller Space  
User Space  
0x24  
0x80:0xFF  
0x25  
0x26  
TABLE 9-7:  
AR1011/AR1021 EEPROM  
AND REGISTER MAP  
0x27  
0x28  
EEPROM Address  
Function  
0x29:0x50  
0x51:0x7F  
0x80:0xFF  
<Reserved>  
0x00  
0x01  
Not used  
User Space  
Configuration Registers –  
Block Key  
0x02  
0x03  
0x04  
0x05  
0x06  
0x07  
0x08  
0x09  
0x0A  
0x0B  
0x0C  
0x0D  
0x0E  
0x0F  
0x10  
0x11  
0x12  
0x13  
0x14  
0x15  
<Special Use>  
<Special Use>  
Touch Threshold  
Sensitivity Filter  
Sampling Fast  
Sampling Slow  
Accuracy Filter Fast  
Accuracy Filter Slow  
Speed Threshold  
<Special Use>  
Sleep Delay  
Pen-Up Delay  
Touch Mode  
Touch Options  
Calibration Inset  
Pen State Report Delay  
<Special Use>  
Touch Report Delay  
<Special Use>  
Configuration Registers –  
Checksum  
0x16  
0x17  
0x18  
0x19  
0x1A  
0x1B  
0x1C  
Calibration - Block Key  
Calibration UL X-low  
Calibration UL X-high  
Calibration UL Y-low  
Calibration UL Y-high  
Calibration UR X-low  
Calibration UR X-high  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 43  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
NOTES:  
DS41393B-page 44  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
5. Set the Calibration Inset by writing the desired  
10.0 APPLICATION NOTES  
value to the CalibrationInset register.  
Send:<0x55><0x05><0x21><0x00><0x2E><0x01  
10.1 Calibration of Touch Sensor with  
><0x19>  
Controller  
Receive: <0x55><0x02><0x00><0x21>  
The reported coordinates from  
a touch screen  
6. Issue the CALIBRATE_MODEcommand.  
Send: <0x55><0x02><0x14><0x04>  
controller are typically calibrated to the application’s  
video display. The task is often left up to the host to  
perform. This controller provides a feature for it to send  
coordinates that have already been calibrated, rather  
than the host needing to perform this task. If enabled,  
the feature will apply pre-collected 4-point calibration  
data to the reported touch coordinates. Calibration only  
accounts for X and Y directional scaling. It does not  
correct for angular errors due to rotation of the touch  
sensor on the video display.  
Receive: <0x55><0x02><0x00><0x14>  
7. Software must display the first calibration point  
target in the upper left quadrant of the display  
and prompt the user to touch and release the  
target.  
FIGURE 10-1:  
SUGGESTED TEXT FOR  
FIRST CALIBRATION  
TARGET  
The calibration process can be cancelled at anytime by  
sending a command to the controller.  
Upon completion of the calibration process, the  
calibration data is automatically stored to the EEPROM  
and “Calibrated Coordinates” is enabled.  
Touch and  
Release Target  
The process of “calibration” with the controller is  
described below.  
1. Disable touch reporting by issuing <Disable  
Touch> command.  
Send:  
<0x55><0x01><0x13>  
8. Wait for the user to touch and release the first  
calibration point target. Do this by looking for a  
controller response of:  
Receive: <0x55><0x02><Response><0x13>  
2. Get register group Start address by issuing  
REGISTER_START_ADDRESS_REQUEST  
command.  
<0x55><0x02><0x00> <0x14>  
9. Software must display the second calibration  
point target in the upper right quadrant of the  
display and prompt the user to touch and  
release the target.  
A register Start address of 0x20 is used below, for  
this example.  
Send:  
<0x55><0x01><0x22>  
FIGURE 10-2:  
SUGGESTED TEXT FOR  
SECOND CALIBRATION  
TARGET  
Receive: <0x55><0x03><0x00><0x22><0x20>  
3. Calculate the CalibrationInset register’s address  
by adding its offset value of 0x0E to the register  
group Start address of 0x20.  
Register Address  
CalibratioInset Register Offset = 0x20 + 0x0E = 0x2E  
=
Register Start Address  
+
Touch and  
Release Target  
4. Calculate the desired value for the CalibrationIn-  
set register.  
A Calibration Inset of 12.5% is used below for this  
example.  
10. Wait for the user to touch and release the  
second calibration point target. Do this by  
CalibrationInset = 2 * Desire Calibration Inset % = 2 *  
12.5 = 25 = 0x19  
looking for  
a
controller response of:  
<0x55><0x02><0x00><0x14>  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 45  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
11. Software must display the third calibration point  
target in the lower right quadrant of the display  
and prompt the user to touch and release the  
target.  
14. Wait for the user to touch and release the fourth  
calibration point target. Do this by looking for a  
controller response of:  
<0x55><0x02><0x00><0x14>  
15. Wait for the controller to correctly write  
calibration data into EEPROM  
FIGURE 10-3:  
SUGGESTED TEXT FOR  
THIRD CALIBRATION  
TARGET  
• AR1010/AR1020: Wait one second for data to  
be stored into EEPROM  
• AR1011/AR1021: Wait for a controller  
response of <0x55><0x02><0x00><0x14>  
16. Enable  
touch  
reporting  
by  
issuing  
Touch and  
Release Target  
ENABLE_TOUCHcommand.  
Send: <0x55><0x01><0x12>  
Receive: <0x55><0x02><Response><0x12>  
12. Wait for the user to touch and release the third  
calibration point target. Do this by looking for a  
controller response of:  
<0x55><0x02><0x00><0x14>  
13. Software must display the fourth calibration  
point target in the lower left quadrant of the  
display and prompt the user to touch and  
release the target.  
FIGURE 10-4:  
SUGGESTED TEXT FOR  
FOURTH CALIBRATION  
TARGET  
Touch and  
Release Target  
DS41393B-page 46  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
An example of calculating the checksum is shown  
below (See Table 10-1).  
10.2 AR1011/AR1021 Storing Default  
Calibration Values to EEPROM  
If you wish to implement fixed calibration values,  
pre-loaded into the AR1000 EEPROM, then the  
following procedure must be followed (See  
Section 10.2.1 “Preparation for Fixed Calibration  
Values”).  
10.2.1  
PREPARATION FOR FIXED  
CALIBRATION VALUES  
Determine if fixed calibration values are suitable for  
your application and determine your desired values.  
Calculate a checksum for your custom data set. See  
Section 9.3.4.3 “Calibration Data Encoded and  
Stored in EEPROM” for additional details regarding  
calibration data format.  
TABLE 10-1: CHECKSUM CALCULATION EXAMPLE  
Description  
Value  
Operation  
Checksum Result  
Seed  
0x45  
0x55  
0x06  
0x1B  
0xA5  
0x08  
0x13  
0xDF  
0xF4  
0x0B  
0x98  
0xE4  
0x1E  
0xEC  
0xBF  
0x1A  
0x32  
0xE7  
0x01  
n/a  
0x45  
0x9A  
0xA0  
0xBB  
0x60  
0x68  
0x7B  
0x5A  
0x4E  
0x59  
0xF1  
0xD5  
0xF3  
0xDF  
0x9E  
0xB8  
0xEA  
0xD1  
0xD2  
0xD2  
Block Key  
Upper Left  
Upper Left  
Upper Left  
Upper Left  
Upper Right  
Upper Right  
Upper Right  
Upper Right  
Lower Right  
Lower Right  
Lower Right  
Lower Right  
Lower Left  
Lower Left  
Lower Left  
Lower Left  
Flip State  
0x45 + 0x55 =  
0x9A + 0x06 =  
0xA0 + 0x1B =  
0xBB + 0xA5 =  
0x60 + 0x08 =  
0x68 + 0x13 =  
0x7B + 0xDF =  
0x5A + 0xF4 =  
0x4E + 0x0B =  
0x59 + 0x98 =  
0xF1 + 0xE4 =  
0xD5 + 0x1E =  
0xF3 + 0xEC =  
0xDF + 0xBF =  
0x9E + 0x1A =  
0xB8 + 0x32 =  
0xEA + 0xE7 =  
0xD1 + 0x01 =  
X
X
Y
Y
X
X
Y
Y
X
X
Y
Y
X
X
Y
Y
Low byte  
High byte  
Low byte  
High byte  
Low byte  
High byte  
Low byte  
High byte  
Low byte  
High byte  
Low byte  
High byte  
Low byte  
High byte  
Low byte  
High byte  
Checksum  
The Checksum is an 8-bit value calculated by  
successive additions with overflow ignored, as shown  
below.  
Checksum = 0x45  
For each of the 18 calibration values, starting at the  
Block Key and ending with the Flip State  
Checksum += Calibration value  
Next Calibration value  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 47  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
10.2.2  
EXECUTION OF FIXED  
CALIBRATION VALUE LOADING  
Follow error checking practices by checking the  
AR1000 responses to issued commands.  
1. Send the AR1000 DISABLE_TOUCHcommand.  
2. Use the AR1000 EEPROM_WRITE command  
multiple times to write the following to the  
AR1000 EEPROM.  
a. Block Key 0x55 to address 0x16  
b. Data set to addresses 0x17:0x27. See  
Section 9.3.4.3 “Calibration Data  
Encoded and Stored in EEPROM” and  
Section 9.3.12 “EEPROM Map”.  
c. Checksum for the data block to address  
0x28  
d. Mirror image of a, b and c from above to  
address 0x3E:0x50  
3. Set the CCE bit of the TouchOptions register.  
This will enable the controller to use the  
calibration data on the next power boot. See  
Section 10.2.3 “Configuring the CCE bit to  
Use Fixed Calibration Values” for additional  
details on the CCE bit.  
4. Send the AR1000 ENABLE_TOUCH (0x12)  
command.  
10.2.3  
CONFIGURING THE CCE BIT TO  
USE FIXED CALIBRATION VALUES  
The CCE bit of the TouchOptions Register (offset  
0x0D) must be set to ‘1’ to enable the usage of the  
stored calibration values in EEPROM.  
This should be completed before re-enabling the  
controller via the ENABLE_TOUCHcommand.  
REGISTER 10-1: CCE BIT FORMAT  
U-0  
U-0  
U-0  
U-0  
U-0  
U-0  
R/W  
48W  
R/W  
CCE  
bit 7  
bit 0  
Legend:  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit, read as ‘0’  
bit 7-2  
bit 1  
Unimplemented: Read as ‘0’  
48W: 4-Wire or 8-Wire Sensor Selection bit  
1= Selects 8-wire Sensor Operating mode  
0= Selects 4-wire Sensor Operating mode  
bit 0  
CCE: Calibrated Coordinates Enable bit  
1= Enables calibrated coordinates, if the controller has been calibrated  
0= Disables calibrated coordinates  
DS41393B-page 48  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
1. Send the DISABLE_TOUCH(0x13) command.  
10.2.5  
QUALITY TEST  
2. Send the  
Although not required, a level of quality assurance can  
be added to the process by the application issuing  
multiple EEPROM_READcommands to the AR1000.  
REGISTER_START_ADDRESS_REQUEST  
(0x22) to determine the absolute address for  
TouchOptions Register.  
The response data from the EEPROM_READcommands  
would be tested by the application against the  
application’s desired data as a quality check.  
3. Send the REGISTER_WRITE (0x21) command  
to set the CCE bit of the TouchOptions Register.  
4. Send REGISTERS_WRITE_TO_EEPROM (0x23)  
command to have all current registers stored  
into EEPROM.  
10.2.6  
EXAMPLE COMMAND SEQUENCE  
An example eight command sequence for the entire  
process is shown below.  
5. Send the AR1000 ENABLE_TOUCH (0x12)  
command.  
All values shown are in hexadecimal.  
The controller will use the stored calibration data after  
cycling power to the controller.  
Calibration values are applications specific and have  
been symbolically represented as follows:  
10.2.4  
EEPROM_WRITECOMMAND TO  
STORE DEFAULT CALIBRATION  
ULxL = Upper Left corner x-coordinate Low byte  
The EEPROM_WRITE command is shown in this  
section. See Section 9.0 “Commands” for more  
command details.  
:
LLyH = Lower Left corner y-coordinate High byte  
DISABLE_TOUCH  
<> = application specific value  
Send to AR1000:  
0x55  
0x<>  
0x29  
0x00  
Header  
Number of bytes to follow this one  
Command ID  
Desired EEPROM address to write high  
byte. Always 0x00  
0x<>  
0x<>  
Desired EEPROM address to write low  
byte  
Number of consecutive EEPROM  
addresses to write (supports 0x01 to 0x08)  
0x<>  
0x<>  
0x<>  
0x<>  
0x<>  
0x<>  
0x<>  
0x<>  
Value # 1 to write  
Value # 2 to write, if applicable  
Value # 3 to write, if applicable  
Value # 4 to write, if applicable  
Value # 5 to write, if applicable  
Value # 6 to write, if applicable  
Value # 7 to write, if applicable  
Value # 8 to write, if applicable  
Response from AR1000:  
0x55  
Header  
0x02  
0x00  
0x29  
Number of bytes to follow this one  
Success response  
Command ID  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 49  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Disable Touch  
Command:  
Response:  
55  
55  
01 13  
02 00 13  
Write Calibration to EEPROM Image # 1  
Command:  
Response:  
Command:  
Response:  
Command:  
Response:  
55 0C 29 00  
55 02 00 29  
55 0C 29 00 1E  
16  
08  
08  
03  
55  
ULxL ULxH ULyL ULyH URxL URxH URyL  
LRxL LRxH LRyL LRyH LLxL LLxH LLyL  
FlipS Chksm  
URyH  
LLyH  
55  
55  
55  
02 00 29  
07 29 00  
02 00 29  
26  
Write Calibration to EEPROM Image # 2  
Command:  
Response:  
Command:  
Response:  
Command:  
Response:  
55 0C 29 00 3E  
55 02 00 29  
55 0C 29 00  
08  
08  
03  
55  
ULxL ULxH ULyL ULyH URxL URxH URyL  
LRxL LRxH LRyL LRyH LLxL LLxH LLyL  
FlipS Chksm  
46  
URyH  
LLyH  
55  
55  
55  
02 00 29  
07 29 00 4E  
02 00 29  
Enable Use of Calibrated Data  
Command:  
Response:  
Command:  
4/8-Wire  
55  
55  
01 22  
03 00 22 <Start Address>  
55  
55  
55  
05 21 00 <Start Address + 0x0D>  
05 21 00 <Start Address + 0x0D>  
02 00 21  
01  
01  
01  
03  
5-Wire  
Response:  
Enable Touch  
Command:  
Response:  
55  
55  
01 12  
02 00 12  
DS41393B-page 50  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
11.0 ELECTRICAL SPECIFICATIONS  
(†)  
Absolute Maximum Ratings  
Ambient temperature under bias....................................................................................................... -40°C to +125°C  
Storage temperature ........................................................................................................................ -65°C to +150°C  
Voltage on VDD with respect to VSS .................................................................................................... -0.3V to +6.5V  
Voltage on all other pins with respect to VSS ........................................................................... -0.3V to (VDD + 0.3V)  
Total power dissipation................................................................................................................................... 800 mW  
Maximum current out of VSS pin .................................................................................................................... 300 mA  
Maximum current into VDD pin ....................................................................................................................... 250 mA  
Input clamp current (VI < 0 or VI > VDD)20 mA  
Maximum output current sunk by any I/O pin....................................................................................................25 mA  
Maximum output current sourced by any I/O pin .............................................................................................. 25 mA  
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the  
device. This is a stress rating only and functional operation of the device at those or any other conditions above those  
indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for  
extended periods may affect device reliability.  
† NOTICE: This device is sensitive to ESD damage and must be handled appropriately. Failure to properly handle  
and protect the device in an application may cause partial to complete failure of the device.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 51  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
11.1 Minimum Operating Voltage  
The AR1000 series controller will operate down to 2.5V ± 5%. Touch performance will be optimized by using the high-  
est allowable voltage for the design.  
The PICkit Serial included in the AR1000 Development kit supports 3V-5V range of operation.  
11.2 AR1000 Electrical Characteristics  
Operating Voltage: 2.5 VDD 5.25V  
Function  
Pin  
Input  
Output  
M1  
M1  
VSS VIL 0.15*VDD  
(0.25*VDD + 0.9V) VIH VDD  
M2  
SCL/SCK  
TX  
M2  
VSS VIL 0.15*VDD  
(0.25*VDD + 0.9V) VIH VDD  
SCL/SCK/TX  
SCL/SCK/TX  
SDI/SDA/RX  
SDO  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
VSS VOL(1) (1.2V – 0.15*VDD)(2)  
(1.25*VDD – 2.25V)(3) VOH(1) VDD  
SDI  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
SDO  
VSS VOL(1) (1.2V – 0.15*VDD)(2)  
(1.25*VDD – 2.25V)(3) VOH(1) VDD  
SIQ  
SDA  
RX  
SIQ  
VSS VOL(1) (1.2V – 0.15*VDD)(2)  
(1.25*VDD – 2.25V)(3) VOH(1) VDD  
SDI/SDA/RX  
SDI/SDA/RX  
SS  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
Open-drain  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
SS  
VSS VIL 0.2*VDD  
0.8*VDD VIH VDD  
Note 1: These parameters are characterized but not tested.  
2: At 10 mA.  
3: At -4 mA.  
DS41393B-page 52  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
12.0 PACKAGING INFORMATION  
12.1 Package Marking Information  
20-Lead SSOP (5.30 mm)  
Example  
AR1021  
I/SS  
e
3
1042256  
20-Lead SOIC (7.50 mm)  
Example  
AR1021  
I/SO  
XXXXXXXXXXXX  
XXXXXXXXXXXX  
XXXXXXXXXXXX  
e
3
1042256  
YYWWNNN  
Legend: XX...X Customer-specific information  
Y
YY  
WW  
NNN  
Year code (last digit of calendar year)  
Year code (last 2 digits of calendar year)  
Week code (week of January 1 is week ‘01’)  
Alphanumeric traceability code  
e
3
Pb-free JEDEC designator for Matte Tin (Sn)  
*
This package is Pb-free. The Pb-free JEDEC designator (  
can be found on the outer packaging for this package.  
)
e3  
Note: In the event the full Microchip part number cannot be marked on one line, it will  
be carried over to the next line, thus limiting the number of available  
characters for customer-specific information.  
*
Standard PICmicro® device marking consists of Microchip part number, year code, week code and  
traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check  
with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP  
price.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 53  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
12.2 Package Marking Information (Continued)  
20-Lead QFN (4x4x0.9 mm)  
Example  
AR1021  
I/ML  
1042256  
PIN 1  
PIN 1  
e
3
Legend: XX...X Customer-specific information  
Y
Year code (last digit of calendar year)  
YY  
WW  
NNN  
Year code (last 2 digits of calendar year)  
Week code (week of January 1 is week ‘01’)  
Alphanumeric traceability code  
e
3
Pb-free JEDEC designator for Matte Tin (Sn)  
*
This package is Pb-free. The Pb-free JEDEC designator (  
can be found on the outer packaging for this package.  
)
e3  
Note: In the event the full Microchip part number cannot be marked on one line, it will  
be carried over to the next line, thus limiting the number of available  
characters for customer-specific information.  
*
Standard PICmicro® device marking consists of Microchip part number, year code, week code and  
traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check  
with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP  
price.  
DS41393B-page 54  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
12.3 Ordering  
Note:  
The AR1011/AR1021 are recommended  
for new designs. The AR1010/AR1020 are  
still supported and available, but are not  
recommended for new designs.  
TABLE 12-1: ORDERING PART NUMBERS  
Communication  
Part Number  
Type  
Temp. Range  
Pin Package  
Packing  
AR1011-I/ML  
AR1011-I/SO  
AR1011-I/SS  
AR1011T-I/ML  
AR1011T-I/SO  
AR1011T-I/SS  
AR1021-I/ML  
AR1021-I/SO  
AR1021-I/SS  
AR1021T-I/ML  
AR1021T-I/SO  
AR1021T-I/SS  
UART  
UART  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
Tube  
Tube  
Tube  
T/R  
UART  
UART  
UART  
T/R  
UART  
T/R  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
Tube  
Tube  
Tube  
T/R  
T/R  
T/R  
AR1010-I/ML  
AR1010-I/SO  
AR1010-I/SS  
AR1010T-I/ML  
AR1010T-I/SO  
AR1010T-I/SS  
AR1020-I/ML  
AR1020-I/SO  
AR1020-I/SS  
AR1020T-I/ML  
AR1020T-I/SO  
AR1020T-I/SS  
UART  
UART  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
-40°C to + 85°C  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
QFN, 20 pin  
SOIC, 20 pin  
SSOP, 20 pin  
Tube  
Tube  
Tube  
T/R  
UART  
UART  
UART  
T/R  
UART  
T/R  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
I2CTM/SPI  
Tube  
Tube  
Tube  
T/R  
T/R  
T/R  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 55  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
12.4  
Package Details  
The following sections give the technical details of the packages.  
ꢀꢁꢂꢃꢄꢅꢆꢇꢈꢉꢅꢊꢋꢌꢍꢇꢎꢏꢐꢌꢑꢒꢇꢎꢓꢅꢉꢉꢇꢔꢕꢋꢉꢌꢑꢄꢇꢖꢎꢎꢗꢇMꢇꢘꢙꢚꢁꢇꢓꢓꢇꢛꢜꢆ ꢇ!ꢎꢎꢔꢈ"ꢇ  
#ꢜꢋꢄ$ 1ꢌꢊꢅ%ꢎꢉꢅ&ꢌ %ꢅꢍ!ꢊꢊꢉꢄ%ꢅꢑꢇꢍ2ꢇꢔꢉꢅ"ꢊꢇ)ꢃꢄꢔ 'ꢅꢑꢈꢉꢇ ꢉꢅ ꢉꢉꢅ%ꢎꢉꢅꢒꢃꢍꢊꢌꢍꢎꢃꢑꢅꢂꢇꢍ2ꢇꢔꢃꢄꢔꢅꢖꢑꢉꢍꢃ$ꢃꢍꢇ%ꢃꢌꢄꢅꢈꢌꢍꢇ%ꢉ"ꢅꢇ%ꢅ  
ꢎ%%ꢑ033)))ꢁ&ꢃꢍꢊꢌꢍꢎꢃꢑꢁꢍꢌ&3ꢑꢇꢍ2ꢇꢔꢃꢄꢔ  
D
N
E
E1  
NOTE 1  
1
2
e
b
c
A2  
A
φ
A1  
L1  
L
4ꢄꢃ%  
ꢒꢚ55ꢚꢒ*ꢘ*ꢙꢖ  
ꢐꢃ&ꢉꢄ ꢃꢌꢄꢅ5ꢃ&ꢃ%  
ꢒꢚ6  
67ꢒ  
ꢒꢕ8  
6!&(ꢉꢊꢅꢌ$ꢅꢂꢃꢄ  
ꢂꢃ%ꢍꢎ  
6
ꢏꢓ  
ꢓꢁ9-ꢅ.ꢖ/  
7ꢆꢉꢊꢇꢈꢈꢅ:ꢉꢃꢔꢎ%  
ꢒꢌꢈ"ꢉ"ꢅꢂꢇꢍ2ꢇꢔꢉꢅꢘꢎꢃꢍ2ꢄꢉ    
ꢖ%ꢇꢄ"ꢌ$$ꢅ  
7ꢆꢉꢊꢇꢈꢈꢅ=ꢃ"%ꢎ  
ꢒꢌꢈ"ꢉ"ꢅꢂꢇꢍ2ꢇꢔꢉꢅ=ꢃ"%ꢎ  
7ꢆꢉꢊꢇꢈꢈꢅ5ꢉꢄꢔ%ꢎ  
1ꢌꢌ%ꢅ5ꢉꢄꢔ%ꢎ  
1ꢌꢌ%ꢑꢊꢃꢄ%  
5ꢉꢇ"ꢅꢘꢎꢃꢍ2ꢄꢉ    
1ꢌꢌ%ꢅꢕꢄꢔꢈꢉ  
M
M
ꢀꢁꢛ-  
M
ꢛꢁ<ꢓ  
-ꢁ+ꢓ  
ꢛꢁꢏꢓ  
ꢓꢁꢛ-  
ꢀꢁꢏ-ꢅꢙ*1  
M
ꢏꢁꢓꢓ  
ꢀꢁ<-  
M
<ꢁꢏꢓ  
-ꢁ9ꢓ  
ꢛꢁ-ꢓ  
ꢓꢁꢜ-  
ꢕꢏ  
ꢕꢀ  
*
*ꢀ  
5
5ꢀ  
ꢀꢁ9-  
ꢓꢁꢓ-  
ꢛꢁꢗꢓ  
-ꢁꢓꢓ  
9ꢁꢜꢓ  
ꢓꢁ--  
ꢓꢁꢓꢜ  
ꢓꢝ  
ꢓꢁꢏ-  
<ꢝ  
ꢗꢝ  
5ꢉꢇ"ꢅ=ꢃ"%ꢎ  
(
ꢓꢁꢏꢏ  
M
ꢓꢁ+<  
#ꢜꢋꢄꢊ$  
ꢀꢁ ꢂꢃꢄꢅꢀꢅꢆꢃ !ꢇꢈꢅꢃꢄ"ꢉ#ꢅ$ꢉꢇ%!ꢊꢉꢅ&ꢇꢋꢅꢆꢇꢊꢋ'ꢅ(!%ꢅ&! %ꢅ(ꢉꢅꢈꢌꢍꢇ%ꢉ"ꢅ)ꢃ%ꢎꢃꢄꢅ%ꢎꢉꢅꢎꢇ%ꢍꢎꢉ"ꢅꢇꢊꢉꢇꢁ  
ꢏꢁ ꢐꢃ&ꢉꢄ ꢃꢌꢄ ꢅꢐꢅꢇꢄ"ꢅ*ꢀꢅ"ꢌꢅꢄꢌ%ꢅꢃꢄꢍꢈ!"ꢉꢅ&ꢌꢈ"ꢅ$ꢈꢇ ꢎꢅꢌꢊꢅꢑꢊꢌ%ꢊ! ꢃꢌꢄ ꢁꢅꢒꢌꢈ"ꢅ$ꢈꢇ ꢎꢅꢌꢊꢅꢑꢊꢌ%ꢊ! ꢃꢌꢄ ꢅ ꢎꢇꢈꢈꢅꢄꢌ%ꢅꢉ#ꢍꢉꢉ"ꢅꢓꢁꢏꢓꢅ&&ꢅꢑꢉꢊꢅ ꢃ"ꢉꢁ  
+ꢁ ꢐꢃ&ꢉꢄ ꢃꢌꢄꢃꢄꢔꢅꢇꢄ"ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢃꢄꢔꢅꢑꢉꢊꢅꢕꢖꢒ*ꢅ,ꢀꢗꢁ-ꢒꢁ  
.ꢖ/0 .ꢇ ꢃꢍꢅꢐꢃ&ꢉꢄ ꢃꢌꢄꢁꢅꢘꢎꢉꢌꢊꢉ%ꢃꢍꢇꢈꢈꢋꢅꢉ#ꢇꢍ%ꢅꢆꢇꢈ!ꢉꢅ ꢎꢌ)ꢄꢅ)ꢃ%ꢎꢌ!%ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢉ ꢁ  
ꢙ*10 ꢙꢉ$ꢉꢊꢉꢄꢍꢉꢅꢐꢃ&ꢉꢄ ꢃꢌꢄ'ꢅ! !ꢇꢈꢈꢋꢅ)ꢃ%ꢎꢌ!%ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢉ'ꢅ$ꢌꢊꢅꢃꢄ$ꢌꢊ&ꢇ%ꢃꢌꢄꢅꢑ!ꢊꢑꢌ ꢉ ꢅꢌꢄꢈꢋꢁ  
ꢒꢃꢍꢊꢌꢍꢎꢃꢑ ꢍꢎꢄꢌꢈꢌꢔꢋ ꢐꢊꢇ)ꢃꢄꢔ /ꢓꢗꢞꢓꢛꢏ.  
DS41393B-page 56  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Note: For the most current package drawings, please see the Microchip Packaging Specification located at  
http://www.microchip.com/packaging  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 57  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Note: For the most current package drawings, please see the Microchip Packaging Specification located at  
http://www.microchip.com/packaging  
DS41393B-page 58  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Note: For the most current package drawings, please see the Microchip Packaging Specification located at  
http://www.microchip.com/packaging  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 59  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
Note: For the most current package drawings, please see the Microchip Packaging Specification located at  
http://www.microchip.com/packaging  
DS41393B-page 60  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
ꢀꢁꢂꢃꢄꢅꢆꢇꢈꢉꢅꢊꢋꢌꢍꢇ%ꢕꢅꢆꢇ&ꢉꢅꢋ'ꢇ#ꢜꢇꢃꢄꢅꢆꢇꢈꢅꢍꢒꢅ(ꢄꢇꢖ)ꢃꢗꢇMꢇ*+*+ꢁꢙ,ꢇꢓꢓꢇꢛꢜꢆ ꢇ!%&#"  
#ꢜꢋꢄ$ 1ꢌꢊꢅ%ꢎꢉꢅ&ꢌ %ꢅꢍ!ꢊꢊꢉꢄ%ꢅꢑꢇꢍ2ꢇꢔꢉꢅ"ꢊꢇ)ꢃꢄꢔ 'ꢅꢑꢈꢉꢇ ꢉꢅ ꢉꢉꢅ%ꢎꢉꢅꢒꢃꢍꢊꢌꢍꢎꢃꢑꢅꢂꢇꢍ2ꢇꢔꢃꢄꢔꢅꢖꢑꢉꢍꢃ$ꢃꢍꢇ%ꢃꢌꢄꢅꢈꢌꢍꢇ%ꢉ"ꢅꢇ%ꢅ  
ꢎ%%ꢑ033)))ꢁ&ꢃꢍꢊꢌꢍꢎꢃꢑꢁꢍꢌ&3ꢑꢇꢍ2ꢇꢔꢃꢄꢔ  
D
D2  
EXPOSED  
PAD  
e
E2  
E
2
1
b
2
1
K
N
N
NOTE 1  
L
BOTTOM VIEW  
TOP VIEW  
A
A1  
A3  
4ꢄꢃ%  
ꢐꢃ&ꢉꢄ ꢃꢌꢄꢅ5ꢃ&ꢃ%  
ꢒꢚ55ꢚꢒ*ꢘ*ꢙꢖ  
67ꢒ  
ꢒꢚ6  
ꢒꢕ8  
6!&(ꢉꢊꢅꢌ$ꢅꢂꢃꢄ  
ꢂꢃ%ꢍꢎ  
7ꢆꢉꢊꢇꢈꢈꢅ:ꢉꢃꢔꢎ%  
ꢖ%ꢇꢄ"ꢌ$$ꢅ  
/ꢌꢄ%ꢇꢍ%ꢅꢘꢎꢃꢍ2ꢄꢉ    
7ꢆꢉꢊꢇꢈꢈꢅ=ꢃ"%ꢎ  
*#ꢑꢌ ꢉ"ꢅꢂꢇ"ꢅ=ꢃ"%ꢎ  
7ꢆꢉꢊꢇꢈꢈꢅ5ꢉꢄꢔ%ꢎ  
*#ꢑꢌ ꢉ"ꢅꢂꢇ"ꢅ5ꢉꢄꢔ%ꢎ  
/ꢌꢄ%ꢇꢍ%ꢅ=ꢃ"%ꢎ  
/ꢌꢄ%ꢇꢍ%ꢅ5ꢉꢄꢔ%ꢎ  
/ꢌꢄ%ꢇꢍ%ꢞ%ꢌꢞ*#ꢑꢌ ꢉ"ꢅꢂꢇ"  
6
ꢕꢀ  
ꢕ+  
*
*ꢏ  
ꢏꢓ  
ꢓꢁ-ꢓꢅ.ꢖ/  
ꢓꢁꢜꢓ  
ꢓꢁ<ꢓ  
ꢓꢁꢓꢓ  
ꢀꢁꢓꢓ  
ꢓꢁꢓ-  
ꢓꢁꢓꢏ  
ꢓꢁꢏꢓꢅꢙ*1  
ꢗꢁꢓꢓꢅ.ꢖ/  
ꢏꢁꢛꢓ  
ꢗꢁꢓꢓꢅ.ꢖ/  
ꢏꢁꢛꢓ  
ꢓꢁꢏ-  
ꢓꢁꢗꢓ  
M
ꢏꢁ9ꢓ  
ꢏꢁ<ꢓ  
ꢐꢏ  
(
5
ꢏꢁ9ꢓ  
ꢓꢁꢀ<  
ꢓꢁ+ꢓ  
ꢓꢁꢏꢓ  
ꢏꢁ<ꢓ  
ꢓꢁ+ꢓ  
ꢓꢁ-ꢓ  
M
?
#ꢜꢋꢄꢊ$  
ꢀꢁ ꢂꢃꢄꢅꢀꢅꢆꢃ !ꢇꢈꢅꢃꢄ"ꢉ#ꢅ$ꢉꢇ%!ꢊꢉꢅ&ꢇꢋꢅꢆꢇꢊꢋ'ꢅ(!%ꢅ&! %ꢅ(ꢉꢅꢈꢌꢍꢇ%ꢉ"ꢅ)ꢃ%ꢎꢃꢄꢅ%ꢎꢉꢅꢎꢇ%ꢍꢎꢉ"ꢅꢇꢊꢉꢇꢁ  
ꢏꢁ ꢂꢇꢍ2ꢇꢔꢉꢅꢃ ꢅ ꢇ)ꢅ ꢃꢄꢔ!ꢈꢇ%ꢉ"ꢁ  
+ꢁ ꢐꢃ&ꢉꢄ ꢃꢌꢄꢃꢄꢔꢅꢇꢄ"ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢃꢄꢔꢅꢑꢉꢊꢅꢕꢖꢒ*ꢅ,ꢀꢗꢁ-ꢒꢁ  
.ꢖ/0 .ꢇ ꢃꢍꢅꢐꢃ&ꢉꢄ ꢃꢌꢄꢁꢅꢘꢎꢉꢌꢊꢉ%ꢃꢍꢇꢈꢈꢋꢅꢉ#ꢇꢍ%ꢅꢆꢇꢈ!ꢉꢅ ꢎꢌ)ꢄꢅ)ꢃ%ꢎꢌ!%ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢉ ꢁ  
ꢙ*10 ꢙꢉ$ꢉꢊꢉꢄꢍꢉꢅꢐꢃ&ꢉꢄ ꢃꢌꢄ'ꢅ! !ꢇꢈꢈꢋꢅ)ꢃ%ꢎꢌ!%ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢉ'ꢅ$ꢌꢊꢅꢃꢄ$ꢌꢊ&ꢇ%ꢃꢌꢄꢅꢑ!ꢊꢑꢌ ꢉ ꢅꢌꢄꢈꢋꢁ  
ꢒꢃꢍꢊꢌꢍꢎꢃꢑ ꢍꢎꢄꢌꢈꢌꢔꢋ ꢐꢊꢇ)ꢃꢄꢔ /ꢓꢗꢞꢀꢏ9.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 61  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
#ꢜꢋꢄ$ 1ꢌꢊꢅ%ꢎꢉꢅ&ꢌ %ꢅꢍ!ꢊꢊꢉꢄ%ꢅꢑꢇꢍ2ꢇꢔꢉꢅ"ꢊꢇ)ꢃꢄꢔ 'ꢅꢑꢈꢉꢇ ꢉꢅ ꢉꢉꢅ%ꢎꢉꢅꢒꢃꢍꢊꢌꢍꢎꢃꢑꢅꢂꢇꢍ2ꢇꢔꢃꢄꢔꢅꢖꢑꢉꢍꢃ$ꢃꢍꢇ%ꢃꢌꢄꢅꢈꢌꢍꢇ%ꢉ"ꢅꢇ%ꢅ  
ꢎ%%ꢑ033)))ꢁ&ꢃꢍꢊꢌꢍꢎꢃꢑꢁꢍꢌ&3ꢑꢇꢍ2ꢇꢔꢃꢄꢔ  
DS41393B-page 62  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
APPENDIX A: DATA SHEET  
REVISION HISTORY  
Revision A (07/2009)  
Original release of this data sheet.  
Revision B (03/2012)  
Updated data sheet.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 63  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
APPENDIX B:  
Modifying, removing or adding components may  
adversely affect touch performance.  
Specific manufacturers and part numbers are provided  
only as a guide. Equivalents can be used.  
TABLE B-1:  
Label  
BILL OF MATERIALS  
Quantity Value  
Description  
Manufacturer  
Part Number  
C1  
1
10 uF Capacitor – Ceramic, 10 uF, 20%, 6.3V,  
X7R, 0603  
AVX  
06036D106MAT2A  
C2  
1
0.1 uF Capacitor – Ceramic, 0.1 uF, 10%, 16V,  
X7R, 0603  
AVX  
AVX  
NXP  
0603YC104KAT2A  
06035C103KAT2A  
PESD5V0S1BA  
C3, C4, C5(1)  
D1-D8(2)  
2-3  
4-8  
0.01 uF Capacitor – Ceramic, 0.01 uF, 10%,  
50V, X7R, 0603  
130W Diode – Bidirectional, 130W, ESD  
Protection, SOD323  
R1  
U1  
1
1
20 KResistor – 20 K, 1/10W, 5%, 0603  
Yageo America RC0603JR-0720KL  
Microchip AR1011 or AR1021  
N/A  
Touch controller IC  
Note 1: C5 is only needed for 5-wire applications.  
2: D1-D8 are for ESD protection.  
- 4-wire touch screen, use D1-D4  
- 5-wire touch screen, use D1-D5  
- 8-wire touch screen, use D1-D8  
See Section 3.8 “ESD Considerations” and Section 3.9 “Noise Considerations” for important information  
regarding the capacitance of the controller schematic hardware.  
DS41393B-page 64  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
INDEX  
Numerics  
P
4, 5, 8-Wire Sensor Selection ............................................. 12  
4-Wire Sensor ....................................................................... 7  
4-Wire Touch Sensor Interface ........................................... 12  
4-Wire Touch Sensor Interface ........................................... 12  
5-Wire Sensor ..................................................................... 10  
5-Wire Touch Sensor Interface ........................................... 13  
8-Wire Sensor ....................................................................... 9  
8-Wire Touch Sensor Interface ........................................... 14  
Packaging........................................................................... 53  
Marking................................................................. 53, 54  
Power Requirements............................................................ 3  
R
Reader Response............................................................... 68  
Register Descriptions.......................................................... 30  
Restoring Default Parameters ............................................ 29  
Revision History.................................................................. 63  
A
S
Absolute Maximum Ratings ................................................ 51  
Addressing .......................................................................... 18  
Application Notes................................................................ 45  
Applications........................................................................... 5  
AR1011/AR1021 Storing Default Calibration Values  
Sending Commands ........................................................... 35  
Sleep State ......................................................................... 20  
Special Features................................................................... 3  
SPI Bit Timing - General..................................................... 23  
SPI Communications .......................................................... 21  
SPI Hardware Interface ...................................................... 21  
SPI Pin Voltage Level Characteristics ................................ 22  
Status LED ......................................................................... 15  
to EEPROM ................................................................ 47  
AR1020 Write Conditions.................................................... 19  
B
Basics ................................................................................... 7  
Basics of Resistive Sensors.................................................. 7  
T
Terminology.......................................................................... 7  
Timing – Bit Details............................................................. 24  
Touch Modes........................................................................ 3  
Touch Report Protocol........................................................ 20  
Touch Report Protocol........................................................ 22  
Touch Reporting Protocol................................................... 27  
Touch Resolution.................................................................. 3  
Touch Sensor Support.......................................................... 3  
C
Calibration of Touch Sensor with Controller ....................... 45  
Clock Stretching.................................................................. 19  
Command Protocol ............................................................. 20  
Commands.......................................................................... 35  
Communication................................................................... 17  
Communications ................................................................... 3  
Configuration Registers ................................................ 25, 29  
Customer Change Notification Service ............................... 67  
Customer Notification Service............................................. 67  
Customer Support............................................................... 67  
U
UART Communications ...................................................... 25  
W
D
Wake Pin ............................................................................ 15  
WWW Address ................................................................... 67  
WWW, On-Line Support ....................................................... 4  
Data Flow............................................................................ 22  
Device Overview ................................................................... 5  
E
Electrical Specifications ...................................................... 51  
Errata .................................................................................... 4  
G
General ................................................................................. 7  
H
Hardware ............................................................................ 11  
I
I2C Hardware Interface....................................................... 17  
I2C Pin Voltage Level Characteristics................................. 18  
Internet Address.................................................................. 67  
M
Main Schematic .................................................................. 11  
Master Read Bit Timing ...................................................... 18  
Master Write Bit Timing....................................................... 19  
Microchip Internet Web Site................................................ 67  
N
Noise Considerations.......................................................... 15  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 65  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
NOTES:  
DS41393B-page 66  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
THE MICROCHIP WEB SITE  
CUSTOMER SUPPORT  
Microchip provides online support via our WWW site at  
www.microchip.com. This web site is used as a means  
to make files and information easily available to  
customers. Accessible by using your favorite Internet  
browser, the web site contains the following  
information:  
Users of Microchip products can receive assistance  
through several channels:  
• Distributor or Representative  
• Local Sales Office  
• Field Application Engineer (FAE)  
Technical Support  
Product Support – Data sheets and errata,  
application notes and sample programs, design  
resources, user’s guides and hardware support  
documents, latest software releases and archived  
software  
• Development Systems Information Line  
Customers  
should  
contact  
their  
distributor,  
representative or field application engineer (FAE) for  
support. Local sales offices are also available to help  
customers. A listing of sales offices and locations is  
included in the back of this document.  
General Technical Support – Frequently Asked  
Questions (FAQ), technical support requests,  
online discussion groups, Microchip consultant  
program member listing  
Technical support is available through the web site  
at: http://microchip.com/support  
Business of Microchip – Product selector and  
ordering guides, latest Microchip press releases,  
listing of seminars and events, listings of  
Microchip sales offices, distributors and factory  
representatives  
CUSTOMER CHANGE NOTIFICATION  
SERVICE  
Microchip’s customer notification service helps keep  
customers current on Microchip products. Subscribers  
will receive e-mail notification whenever there are  
changes, updates, revisions or errata related to a  
specified product family or development tool of interest.  
To register, access the Microchip web site at  
www.microchip.com. Under “Support”, click on  
“Customer Change Notification” and follow the  
registration instructions.  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 67  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
READER RESPONSE  
It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip  
product. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our  
documentation can better serve you, please FAX your comments to the Technical Publications Manager at  
(480) 792-4150.  
Please list the following information, and use this outline to provide us with your comments about this document.  
TO:  
RE:  
Technical Publications Manager  
Reader Response  
Total Pages Sent ________  
From:  
Name  
Company  
Address  
City / State / ZIP / Country  
Telephone: (_______) _________ - _________  
FAX: (______) _________ - _________  
Literature Number: DS41393B  
Application (optional):  
Would you like a reply?  
Y
N
Device: AR1000 Series Resistive Touch Screen Controller  
Questions:  
1. What are the best features of this document?  
2. How does this document meet your hardware and software development needs?  
3. Do you find the organization of this document easy to follow? If not, why?  
4. What additions to the document do you think would enhance the structure and subject?  
5. What deletions from the document could be made without affecting the overall usefulness?  
6. Is there any incorrect or misleading information (what and where)?  
7. How would you improve this document?  
DS41393B-page 68  
Preliminary  
2009-2012 Microchip Technology Inc.  
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER  
NOTES:  
2009-2012 Microchip Technology Inc.  
Preliminary  
DS41393B-page 69  
Worldwide Sales and Service  
AMERICAS  
ASIA/PACIFIC  
ASIA/PACIFIC  
EUROPE  
Corporate Office  
2355 West Chandler Blvd.  
Chandler, AZ 85224-6199  
Tel: 480-792-7200  
Fax: 480-792-7277  
Technical Support:  
http://www.microchip.com/  
support  
Asia Pacific Office  
Suites 3707-14, 37th Floor  
Tower 6, The Gateway  
Harbour City, Kowloon  
Hong Kong  
Tel: 852-2401-1200  
Fax: 852-2401-3431  
India - Bangalore  
Tel: 91-80-3090-4444  
Fax: 91-80-3090-4123  
Austria - Wels  
Tel: 43-7242-2244-39  
Fax: 43-7242-2244-393  
Denmark - Copenhagen  
Tel: 45-4450-2828  
Fax: 45-4485-2829  
India - New Delhi  
Tel: 91-11-4160-8631  
Fax: 91-11-4160-8632  
France - Paris  
Tel: 33-1-69-53-63-20  
Fax: 33-1-69-30-90-79  
India - Pune  
Tel: 91-20-2566-1512  
Fax: 91-20-2566-1513  
Australia - Sydney  
Tel: 61-2-9868-6733  
Fax: 61-2-9868-6755  
Web Address:  
www.microchip.com  
Germany - Munich  
Tel: 49-89-627-144-0  
Fax: 49-89-627-144-44  
Japan - Osaka  
Tel: 81-66-152-7160  
Fax: 81-66-152-9310  
Atlanta  
Duluth, GA  
Tel: 678-957-9614  
Fax: 678-957-1455  
China - Beijing  
Tel: 86-10-8569-7000  
Fax: 86-10-8528-2104  
Italy - Milan  
Tel: 39-0331-742611  
Fax: 39-0331-466781  
Japan - Yokohama  
Tel: 81-45-471- 6166  
Fax: 81-45-471-6122  
China - Chengdu  
Tel: 86-28-8665-5511  
Fax: 86-28-8665-7889  
Boston  
Westborough, MA  
Tel: 774-760-0087  
Fax: 774-760-0088  
Netherlands - Drunen  
Tel: 31-416-690399  
Fax: 31-416-690340  
Korea - Daegu  
Tel: 82-53-744-4301  
Fax: 82-53-744-4302  
China - Chongqing  
Tel: 86-23-8980-9588  
Fax: 86-23-8980-9500  
Chicago  
Itasca, IL  
Tel: 630-285-0071  
Fax: 630-285-0075  
Spain - Madrid  
Tel: 34-91-708-08-90  
Fax: 34-91-708-08-91  
Korea - Seoul  
China - Hangzhou  
Tel: 86-571-2819-3187  
Fax: 86-571-2819-3189  
Tel: 82-2-554-7200  
Fax: 82-2-558-5932 or  
82-2-558-5934  
UK - Wokingham  
Tel: 44-118-921-5869  
Fax: 44-118-921-5820  
Cleveland  
Independence, OH  
Tel: 216-447-0464  
Fax: 216-447-0643  
China - Hong Kong SAR  
Tel: 852-2401-1200  
Fax: 852-2401-3431  
Malaysia - Kuala Lumpur  
Tel: 60-3-6201-9857  
Fax: 60-3-6201-9859  
Dallas  
Addison, TX  
Tel: 972-818-7423  
Fax: 972-818-2924  
China - Nanjing  
Tel: 86-25-8473-2460  
Fax: 86-25-8473-2470  
Malaysia - Penang  
Tel: 60-4-227-8870  
Fax: 60-4-227-4068  
China - Qingdao  
Tel: 86-532-8502-7355  
Fax: 86-532-8502-7205  
Philippines - Manila  
Tel: 63-2-634-9065  
Fax: 63-2-634-9069  
Detroit  
Farmington Hills, MI  
Tel: 248-538-2250  
Fax: 248-538-2260  
China - Shanghai  
Tel: 86-21-5407-5533  
Fax: 86-21-5407-5066  
Singapore  
Tel: 65-6334-8870  
Fax: 65-6334-8850  
Indianapolis  
Noblesville, IN  
Tel: 317-773-8323  
Fax: 317-773-5453  
China - Shenyang  
Tel: 86-24-2334-2829  
Fax: 86-24-2334-2393  
Taiwan - Hsin Chu  
Tel: 886-3-5778-366  
Fax: 886-3-5770-955  
Los Angeles  
China - Shenzhen  
Tel: 86-755-8203-2660  
Fax: 86-755-8203-1760  
Taiwan - Kaohsiung  
Tel: 886-7-536-4818  
Fax: 886-7-330-9305  
Mission Viejo, CA  
Tel: 949-462-9523  
Fax: 949-462-9608  
China - Wuhan  
Tel: 86-27-5980-5300  
Fax: 86-27-5980-5118  
Taiwan - Taipei  
Tel: 886-2-2500-6610  
Fax: 886-2-2508-0102  
Santa Clara  
Santa Clara, CA  
Tel: 408-961-6444  
Fax: 408-961-6445  
China - Xian  
Tel: 86-29-8833-7252  
Fax: 86-29-8833-7256  
Thailand - Bangkok  
Tel: 66-2-694-1351  
Fax: 66-2-694-1350  
Toronto  
Mississauga, Ontario,  
Canada  
China - Xiamen  
Tel: 905-673-0699  
Fax: 905-673-6509  
Tel: 86-592-2388138  
Fax: 86-592-2388130  
China - Zhuhai  
Tel: 86-756-3210040  
Fax: 86-756-3210049  
11/29/11  
DS41393B-page 70  
Preliminary  
2009-2012 Microchip Technology Inc.  

相关型号:

AR1021-I/SO

Resistive Touch Screen Controller
MICROCHIP

AR1021-I/SS

Resistive Touch Screen Controller
MICROCHIP

AR1021T-I/ML

Resistive Touch Screen Controller
MICROCHIP

AR1021T-I/SO

Resistive Touch Screen Controller
MICROCHIP

AR1021T-I/SS

Resistive Touch Screen Controller
MICROCHIP

AR1096

Amplifier. Other
ETC

AR10D23

Transponder RX antenna
SUMIDA

AR10KL.25XX

1-13/16 Diameter 10-Turn Wirewound Precision Potentiometer
TTELEC

AR10KT2L.25XX

1-13/16 Diameter 10-Turn Wirewound Precision Potentiometer
TTELEC

AR10L.25XX

1-13/16 Diameter 10-Turn Wirewound Precision Potentiometer
TTELEC

AR10T

HORN SPEAKER METAL 10W IP65
ETC

AR11-3664

Single Port RJ45 Connector
ALLIED