AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 Resistive USB and RS-232
Touch Screen Controller
Data Sheet
2011 Microchip Technology Inc.
DS41606B
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
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.
DS41606B-page 2
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
PIC32 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.
© 2011, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-61341-833-8
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.
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232
TOUCH SCREEN CONTROLLER
AR1100 Resistive USB and RS-232 Touch Screen Controller
Special Features:
• RoHS Compliant
• Power-saving Sleep mode
• Industrial Temperature Range
• Built-in Drift Compensation Algorithm
• 96 Bytes of User EEPROM
Power Requirements:
• Operating Voltage: 3.3-5.0V +/- 5%
• Standby Current:
- <10 uA (UART)
- <325 uA (USB)
• Operating Current:
- <17 mA (no touch)
- <25 mA (touch) (see Note below)
Note: Results vary slightly with sensor.
Touch Modes:
• Off, Stream, Down and Up
Touch Sensor Support:
• 4-wire, 5-wire and 8-wire Analog Resistive
• Lead-to-Lead Resistance: 50-2000 Ohm
• Layer-to-Layer Capacitance: 0-0.5 uF
Touch Resolution:
• 10-bit Resolution (maximum)
Touch Coordinate Report Rate:
• 150 Reports Per Second (typ.) (see Note below)
Note:
Actual report rate is dynamically/automat-
ically maximized according to the electri-
cal characteristics of the sensor in use.
Communication:
• Automatic Detection/Selection
• UART, 9600 BAUD
• USB V2.0 Compliant, Full Speed
- HID-GENERIC
- HID-MOUSE
- HID-DIGITIZER
Package Types
The device will be offered in the following packages:
• 20-Lead QFN (5 x 5 mm)
• 20-Lead SOIC
• 20-Lead SSOP
2011 Microchip Technology Inc.
DS41606B-page 3
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 5
2.0 Implementation – Quick Start ....................................................................................................................................................... 7
3.0 Hardware...................................................................................................................................................................................... 9
4.0 Communication) ......................................................................................................................................................................... 13
5.0 Commands ................................................................................................................................................................................. 21
6.0 Configuration Registers .............................................................................................................................................................. 25
7.0 Operation.................................................................................................................................................................................... 29
8.0 Boot Loader................................................................................................................................................................................ 33
9.0 EEPROM Map............................................................................................................................................................................ 37
10.0 Electrical Specifications.............................................................................................................................................................. 39
11.0 Packaging Information................................................................................................................................................................ 41
Appendix A: Revision History............................................................................................................................................................... 51
Appendix B: Device Differences........................................................................................................................................................... 51
Index .................................................................................................................................................................................................... 53
The Microchip Web Site ....................................................................................................................................................................... 55
Customer Change Notification Service ................................................................................................................................................ 55
Customer Support ................................................................................................................................................................................ 55
Reader Response ................................................................................................................................................................................ 55
Product Identification System............................................................................................................................................................... 57
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.
DS41606B-page 4
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
1.0 OVERVIEW
The Microchip mTouchTM AR1100 Analog Resistive
USB and RS-232 Touch Screen Controller represents
a feature-rich, fully-integrated universal touch screen
controller solution. The AR1100 automatically selects
between USB and RS-232 communication protocols,
as well as supports 4, 5 or 8-wire analog resistive touch
screens from any of a variety of touch screen
manufacturers. The AR1100 dynamically adapts to the
various touch screen electrical characteristics such as
sensitivity, contact resistance, and capacitance to
provide optimal performance with minimal design time.
Building on the AR1000 series, the new AR1100 offers
customers an easy-to-integrate solution for low-cost,
high-performing resistive touch with the advantages of
USB plug and play, support for USB mouse or digitizer,
advanced touch response and accuracy, field flash
updatability, and free drivers for most operating sys-
tems to enable low risk designs for a wide variety of
touch sensing requirements.
The AR1100 supports large displays like industrial con-
trols, self-service kiosks, and POS terminals, as well as
smaller tablet displays, handheld consumer devices,
and medical devices.
FIGURE 1-1:
BLOCK DIAGRAM
Resistive touch provides the advantages of easy
integration, low total system cost and acceptance of
finger, glove or stylus input, and USB communication is
the industry standard for attaching peripherals to a
computer. The AR1100 is an easy-to-integrate touch
screen controller that meets all of these needs in a
single-chip solution or production ready-board product.
The device comes with free drivers for most major
operating systems, making it easy for designers to
quickly create low-risk touch interface solutions.
1.1 Applications
The AR1100 is suitable for any application that requires
fast, accurate and reliable integration of touch –
including, but not limited to:
• Mobile communication devices
• Personal Digital Assistants (PDA)
• Global Positioning Systems (GPS)
• Touch Screen Monitors
• KIOSK
• Media Players
• Portable Instruments
• Point of Sale Terminals
2011 Microchip Technology Inc.
DS41606B-page 5
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 6
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
2.0 IMPLEMENTATION – QUICK
START
The AR1100 is designed to be a fully-functioning touch
controller on power-up – no configuration is necessary
and only minimal hardware support is needed to create
a universal controller board (refer to simplified
schematic).
The hard-coded defaults for the operational
parameters are suitable for all but the most unique
circumstances. A jumper on the MODE pin easily
selects the sensor type (5-Wire or 4/8-Wire) and the
Communication mode (USB or UART) is automatically
detected and selected by the device. If USB is
detected, the AR1100 automatically defaults to a
HID-MOUSE, compatible with intrinsic drivers of
standard operating systems. Any desired modifications
to either the operating parameters or USB device type
can be easily saved to internal nonvolatile memory to
override the defaults.
2011 Microchip Technology Inc.
DS41606B-page 7
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 8
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
3.0 HARDWARE
3.1 Pin Assignments
TABLE 3-1: PIN ASSIGNMENTS
Pin
SSOP, SOIC
1
2
3
4
QFN
18
19
20
1
52
63
74
85
96
10 7
11 8
12 9
13 10
14 11
15 12
16 13
17 14
18 15
19 16
20 17
Function
VDD
OSC1
OSC2
MODE
LED
(Y+)
X+
SY-
SX+
UART-TX
WAKE
UART-RX
SX-
X-
Y+(SY+)
Y-
VUSB
USB-D-
USB-D+
VSS
Description/Comments
Power
Oscillator
Oscillator
GND: 5-Wire
Open: 4-/8-Wire
Led control
Sensor connection
4W: n/a
5W: n/a
8W: Y+
Sensor connection
Sensor connection
Sensor connection
UART Transmit Data
Wake pin
UART Receive Data
Sensor connection
4W: n/a
5W: WSX-
8W: SX-
Sensor connection
Sensor connection
4W: Y+
5W: Y+
8W: SY+
Sensor connection
USB Internal Voltage Reference
USB data I/O
USB data I/O
GND
2011 Microchip Technology Inc.
DS41606B-page 9
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
3.2 Schematic
A simplified schematic is provided below. A detailed
schematic and BOM is given in FIGURE B-1: “Sche-
matic” and FIGURE B-2: “Bill of Materials”.
FIGURE 3-1:
SIMPLIFIED SCHEMATIC
Note: Unused SENSOR pins should be
grounded.
3.3 Sensor Attachment
AR1100 connections to the various sensor types are
described graphically in Figure 3-2.
FIGURE 3-2:
SENSOR EQUIVALENT CIRCUIT MODELS
DS41606B-page 10
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
3.4 ESD Considerations
Suggested ESD protection is shown on the reference
schematic (See FIGURE B-1: “Schematic”).
Additional/alternate ESD countermeasures may be
employed to meet application-specific requirements.
Test to ensure the selected ESD protection does not
degrade touch performance.
Note:
ESD protection diodes are recommended
for all active sensor lines but care should
be taken to minimize capacitance. As an
example,
PESD5V0S1BA
is
recommended and used on reference
designs due to its nominally-low 35 pF.
3.5 Noise Considerations
Touch sensor filtering capacitors are included in the
reference design schematic (See FIGURE B-1:
“Schematic”).
Note:
Changing the value of the sensor filter
capacitors may adversely affect touch
performance.
2011 Microchip Technology Inc.
DS41606B-page 11
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 12
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.0 COMMUNICATION
4.1 Physical
The AR1100 supports UART and USB communication
and will automatically detect the active mode between
the two. Additionally, USB mode will enumerate as one
of three ‘devices’. The default USB device type is
defined (and can be changed) by the configuration
command and is saved in nonvolatile memory. The fac-
tory default is HID-MOUSE.
1. UART/Serial
2. HID-GENERIC
3. HID-MOUSE
4. HID-DIGITIZER
4.1.1 MODE DETECT/SELECT
To support auto-detection – the firmware and hardware
resources for UART and USB are both functional at
power-up until the active mode is determined by one of
the following events.
1. USB successfully enumerates – result: USB is
active
2. Valid communication is received via UART –
result: UART is active
3. The Sleep timer has expired and USB has not
yet enumerated – result: UART is active (by
default)
Note:
Immediately after Reset, the AR1100 will
not attempt to ‘Sleep’ for at least 45
seconds to allow time for USB
enumeration – no matter the setting of the
Sleep timer parameter.
Once the active communication mode is determined,
the ‘inactive’ mode is decommissioned to minimize
power. The active communication mode will remain in
force until the AR1100 is reset.
4.1.2 UART MODE
In UART mode, the AR1100 supports a simple, 2-wire
(transmit/receive) asynchronous serial communication.
The device does not support hardware handshaking
but does employ a data protocol handshake described
in the device command section. The host should be
configured for 9600 BAUD, 8 data bits and 1 Stop bit.
2011 Microchip Technology Inc.
DS41606B-page 13
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.1.3 USB MODE
The USB can enumerate as one of three ‘devices’ (or
device types) identified by a byte in EEPROM. See
Table 4-1.
TABLE 4-1: USB IDs
NAME
DESC
HID-GENERIC
HID-MOUSE
HID-DIGITIZER
Proprietary (AR1000-style)
Mouse, absolute coordinates 0-4095
Single-input digitizer
The HID-MOUSE and HID-DIGITIZER types are
recognized by many host operating systems and will
provide cursor movement with a touch.
The HID-GENERIC type is a proprietary style, which
would require a custom software driver to support.
The controller defaults to the HID-MOUSE device type,
unless it is commanded to enumerate as one of the
other supported types.
Once enumerated, the USB device can be
signaled/commanded to re-enumerate as the same
device or to one of the other two. In processing the
command, the AR1100 writes the desired USB device
type to EEPROM prior to detaching from the bus and
executing a Reset. The SET_FEATURE control transfer
or a WRITE standard data transfer (via the Interrupt
end point) is used to convey the command (described
in Section 5.0, Commands).
CLASS
HID
HID
HID
VENDOR
ID
x04D8
x04D8
x04D8
PRODUCT
ID
x0C01
x0C02
x0C03
SPEED
FULL
FULL
FULL
Note: The HID-MOUSE requires SET_FEATURE
and does not support a data WRITE.
4.2 Data Protocol
Data protocol utilizes multi-byte packet transfers in two
categories/formats:
1. Touch reports
2. Command packets
4.2.1 TOUCH REPORTS
Touch reports always originate from the AR1100 and
are transmitted in response to touch detection. The
format of the touch report is mode-dependent.
The measurement resolution for touch coordinates is
10-bit. The measured values are shifted (multiplied by
4) and reported in a 12-bit format. In the reporting
protocol, the Least Significant coordinate bits X1:X0
and Y1:Y0 will be zeros. The resulting full-scale range
for reported touch coordinates is 0 to 4095.
4.2.1.1 Mode: UART, HID-GENERIC
The ‘standard’, 5-byte touch report is formatted as in
Table 4-2:
DS41606B-page 14
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
TABLE 4-2: TOUCH REPORT FORMAT – GENERIC
BYTE
BIT
7 6 5 4 3 21 0
1 1 R R RRRR P
2 0 X6 X5 X4 X3 X2 X1 X0
3 0 0 0 X11 X10 X9 X8 X7
4 0 Y6 Y5 Y4 Y3 Y2 Y1 Y0
5 0 0 0 Y11 Y10 Y9 Y8 Y7
P Pen state - 1: Pen down - 0: Pen up
R (Reserved)
X X ordinate of touch location (12 bits)
Y Y ordinate of touch location (12 bits)
Up to three touch reports are sent in response to each
touch ‘event’ (events are defined as: pen down, pen up
and pen move). A behavior is defined per event by the
‘Touch mode’ configuration parameter and described in
Table 4-3 below.
TABLE 4-3: TOUCH MODE OPTIONS – GENERIC
MODE
SUPPORTED EVENT
PD PU PM
BEHAVIOR
0
1
2
3
4
5
PD
PU
PM
Report
X
X
X
X
X
X
Pen down
Pen up
Pen move
Touch report
X
X
X
X
X
X
X NO REPORT
X REPORT (P=0)
X REPORT (P=1)
X REPORT (P=1), REPORT (P=0)
REPORT (P=0), REPORT (P=1), REPORT (P=0)
REPORT (P=0), REPORT (P=1)
2011 Microchip Technology Inc.
DS41606B-page 15
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.2.1.2 Mode: HID-MOUSE
Touch report format:
TABLE 4-4: TOUCH REPORT FORMAT – MOUSE
BYTE
BIT
7 6 5 4 3 21
1 0 0 0 0 0 B3 B2
2 X7 X6 X5 X4 X3 X2 X1
3 0 0 0 0 X11 X10 X9
4 Y7 Y6 Y5 Y4 Y3 Y2 Y1
5 0 0 0 0 Y11 Y10 Y9
B1 Button 1 depressed
B2 Button 2 depressed
B3 Button 3 depressed
X X ordinate of touch location (12 bits)
Y X ordinate of touch location (12 bits)
0
B1
X0
X8
Y0
Y8
DS41606B-page 16
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.2.1.3 Mode: HID-DIGITIZER
Touch report format:
TABLE 4-5: TOUCH REPORT FORMAT – DIGITIZER
BYTE
BIT
7 6 5 4 3 21
1 0 0 0 0 0 0P
2 0 0 0 0 0 00
3 X7 X6 X5 X4 X3 X2 X1
4 0 0 0 0 X11 X10 X9
5 Y7 Y6 Y5 Y4 Y3 Y2 Y1
6 0 0 0 0 Y11 Y10 Y9
T Tip switch
P Proximity (in range) – always 1
X X ordinate of touch location (12 bits)
Y X ordinate of touch location (12 bits)
For flexibility, the value and behavior of the ‘tip switch’
data entity (“T”) and touch reporting react to and is
defined by the ‘Touch mode’ parameter (similar to ‘pen
state’ bit in HID-GENERIC or UART).
0
T
0
X0
X8
Y0
Y8
TABLE 4-6:
MODE
0
1
2
3
4
5
PD
PU
PM
Report
TOUCH MODE OPTIONS – DIGITIZER
SUPPORTED EVENT
PD PU PM
BEHAVIOR
X
X
X
X
X
X
Pen down
Pen up
Pen move
Touch report
X
X
X
X
X
X
X NO REPORT
X REPORT (T=0)
X REPORT (T=1)
X REPORT (T=1), REPORT (T=0)
REPORT (T=0), REPORT (T=1), REPORT (T=0)
REPORT (T=0), REPORT (T=1)
4.2.2 COMMAND PACKETS
PACKETs are used for all communications, other than
touch reports (i.e., configuration/control). COMMAND
packets (issued by the host) and RESPONSE packets
(issued by the device) have identical framework but dif-
fer slightly in format, as described below. In standard
operation, communication is initiated by the host then
acknowledged by the device. In some diagnostic sce-
narios (not discussed here) – a COMMAND packet
does not necessarily dictate a response from the
device and, in other cases, a RESPONSE packet may
be issued by the device unsolicited.
2011 Microchip Technology Inc.
DS41606B-page 17
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.2.2.1 Construction
GENERAL
The generic framework for all packets (Figure 4-1) is
comprised of a SYNC byte, a SIZE byte and a DATA
section. The DATA section has a maximum size of 255
total bytes.
FIGURE 4-1:
PACKET FORMAT –
GENERAL
SYNC
SIZE
DATA
0x55
N
D[1]
D[N]
COMMAND
A COMMAND packet has a minimum of 3 bytes
defined as SYNC, SIZE and CMND. The DATA section
is command-dependant and can include up to 254
associated data bytes (D[1] – D[N]). See Figure 4-2.
FIGURE 4-2:
PACKET FORMAT – COMMAND
SYNC
SIZE
0x55
N+1 CMND
DATA
D[1]
D[N]
RESPONSE
A RESPONSE packet has a minimum of 4 bytes
defined as SYNC, SIZE, STATUS and CMND. As with
the COMMAND packet, the RESPONSE packet is
command-dependant and can include up to 253 asso-
ciated data bytes. In cases where the RESPONSE
packet is in direct response to a COMMAND packet,
the CMND byte is the same in both.
FIGURE 4-3:
PACKET FORMAT – RESPONSE
SYNC
SIZE
DATA
0x55
N+2 STATUS CMND
D[1]
D[N]
4.2.2.2 Mode: UART
In UART communication mode a complete COMMAND
packet must be delivered before the packet ‘time-out’
timer expires (~250 ms). A packet ‘time out’ will cause
any partial packet to be discarded and the packet pars-
ing state controller to reset. Using this mechanism, the
host can always ensure (re-establish) ‘SYNC’ by paus-
ing for 250+ ms before sending another packet.
4.2.2.3 Mode: USB
Typically, a packet arrives (and is delivered) in a single,
64-byte (max.) USB buffer. Theoretically, a COMMAND
packet can span multiple, physical USB buffers but will
be subject to the packet time-out criteria described in
the UART section. A RESPONSE packet will always be
delivered in a single buffer and a buffer will never
contain more than one.
DS41606B-page 18
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.2.2.4 Mode Capabilities
Only two of the four AR1100 communication modes,
UART and HID-GENERIC, support ‘low-level’
operations such as:
1. Configuration
2. Calibration
3. Boot loading (field re-programming)
The remaining two communication modes,
HID-MOUSE and HID-DIGITIZER, only support output
of TOUCH REPORT(s) and only receive (respond to)
mode change command(s). They can be supported by
intrinsic operating system driver(s). To configure, cali-
brate and/or reprogram these two devices, the host
must cause them to re-enumerate as HID-GENERIC.
Once the low-level operations are complete, the host
can then re-configure back to the desired device.
2011 Microchip Technology Inc.
DS41606B-page 19
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 20
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
5.0 COMMANDS
In normal operation, the AR1100 automatically returns
‘touch reports’ in response to a touch – no ‘prompting’
is required from the host. The following command set
can be used to configure the parameters used to
‘fine-tune’ the operation. To prevent touch reports from
interfering with these commands, it is recommended
that TOUCH_DISABLE be executed prior to any other
command(s) and the TOUCH_ENABLE command be
used as the last step to return the AR1100 to normal
operation.
5.1 Summary
Table 5-1 summarizes the standard command set.
TABLE 5-1: COMMAND SUMMARY
CMND
NAME
0x12
0x13
0x14
0x20
0x21
0x28
0x29
0x2B
0x23
TOUCH_ENABLE
TOUCH_DISABLE
CALIBRATE
REG_READ
REG_WRITE
EE_READ
EE_WRITE
EE_READ_PARAMS
EE_WRITE_PARAMS
Table 5-2 summarizes the STATUS byte in the
RESPONSE packet.
TABLE 5-2: STATUS SUMMARY
STATUS
0x00
0x01
0x04
0x05
0xFC
NAME
OK
UNRECOGNIZED
TIMEOUT
EEPARAMS_ERR
CAL_CANCEL
DESCRIPTION
Enable TOUCH reporting
Disable TOUCH reporting
Execute Calibrate routine
Read register(s)
Write register(s)
Read EE location(s)
Write EE location(s)
Read parameter set (from EE to RAM)
Write parameter set (from RAM to EE)
DESCRIPTION
No error
Unrecognized command
Packet time out
Error reading EEPROM parameters
Calibration sequence cancelled
2011 Microchip Technology Inc.
DS41606B-page 21
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
5.2 Command: TOUCH_ENABLE
Enable touch reporting.
COMMAND PACKET:
TABLE 5-3: COMMAND: TOUCH_ENABLE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x12 COMMAND
RESPONSE PACKET:
TABLE 5-4: RESPONSE: TOUCH_ENABLE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x02 SIZE
3 STATUS STATUS
4 0x12 COMMAND
5.3 Command: TOUCH_DISABLE
Disable touch reporting.
COMMAND PACKET:
TABLE 5-5: COMMAND: TOUCH_DISABLE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x13 COMMAND
RESPONSE PACKET:
TABLE 5-6: RESPONSE: TOUCH_DISABLE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x02 SIZE
3 STATUS STATUS
4 0x13 COMMAND
5.4 Command: CALIBRATE
The CALIBRATE command initiates the
controller-based calibration sequence. A RESPONSE
packet is returned for each calibration point touched.
COMMAND PACKET
TABLE 5-7: COMMAND: CALIBRATE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x02 BYTE COUNT
3 0x14 COMMAND
4 TYPE 0x01: 4-Point – Full interpola-
tion
0x02: 9-Point
0x03: 25-Point
0x04: 4-Point (AR1000 style)
RESPONSE PACKET (for each calibration point
touched, then released):
TABLE 5-8: RESPONSE: CALIBRATE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x02 SIZE
3 STATUS STATUS
4 0x14 COMMAND
5.5 Command: REG_READ
Read one or more operational registers.
COMMAND PACKET:
TABLE 5-9: COMMAND: REG_READ
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x04 SIZE
3 0x20 COMMAND
4 0x00 REGISTER ADDRESS (MSB)
5 ADR REGISTER ADDRESS (LSB)
6 N NUMBER OF BYTES TO READ
RESPONSE PACKET:
TABLE 5-10: RESPONSE: REG-READ
BYTE#
VALUE
DESCRIPTION
1
0x55
SYNC
2 N+2 SIZE
3 STATUS STATUS
4
0x20
COMMAND
5 REG[ADR] REGISTER VALUE
... ... REGISTER VALUE(S)
4+N REG[ADR+N-1] REGISTER VALUE
DS41606B-page 22
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
5.6 Command: REG_WRITE
Write one or more operational registers.
COMMAND PACKET:
TABLE 5-11: COMMAND: REG_WRITE
BYTE#
VALUE
DESCRIPTION
1
0x55
SYNC
2 N+2 SIZE (N = # of REGS to
WRITE)
3
0x21
COMMAND
4
0x00
REGISTER ADDRESS
(MSB)
5
ADR
REGISTER ADDRESS
(LSB)
6 REG[ADR] REGISTER VALUE
... ... REGISTER VALUE(S)
5+N REG[ADR+N-1] REGISTER VALUE
RESPONSE PACKET:
TABLE 5-12: RESPONSE: REG_WRITE
BYTE#
VALUE
DESCRIPTION
1
0x55
SYNC
2
0x02
SIZE
3 STATUS STATUS
4
0x21
COMMAND
5.7 Command: EE_READ
Read one or more bytes from EEPROM.
COMMAND PACKET:
TABLE 5-13: COMMAND: EE_READ
BYTE#
VALUE
DESCRIPTION
1
0x55
SYNC
2
0x04
SIZE
3
0x28
COMMAND
4
0x00
EE ADDRESS (MSB)
5
ADR
EE ADDRESS (LSB)
6 N Number of bytes to read
RESPONSE PACKET:
TABLE 5-14: RESPONSE: EE_READ
BYTE#
VALUE
DESCRIPTION
1
0x55
SYNC
2 N+2 SIZE (N = # of BYTES to
WRITE)
3 STATUS STATUS
4
0x28
COMMAND
5 EE[ADR] EE VALUE
... ... EE VALUE VALUE(S)
4+N EE[ADR+N-1] EE VALUE
5.8 Command: EE_WRITE
Write one or more bytes to EEPROM.
COMMAND PACKET:
TABLE 5-15: COMMAND: EE_WRITE
BYTE#
VALUE
DESCRIPTION
1
0x55
SYNC
2 4+N SIZE (N = # of REGS to
WRITE)
3
0x29
COMMAND
4
0x00
EE ADDRESS (MSB)
5
ADR
EE ADDRESS (LSB)
6 EE[ADR] EE VALUE
... ... EE VALUE(S)
5+N EE[ADR+N-1] EE VALUE
RESPONSE PACKET:
TABLE 5-16: RESPONSE: EE_WRITE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 2 SIZE
3 STATUS STATUS
4 0x29 COMMAND
2011 Microchip Technology Inc.
DS41606B-page 23
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
5.9 Command: EE_READ_PARAMS
Read entire set of operational parameters from
EEPROM to RAM.
COMMAND PACKET:
TABLE 5-17: COMMAND: EE_READ_PARAMS
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x23 COMMAND
RESPONSE PACKET:
TABLE 5-18: RESPONSE:
EE_READ_PARAMS
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 2 SIZE
3 STATUS STATUS
4 0x23 COMMAND
5.10 Command: EE_WRITE_PARAMS
Write entire set of operational parameters to EEPROM
from RAM.
COMMAND PACKET:
TABLE 5-19: COMMAND:
EE_WRITE_PARAMS
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x2B COMMAND
RESPONSE PACKET:
TABLE 5-20: RESPONSE:
EE_WRITE_PARAMS
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 2 SIZE
3 STATUS STATUS
4 0x2B COMMAND
5.11 Command: USB_MODE_GENERIC
Set default USB mode (device type) to
“HID-GENERIC”. Mode HID-GENERIC is required for
low-level configuration commands, calibration and boot
load operations. No RESPONSE packet is returned.
COMMAND PACKET:
TABLE 5-21: COMMAND:
USB_MODE_GENERIC
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x70 COMMAND
RESPONSE PACKET:
None.
5.12 Command: USB_MODE_MOUSE
Set default USB mode (device type) to ‘HID-MOUSE’.
COMMAND PACKET:
TABLE 5-22: COMMAND: USB_MODE_MOUSE
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x71 COMMAND
RESPONSE PACKET:
None.
5.13 Command: USB_MODE_DIGITIZER
Set default USB mode (device type) to ‘HID-DIGI-
TIZER’.
COMMAND PACKET:
TABLE 5-23: COMMAND:
USB_MODE_DIGITIZER
BYTE# VALUE
DESCRIPTION
1 0x55 SYNC
2 0x01 SIZE
3 0x72 COMMAND
RESPONSE PACKET:
None.
DS41606B-page 24
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
6.0 CONFIGURATION REGISTERS
TABLE 6-1: CONFIGURATION REGISTER SUMMARY
ADDR
NAME
DECRIPTION
7 6 5 4 3 2 1 0 DFLT
0x00 RisetimeCapTime- *170 usec
out
Value of: 0-255
0x18
0x01 RisetimeQuick
*10 usec
Value of: 0-255
0x02
0x02 TouchThreshold 8-bit ADC –
touch_check()
Value of: 0-255
0x80
0x03 SensitivityFilter 8-bit ADC
Value of: 0-255
0x04
0x04 SamplingFast
# of ADC samples/touch
to average
Value of: 1, 2, 4, 8, 16, 32, 64, 128
0x04
0x05 SamplingSlow
# of ADC samples/touch
to average
Value of: 1, 2, 4, 8, 16, 32, 64, 128
0x08
0x06 AccuracyFilterFast # of touch positions to
average
Value of: 1-8
0x08
0x07 AccuracyFilter-
Slow
# of touch positions to
average
Value of: 1-8
0x08
0x08 SpeedThreshold 8-bit ADC (raw touch
coordinates)
Value of: 0-255
0x03
0x09 DitherFilter
size of anti-dithering win-
dow 1/4096 of sensor
dim.
Value of: 0-255
0x00
0x0A SleepDelay
*250 msec
Value of: 0-255
0x00
0x0B PenUpDelay
touch process loop count
Value of: 0-255
0x02
0x0C TouchMode
(Note 3)
PD2 PD1 PD0 PM1 PM0 PU2 PU1 PU0 0xB1
0x0D TouchOptions
(Note 1)
TEN VCF — C DRT — 48W CALE 0x89
0x0E CalibrationInset
2x % sensor dimension -
units: 1/256 (e.g.
64=25%)
Value of: 1-128
0x40
0x0F PenStateReport- *170 usec
Delay
Value of: 0-255
0x04
0x10 Reserved
— 0x00
0x11 TouchReportDelay *0.5 msec
Value of: 0-255
0x00
0x12 RisetimeDefault *21 usec
Value of: 0-255
0x80
0x13
RisetimeModifier
(value-128) * 10 usec
(i.e., 128 = 0, 127 = -1,
129 = +10)
Value of: 0-255
0x80
0x14 Status
(Note 2)
TCH EEV CALV JMP DRT 8W 5W 4W 0x00
K
0x15 Debug
(Note 4)
— — — RT RTC RTR — — 0x00
Note 1:
2:
3:
4:
OPTIONS/FLAGS: TEN (Touch Enable); VCF (Verbose Cal Feedback); DRT (Dynamic Risetime Enable);
48W (0 = 4-Wire, 1 = 8-Wire); CALE (Calibration Enable);
STATUS (READ ONLY): TCHK (Result of Touch CHK DIAG); EEV (Params in EEPROM used); CALV
(Calibration valid); JMP (State of mode Jumper); DRT (DYN RISE TIME CAP MEAS’D); 8W (Configured
for 8W Sensor); 5W (Configured for 5W Sensor); 4W (Configured for 4W Sensor);
TOUCH MODE(S) (specified for each event: PD, PM and PU): 0: no report(s) issued; 1: report (P = 0); 2:
report (P = 1); 3: report (P = 1), report (P = 0); 4: report (P = 0), report (P = 1); report (P = 0), 5: report (P
= 0), report (P = 1);
DEBUG FLAGS (optional): RT (Risetime Report); RTC (Risetime CAP Report); RTR (Risetime RES
Report).
2011 Microchip Technology Inc.
DS41606B-page 25
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
6.1 Register 0: RisetimeCapTimeout
(ADVANCED – DO NOT CHANGE)
The RisetimeCapTimeout value is used in the
proprietary algorithm associated with sensor
characteristics.
6.2 Register 1: RisetimeQuick
(ADVANCED – DO NOT CHANGE)
The RisetimeQuick value is used in the proprietary
algorithm associated with sensor characteristics.
6.3 Register 2: TouchThreshold
The TouchThreshold value sets the threshold for
detecting a touch condition. A larger value relaxes the
criteria for detecting a touch and a small value is more
demanding.
6.4 Register 3: SensitivityFilter
The SensitivityFilter value sets a criteria for touch
‘stability’. A larger value is more sensitive to a touch but
possibly less ‘stable’. A smaller value requires a
‘harder’ touch but provides a more stable position.
6.5 Register 4: SamplingFast
The SamplingFast register sets the level of touch
measurement sample averaging, when touch
movement is determined to be fast (reference
SpeedThreshold). A lower value will result in faster
reporting but may be more susceptible to noise in touch
positions. A higher value will reduce the report rate but
provide more immunity to random noise in the reported
touch positions.
6.6 Register 5: SamplingSlow
The SamplingFast register sets the level of touch
measurement sample averaging, when touch
movement is determined to be slow (reference
SpeedThreshold). A lower value will result in faster
reporting but may be more susceptible to noise in touch
positions. A higher value will reduce the report rate but
provide more immunity to random noise in the reported
touch positions.
6.7 Register 6: AccuracyFilterFast
The AccuracyFilterFast sets the level of touch
measurement accuracy enhancement used when the
touch movement is determined to be ‘fast’ (reference
SpeedThreshold). A lower value will increase touch
position resolution but may exhibit more noise in
reported touch positions. A higher value will decrease
touch position resolution but increase immunity to
noise in reported touch positions.
6.8 Register 7: AccuracyFilterSlow
The AccuracyFilterFast sets the level of touch
measurement accuracy enhancement used when the
touch movement is determined to be ‘slow’ (reference
SpeedThreshold). A lower value will increase touch
position resolution but may exhibit more noise in
reported touch positions. A higher value will decrease
touch position resolution but increase immunity to
noise in reported touch positions.
6.9 Register 8: SpeedThreshold
The SpeedThreshold value 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 ‘fast’. A higher value has the opposite
effect.
6.10 Register 9: DitherFilter
The DitherFilter value sets the threshold to prevent the
reported touch location from changing during what is
thought to be a stationary touch. The computed touch
position must change by an amount greater than Dith-
erFilter (either X or Y) before the reported position
changes.
6.11 Register 10: SleepDelay
The SleepDelay value sets the time interval (with no
touch or host communication) that will cause the
AR1100 to enter a low-power Sleep mode (UART
Communication mode only).
6.12 Register 11: PenUpDelay
The PenUpDelay sets the time required for a pen-up
event/condition before the controller will send a touch
report with a pen-up status – effectively debouncing
pen up. The delay timer resets if a pen-down condition
is detected before the timer expires. A lower value will
increase the responsiveness of the controller to pen up.
A higher value will decrease the responsiveness.
DS41606B-page 26
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
6.13 Register 12: TouchMode
The TouchMode value defines the action taken by the
controller in response to the three touch events/states
(i.e., (1) pen down, (2) pen movement and (3) pen up).
A code is specified for each event to specify one of 6
predefined actions. As can be seen in the footnotes of
Table 6-1, several actions specify a sequence of
multiple touch reports. Each report in a multiple-touch
sequence can be spaced in time by parameter
PenStateReportDelay.
TouchMode[7:5] = PD[2:0] Response to event PD (PEN DOWN)
b000
b001
b010
b011
b100
b101
No touch report issued in response to the event
Touch report w/ P=0
Touch report w/ P=1
Touch report w/ P=1, then Touch report w/ P=0
Touch report w/ P=0, then Touch report w/ P=1, then Touch report w/ P=0
Touch report w/ P=0, then Touch report w/ P=1
TouchMode[4:3] = PM[1:0] Response to event PM (PEN MOVEMENT)
b000
b001
b010
No touch report issued in response to the event
Touch report w/ P=0
Touch report w/ P=1
TouchMode[2:0] = PU[2:0] Response to event PU (PEN UP)
b000
b001
b010
b011
b100
b101
No touch report issued in response to the event
Touch report w/ P=0
Touch report w/ P=1
Touch report w/ P=1, then Touch report w/ P=0
Touch report w/ P=0, then Touch report w/ P=1, then Touch report w/ P=0
Touch report w/ P=0, then Touch report w/ P=1
6.14 Register 13: TouchOptions
The TouchOptions register contains several bit flags
corresponding to options in operation.
TouchOptions[7:7] 1: Set TOUCH_ENABLE as the default power-up state
TouchOptions[6:6] 1: Enable verbose mode for calibration feedback
TouchOptions[3:3] 1: Enable proprietary dynamic rise time algorithm
TouchOptions[1:1] 1: Select 8W, 0: Select 4W (if MODE input = VDD)
TouchOptions[0:0] 1: Enable ‘calibrated’ touch reports, 0: Enable ‘raw’ touch reports
2011 Microchip Technology Inc.
DS41606B-page 27
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
6.15 Register 14: CalibrationInset
The CalibrationInset value specifies the ‘inset’ (margin)
from the edge of the sensor to the perimeter calibration
points. The remaining calibration points (for 9P and
25P) are evenly spaced between the margins. The
inset is in units of 1/256 of the sensor dimension(s) and
is 2x the margin – e.g. a value of 64 is 64/256ths of the
screen dimension (25%) – each margin (top, bottom,
left, right) is 12.5%.
6.16 Register 15: PenStateReportDelay
The PenStateReportDelay value sets the time delay
between successive touch reports in a multiple-report
sequence called for by TouchModes.
6.17 Register 17: TouchReportDelay
The TouchReportDelay value sets the time delay
between successive touch reports. This can be used to
reduce the volume/speed of touch reports, thereby
reducing the burden on the host to process the touch
reports.
6.18 Register 18: RisetimeDefault
(ADVANCED – DO NOT CHANGE)
The RisetimeModifier value is used in the proprietary
algorithm measuring and reacting to sensor
characteristic(s).
6.19 Register 19: RisetimeModifier
(ADVANCED – DO NOT CHANGE)
The RisetimeModifier value is used in the proprietary
algorithm measuring and reacting to sensor
characteristic(s).
6.20 Register 20: Status
The STATUS register provides useful feedback to the
host on AR1100 operational status.
Status[7:7]
Status[6:6]
Status[5:5]
Status[4:4]
Status[3:3]
Status[2:2]
Status[1:1]
Status[0:0]
TCHK
EEV
CALV
JMP
DRT
8W
5W
4W
Result of touch check diagnostic
Parameters in EEPROM were valid and automatically loaded
Calibration valid (EEPROM contains valid cal coefficients)
State of mode input 1: open (jumper off), 0: grounded (jumper on)
Dynamic risetime CAP successfully measured
Configured for 8W sensor (4W will also be set)
Configured for 5W sensor
Configured for 4W sensor
6.21 Register 21: Debug
The Debug register contains bit flags enabling various
debug functions.
DS41606B-page 28
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
7.0 OPERATION
7.1 Configuration
The AR1100 is operational out of the box using factory
defaults. Some applications may have special needs
that require changes to those factory settings (parame-
ter registers). This is easily accomplished using the
commands described in Section 5.0, Commands. The
recommended procedure is as follows:
1. Issue command: TOUCH_DISABLE (disables
touch reports so as not to interfere)
2. Issue command: REG_WRITE, as needed, to
modify the value of selected parameter registers
3. Issue command: EE_WRITE_PARAMS (optional)
to archive new register values as ‘defaults’
4. Issue command: TOUCH_ENABLE (to re-enable
touch reports)
Note:
Configuration commands are supported
only in UART and HID-GENERIC
communication modes. Refer to
Section 7.6, USB Mode Change.
7.2 Calibration
7.2.1
INTRODUCTION
Calibration enables the AR1100 to issue touch reports
that (1) correct/modify sensor orientation and (2) pre-
cisely map the reported touch location to the physical
dimensions of the underlying display device. The
AR1100 has the option of either reporting RAW touch
reports or utilizing calibration information to report CAL-
IBRATED touch reports. Configuration register,
TouchOption”, contains bit flag “CALE” (calibration
enable) to choose between the two.
The calibration process requires the operator to
sequentially touch a series of targets [crosshairs] pre-
sented by the host on the display device. The AR1100
archives the raw-touch data from each calibration
touch point in EEPROM, then uses that data in normal
operation to process “raw” data into “calibrated” data.
Note:
Calibration is supported only in UART and
HID-GENERIC communication modes.
Refer to Section 7.6, USB Mode Change.
7.2.2
CONFIGURATION
Both the host and device must know/understand the
geometry of the calibration point matrix. The AR1100
defines the matrix by (1) an INSET and (2) calibration
TYPE i.e., number of points (4, 9 or 25). The TYPE is
set by the argument of the calibration command. The
INSET is pre-defined by the Configuration register
CalibrationInset.
The INSET is predefined as ‘64’ – interpreted as 64/
256 (i.e., 25%) of the sensor width or height. This
defines the ‘margin’ on the perimeter of the calibration
point matrix. Interior calibration points are spaced
equally between the margins (e.g., for the 9-point cali-
bration in the illustration – point 2 is half-way between
points 1 and 3). See Figure 7-1.
FIGURE 7-1:
CALIBRATION POINT LAYOUT
2011 Microchip Technology Inc.
DS41606B-page 29
Datasheet pdf - http://www.DataSheet4U.net/


AR1100 (Microchip Technology)
Touch Screen Controller

No Preview Available !

Click to Download PDF File for PC

www.DataSheet.co.kr
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
7.2.3 EXECUTION
The host first commands the AR1100 to enter
Calibration mode, then subsequently presents the
calibration point targets, one at a time, from left to right,
top to bottom. The AR1100 returns a calibration
command response packet each time the operator
touches a target – signaling the host to proceed. Upon
completion, the data from the calibration process is
saved to EEPROM and available for use by the
AR1100 during normal operation. Calibration process
can be aborted by the host by simply issuing any
command. That command will be ignored but the
response to that command will have a status byte that
indicates that calibration had terminated prematurely
(see below).
7.2.3.1 Normal sequence
• host issues calibration command: <0x55>
<0x02> <0x14> <type>
• host present 1st target
• operator touches (and releases) sensor at 1st
target
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• host presents 2nd target
• operator touches (and releases) sensor at 2nd
target
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
•…
• host presents last target
• operator touches (and releases) sensor at last
target
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• host terminates the target display
• device returns to normal operation
7.2.3.2 Aborted sequence
• host issues calibration command: <0x55>
<0x02> <0x14> <type>
• host presents 1st target
• operator touches (and releases) sensor at 1st
target
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• host presents 2nd target
• operator touches (and releases) sensor at 2nd
target
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• host issues TOUCH_ENABLE command to abort
calibration: <0x55> <0x01> <0x12>
• device issues response packet: <0x55> <0x02>
<0xFC> <0x12>
• (status 0xFC indicates calibration termination)
• host terminates the target display
• device returns to normal operation
7.2.3.3 Normal sequence (verbose)
The VCF (Verbose Calibration Feedback) bit in the
TouchOptions Configuration register enables ‘verbose’
communication from the AR1100 in Calibration mode
as evidenced below:
• host sets ‘verbose’ flag in Configuration register
i.e., TouchOptions[VCF]
• host issues calibration command: <0x55>
<0x02> <0x14> <type>
• device responds: <0x55> <0x07> <0x00>
<0x14> <0xFE> <0xXX> <0xXX> <0xYY>
<0xYY>
0xFE indicates ‘enter’ Calibration mode, XX and YY are
don’t care.
• host presents 1st target
• operator touches (and releases) sensor at 1st
target
• device issues response packet: <0x55> <0x07>
<0x00> <0x14> <0x00> <0xXX> <0xXX>
<0xYY> <0xYY>
• the 5th byte indicates the calibration point 0x00
(the 1st)
0xXXXX and 0xYYYY are RAW coordinates of the
touch point (16-bit, little endian)
• host presents 2nd target
• operator touches (and releases) sensor at 2nd
target
• device issues response packet: <0x55> <0x07>
<0x00> <0x14> <0x01> <0xXX> <0xXX>
<0xYY> <0xYY>
• The 5th byte indicates the calibration point 0x01
(the 2nd)
0xXXXX and 0xYYYY are RAW coordinates of the
touch point (16-bit, little endian)
DS41606B-page 30
2011 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/




Click to Download PDF File