AR1100-I/MQ [MICROCHIP]
SPECIALTY MICROPROCESSOR CIRCUIT, PQCC20, 5 X 5 MM, 0.90 MM HEIGHT, ROHS COMPLIANT, PLASTIC, QFN-20;型号: | AR1100-I/MQ |
厂家: | MICROCHIP |
描述: | SPECIALTY MICROPROCESSOR CIRCUIT, PQCC20, 5 X 5 MM, 0.90 MM HEIGHT, ROHS COMPLIANT, PLASTIC, QFN-20 外围集成电路 |
文件: | 总58页 (文件大小:1957K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
AR1100 Resistive USB and RS-232
Touch Screen Controller
Data Sheet
2011 Microchip Technology Inc.
DS41606B
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.
© 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.
DS41606B-page 2
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232
TOUCH SCREEN CONTROLLER
AR1100 Resistive USB and RS-232 Touch Screen Controller
Special Features:
Touch Sensor Support:
• RoHS Compliant
• 4-wire, 5-wire and 8-wire Analog Resistive
• Lead-to-Lead Resistance: 50-2000 Ohm
• Layer-to-Layer Capacitance: 0-0.5 uF
• Power-saving Sleep mode
• Industrial Temperature Range
• Built-in Drift Compensation Algorithm
• 96 Bytes of User EEPROM
Touch Resolution:
• 10-bit Resolution (maximum)
Power Requirements:
• Operating Voltage: 3.3-5.0V +/- 5%
• Standby Current:
Touch Coordinate Report Rate:
- <10 uA (UART)
- <325 uA (USB)
• 150 Reports Per Second (typ.) (see Note below)
• Operating Current:
- <17 mA (no touch)
- <25 mA (touch) (see Note below)
Note:
Actual report rate is dynamically/automat-
ically maximized according to the electri-
cal characteristics of the sensor in use.
Note:
Results vary slightly with sensor.
Communication:
• Automatic Detection/Selection
• UART, 9600 BAUD
• USB V2.0 Compliant, Full Speed
- HID-GENERIC
Touch Modes:
• Off, Stream, Down and Up
- 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
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Resistive touch provides the advantages of easy
integration, low total system cost and acceptance of
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.
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:
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.
• Mobile communication devices
• Personal Digital Assistants (PDA)
• Global Positioning Systems (GPS)
• Touch Screen Monitors
• KIOSK
• Media Players
• Portable Instruments
• Point of Sale Terminals
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
2011 Microchip Technology Inc.
DS41606B-page 5
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 6
2011 Microchip Technology Inc.
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
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 8
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
3.0
3.1
HARDWARE
Pin Assignments
TABLE 3-1:
PIN ASSIGNMENTS
Pin
Function
Description/Comments
SSOP, SOIC
QFN
1
2
3
4
18
19
20
1
VDD
Power
OSC1
OSC2
MODE
Oscillator
Oscillator
GND: 5-Wire
Open: 4-/8-Wire
5
6
2
3
LED
(Y+)
Led control
Sensor connection
4W: n/a
5W: n/a
8W: Y+
7
8
4
5
X+
SY-
Sensor connection
Sensor connection
Sensor connection
UART Transmit Data
Wake pin
9
6
SX+
10
11
12
13
7
UART-TX
WAKE
UART-RX
SX-
8
9
UART Receive Data
10
Sensor connection
4W: n/a
5W: WSX-
8W: SX-
14
15
11
12
X-
Sensor connection
Y+(SY+)
Sensor connection
4W: Y+
5W: Y+
8W: SY+
16
17
18
19
20
13
14
15
16
17
Y-
Sensor connection
USB Internal Voltage Reference
USB data I/O
VUSB
USB-D-
USB-D+
VSS
USB data I/O
GND
2011 Microchip Technology Inc.
DS41606B-page 9
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.
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
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 12
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.0
4.1
COMMUNICATION
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
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:
NAME
USB IDs
VENDOR PRODUCT
DESC
CLASS
SPEED
ID
ID
HID-GENERIC Proprietary (AR1000-style)
HID
HID
HID
x04D8
x04D8
x04D8
x0C01
x0C02
x0C03
FULL
FULL
FULL
HID-MOUSE
Mouse, absolute coordinates 0-4095
HID-DIGITIZER 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_FEATUREcontrol transfer
or a WRITE standard data transfer (via the Interrupt
end point) is used to convey the command (described
in Section 5.0, Commands).
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
TABLE 4-2:
TOUCH REPORT FORMAT – GENERIC
BIT
BYTE
7
6
5
4
3
2
1
0
1
2
1
0
0
0
0
R
X6
0
R
X5
0
R
R
R
R
P
X4
X3
X2
X9
Y2
Y9
X1
X8
Y1
Y8
X0
X7
Y0
Y7
3
X11
Y4
X10
Y3
4
Y6
0
Y5
0
5
Y11
Y10
P
R
X
Y
Pen state - 1: Pen down - 0: Pen up
(Reserved)
X ordinate of touch location (12 bits)
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
SUPPORTED EVENT
MODE
BEHAVIOR
PD
PU
PM
0
1
X
X
X
X
X
X
X
X
X
X
X
NO REPORT
X
REPORT (P=0)
REPORT (P=1)
2
X
3
X
X
REPORT (P=1), REPORT (P=0)
4
REPORT (P=0), REPORT (P=1), REPORT (P=0)
REPORT (P=0), REPORT (P=1)
5
X
PD
PU
PM
Report
Pen down
Pen up
Pen move
Touch report
2011 Microchip Technology Inc.
DS41606B-page 15
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
4.2.1.2
Mode: HID-MOUSE
Touch report format:
TABLE 4-4:
BYTE
TOUCH REPORT FORMAT – MOUSE
BIT
7
6
5
4
3
2
1
0
1
2
0
X7
0
0
X6
0
0
X5
0
0
X4
0
0
B3
X2
B2
X1
X9
Y1
Y9
B1
X0
X8
Y0
Y8
X3
3
X11
Y3
X10
Y2
4
Y7
0
Y6
0
Y5
0
Y4
0
5
Y11
Y10
B1
B2
B3
X
Button 1 depressed
Button 2 depressed
Button 3 depressed
X ordinate of touch location (12 bits)
X ordinate of touch location (12 bits)
Y
DS41606B-page 16
2011 Microchip Technology Inc.
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
BIT
BYTE
7
6
5
4
3
2
1
0
1
2
3
4
5
6
T
P
X
Y
0
0
0
0
0
0
0
0
0
0
P
T
0
0
0
0
X7
X6
0
X5
0
X4
0
X3
X11
Y3
Y11
X2
X10
Y2
Y10
X1
X9
Y1
Y9
X0
X8
Y0
Y8
0
Y7
0
Y6
0
Y5
0
Y4
0
Tip switch
Proximity (in range) – always 1
X ordinate of touch location (12 bits)
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).
TABLE 4-6:
MODE
TOUCH MODE OPTIONS – DIGITIZER
SUPPORTED EVENT
BEHAVIOR
PD
PU
PM
0
1
X
X
X
X
X
X
X
X
X
X
X
NO REPORT
X
REPORT (T=0)
REPORT (T=1)
2
X
3
X
X
REPORT (T=1), REPORT (T=0)
4
REPORT (T=0), REPORT (T=1), REPORT (T=0)
REPORT (T=0), REPORT (T=1)
5
X
PD
PU
PM
Report
Pen down
Pen up
Pen move
Touch report
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
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
0x55
SIZE
N
DATA
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
0x55
SIZE
N+1
DATA
D[1]
D[N]
CMND
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
0x55
SIZE
N+2
DATA
D[1]
D[N]
STATUS
CMND
4.2.2.2
Mode: UART
4.2.2.3
Mode: USB
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.
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.
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
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 20
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
COMMANDS
5.0
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
DESCRIPTION
Enable TOUCH reporting
0x12
0x13
0x14
0x20
0x21
0x28
0x29
0x2B
0x23
TOUCH_ENABLE
TOUCH_DISABLE
CALIBRATE
Disable TOUCH reporting
Execute Calibrate routine
Read register(s)
REG_READ
REG_WRITE
Write register(s)
EE_READ
Read EE location(s)
EE_WRITE
Write EE location(s)
EE_READ_PARAMS
EE_WRITE_PARAMS
Read parameter set (from EE to RAM)
Write parameter set (from RAM to EE)
Table 5-2 summarizes the STATUS byte in the
RESPONSE packet.
TABLE 5-2:
STATUS
STATUS SUMMARY
NAME
DESCRIPTION
0x00
0x01
0x04
0x05
0xFC
OK
No error
UNRECOGNIZED
TIMEOUT
Unrecognized command
Packet time out
EEPARAMS_ERR
CAL_CANCEL
Error reading EEPROM parameters
Calibration sequence cancelled
2011 Microchip Technology Inc.
DS41606B-page 21
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
5.2
Command: TOUCH_ENABLE
5.4
Command: CALIBRATE
Enable touch reporting.
COMMAND PACKET:
The
CALIBRATE
command
initiates
the
controller-based calibration sequence. A RESPONSE
packet is returned for each calibration point touched.
TABLE 5-3:
BYTE#
COMMAND: TOUCH_ENABLE
COMMAND PACKET
VALUE
DESCRIPTION
TABLE 5-7:
COMMAND: CALIBRATE
DESCRIPTION
1
2
3
0x55
0x01
0x12
SYNC
SIZE
BYTE# VALUE
1
2
3
4
0x55
0x02
0x14
SYNC
COMMAND
BYTE COUNT
COMMAND
RESPONSE PACKET:
TABLE 5-4:
BYTE#
RESPONSE: TOUCH_ENABLE
VALUE DESCRIPTION
TYPE 0x01: 4-Point – Full interpola-
tion
0x02: 9-Point
0x03: 25-Point
0x04: 4-Point (AR1000 style)
1
2
3
4
0x55
0x02
SYNC
SIZE
STATUS STATUS
0x12 COMMAND
RESPONSE PACKET (for each calibration point
touched, then released):
TABLE 5-8:
BYTE#
RESPONSE: CALIBRATE
VALUE DESCRIPTION
5.3
Command: TOUCH_DISABLE
Disable touch reporting.
COMMAND PACKET:
1
2
3
4
0x55
0x02
SYNC
SIZE
TABLE 5-5:
BYTE#
COMMAND: TOUCH_DISABLE
STATUS STATUS
0x14 COMMAND
VALUE
DESCRIPTION
1
2
3
0x55
0x01
0x13
SYNC
SIZE
5.5
Command: REG_READ
COMMAND
Read one or more operational registers.
COMMAND PACKET:
RESPONSE PACKET:
TABLE 5-6:
BYTE#
RESPONSE: TOUCH_DISABLE
VALUE DESCRIPTION
TABLE 5-9:
COMMAND: REG_READ
BYTE# VALUE
DESCRIPTION
1
2
3
4
0x55
0x02
SYNC
SIZE
1
2
3
4
5
6
0x55
0x04
0x20
0x00
ADR
N
SYNC
SIZE
STATUS STATUS
0x13 COMMAND
COMMAND
REGISTER ADDRESS (MSB)
REGISTER ADDRESS (LSB)
NUMBER OF BYTES TO READ
RESPONSE PACKET:
TABLE 5-10: RESPONSE: REG-READ
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
0x55
N+2
SIZE
3
STATUS
0x20
STATUS
4
COMMAND
5
REG[ADR]
...
REGISTER VALUE
REGISTER VALUE(S)
...
4+N REG[ADR+N-1] REGISTER VALUE
DS41606B-page 22
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
RESPONSE PACKET:
5.6
Command: REG_WRITE
TABLE 5-14: RESPONSE: EE_READ
Write one or more operational registers.
COMMAND PACKET:
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
0x55
N+2
TABLE 5-11: COMMAND: REG_WRITE
SIZE (N = # of BYTES to
WRITE)
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
0x55
N+2
3
4
STATUS
0x28
STATUS
SIZE (N = # of REGS to
WRITE)
COMMAND
5
EE[ADR]
...
EE VALUE
3
4
0x21
0x00
COMMAND
...
EE VALUE VALUE(S)
REGISTER ADDRESS
(MSB)
4+N
EE[ADR+N-1] EE VALUE
5
ADR
REGISTER ADDRESS
(LSB)
5.8
Command: EE_WRITE
6
REG[ADR]
...
REGISTER VALUE
REGISTER VALUE(S)
REGISTER VALUE
Write one or more bytes to EEPROM.
COMMAND PACKET:
...
5+N REG[ADR+N-1]
RESPONSE PACKET:
TABLE 5-15: COMMAND: EE_WRITE
BYTE#
VALUE
DESCRIPTION
SYNC
TABLE 5-12: RESPONSE: REG_WRITE
1
2
0x55
4+N
BYTE#
VALUE
DESCRIPTION
SYNC
SIZE (N = # of REGS to
WRITE)
1
2
3
4
0x55
0x02
3
4
0x29
0x00
COMMAND
SIZE
EE ADDRESS (MSB)
EE ADDRESS (LSB)
EE VALUE
STATUS
0x21
STATUS
COMMAND
5
ADR
6
EE[ADR]
...
...
EE VALUE(S)
5.7
Command: EE_READ
5+N
EE[ADR+N-1] EE VALUE
Read one or more bytes from EEPROM.
COMMAND PACKET:
RESPONSE PACKET:
TABLE 5-16: RESPONSE: EE_WRITE
TABLE 5-13: COMMAND: EE_READ
BYTE#
VALUE
DESCRIPTION
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
3
4
0x55
2
SYNC
SIZE
1
2
3
4
5
6
0x55
0x04
0x28
0x00
ADR
N
SIZE
STATUS STATUS
0x29 COMMAND
COMMAND
EE ADDRESS (MSB)
EE ADDRESS (LSB)
Number of bytes to read
2011 Microchip Technology Inc.
DS41606B-page 23
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
5.9
Command: EE_READ_PARAMS
5.11 Command: USB_MODE_GENERIC
Read entire set of operational parameters from
EEPROM to RAM.
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-17: COMMAND: EE_READ_PARAMS
COMMAND PACKET:
BYTE#
VALUE
DESCRIPTION
TABLE 5-21: COMMAND:
1
2
3
0x55
0x01
0x23
SYNC
SIZE
USB_MODE_GENERIC
BYTE#
VALUE
DESCRIPTION
COMMAND
1
2
3
0x55
0x01
0x70
SYNC
SIZE
RESPONSE PACKET:
TABLE 5-18: RESPONSE:
EE_READ_PARAMS
VALUE DESCRIPTION
COMMAND
RESPONSE PACKET:
None.
BYTE#
1
2
3
4
0x55
2
SYNC
SIZE
5.12 Command: USB_MODE_MOUSE
STATUS STATUS
0x23 COMMAND
Set default USB mode (device type) to ‘HID-MOUSE’.
COMMAND PACKET:
TABLE 5-22: COMMAND: USB_MODE_MOUSE
5.10 Command: EE_WRITE_PARAMS
BYTE#
VALUE
DESCRIPTION
Write entire set of operational parameters to EEPROM
from RAM.
1
2
3
0x55
0x01
0x71
SYNC
SIZE
COMMAND PACKET:
COMMAND
TABLE 5-19: COMMAND:
EE_WRITE_PARAMS
RESPONSE PACKET:
None.
BYTE#
VALUE
DESCRIPTION
1
2
3
0x55
0x01
0x2B
SYNC
SIZE
5.13 Command: USB_MODE_DIGITIZER
Set default USB mode (device type) to ‘HID-DIGI-
TIZER’.
COMMAND
RESPONSE PACKET:
TABLE 5-20: RESPONSE:
EE_WRITE_PARAMS
VALUE DESCRIPTION
COMMAND PACKET:
TABLE 5-23: COMMAND:
USB_MODE_DIGITIZER
BYTE#
BYTE#
VALUE
DESCRIPTION
1
2
3
4
0x55
2
SYNC
SIZE
1
2
3
0x55
0x01
0x72
SYNC
SIZE
STATUS STATUS
0x2B COMMAND
COMMAND
RESPONSE PACKET:
None.
DS41606B-page 24
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
CONFIGURATION REGISTERS
6.0
TABLE 6-1:
ADDR
CONFIGURATION REGISTER SUMMARY
NAME DECRIPTION
7
6
5
4
3
2
1
0
DFLT
0x00 RisetimeCapTime- *170 usec
out
Value of: 0-255
0x18
0x01 RisetimeQuick
0x02 TouchThreshold
*10 usec
Value of: 0-255
Value of: 0-255
0x02
0x80
8-bit ADC –
touch_check()
0x03 SensitivityFilter
0x04 SamplingFast
8-bit ADC
Value of: 0-255
0x04
0x04
# of ADC samples/touch
to average
Value of: 1, 2, 4, 8, 16, 32, 64, 128
Value of: 1, 2, 4, 8, 16, 32, 64, 128
Value of: 1-8
0x05 SamplingSlow
# of ADC samples/touch
to average
0x08
0x08
0x08
0x03
0x00
0x06 AccuracyFilterFast # of touch positions to
average
0x07 AccuracyFilter-
Slow
# of touch positions to
average
Value of: 1-8
0x08 SpeedThreshold
8-bit ADC (raw touch
coordinates)
Value of: 0-255
0x09 DitherFilter
size of anti-dithering win-
dow 1/4096 of sensor
dim.
Value of: 0-255
0x0A SleepDelay
0x0B PenUpDelay
0x0C TouchMode
0x0D TouchOptions
0x0E CalibrationInset
*250 msec
Value of: 0-255
Value of: 0-255
0x00
0x02
touch process loop count
(Note 3)
PD2 PD1 PD0 PM1 PM0 PU2 PU1 PU0 0xB1
(Note 1)
TEN VCF
—
C
DRT
—
48W CALE 0x89
0x40
2x % sensor dimension -
units: 1/256 (e.g.
64=25%)
Value of: 1-128
0x0F PenStateReport-
Delay
*170 usec
Value of: 0-255
0x04
0x10 Reserved
—
—
0x00
0x00
0x80
0x80
0x11 TouchReportDelay *0.5 msec
Value of: 0-255
Value of: 0-255
Value of: 0-255
0x12 RisetimeDefault
0x13 RisetimeModifier
*21 usec
(value-128) * 10 usec
(i.e., 128 = 0, 127 = -1,
129 = +10)
0x14 Status
0x15 Debug
(Note 2)
TCH EEV CALV JMP DRT 8W 5W
K
4W 0x00
0x00
(Note 4)
—
—
—
RT RTC RTR
—
—
Note 1: OPTIONS/FLAGS: TEN (Touch Enable); VCF (Verbose Cal Feedback); DRT (Dynamic Risetime Enable);
48W (0 = 4-Wire, 1 = 8-Wire); CALE (Calibration Enable);
2: 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);
3: 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);
4: DEBUG FLAGS (optional): RT (Risetime Report); RTC (Risetime CAP Report); RTR (Risetime RES
Report).
2011 Microchip Technology Inc.
DS41606B-page 25
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
6.1
Register 0: RisetimeCapTimeout
6.8
Register 7: AccuracyFilterSlow
(ADVANCED – DO NOT CHANGE)
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.
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.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.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.10 Register 9: DitherFilter
6.4
Register 3: SensitivityFilter
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.
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
6.11 Register 10: SleepDelay
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.
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.
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.
DS41606B-page 26
2011 Microchip Technology Inc.
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_ENABLEas 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
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
6.15 Register 14: CalibrationInset
6.17 Register 17: TouchReportDelay
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%.
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.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.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]
TCHK
Result of touch check diagnostic
Status[6:6]
Status[5:5]
Status[4:4]
Status[3:3]
Status[2:2]
Status[1:1]
Status[0:0]
EEV
CALV
JMP
DRT
8W
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
5W
4W
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
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
7.0
7.1
OPERATION
Configuration
enable) to choose between the two.
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:
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.
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:
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.
Note:
Configuration commands are supported
only in UART and HID-GENERIC
communication
modes.
Refer
to
Section 7.6, USB Mode Change.
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.
7.2
7.2.1
Calibration
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
FIGURE 7-1:
CALIBRATION POINT LAYOUT
2011 Microchip Technology Inc.
DS41606B-page 29
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
• host presents 2nd target
7.2.3
EXECUTION
• operator touches (and releases) sensor at 2nd
target
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).
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• host issues TOUCH_ENABLEcommand 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.1
Normal sequence
7.2.3.3
Normal sequence (verbose)
• host issues calibration command: <0x55>
<0x02> <0x14> <type>
The VCF (Verbose Calibration Feedback) bit in the
TouchOptions Configuration register enables ‘verbose’
communication from the AR1100 in Calibration mode
as evidenced below:
• host present 1st target
• 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>
• 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
0xFE indicates ‘enter’ Calibration mode, XXand YYare
don’t care.
target
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• …
• host presents last target
• operator touches (and releases) sensor at last
target
• 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>
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
• the 5th byte indicates the calibration point 0x00
(the 1st)
• host terminates the target display
• device returns to normal operation
0xXXXX and 0xYYYY are RAW coordinates of the
touch point (16-bit, little endian)
7.2.3.2
Aborted sequence
• host presents 2nd target
• host issues calibration command: <0x55>
<0x02> <0x14> <type>
• operator touches (and releases) sensor at 2nd
target
• device issues response packet: <0x55> <0x07>
<0x00> <0x14> <0x01> <0xXX> <0xXX>
<0xYY> <0xYY>
• host presents 1st target
• operator touches (and releases) sensor at 1st
target
• The 5th byte indicates the calibration point 0x01
• device issues response packet: <0x55> <0x02>
<0x00> <0x14>
(the 2nd
)
0xXXXX and 0xYYYY are RAW coordinates of the
touch point (16-bit, little endian)
…
DS41606B-page 30
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
• host presents last target (9th in this example)
• operator touches (and releases) sensor at last tar-
get <0x55> <0x07> <0x00> <0x14> <0x08>
<0xXX> <0xXX> <0xYY> <0xYY>
7.5
LED
The LED provides an indication of controller status. As
summarized in Table 7-1, a ‘fast’ blink indicates that a
touch is detected, and a ‘slow’ blink indicates no touch.
• the 5th byte indicates the calibration point 0x08
(the 9th)
FIGURE 7-2:
LED SCHEMATIC
• 0xXXXXand 0xYYYYare RAW coordinates of the
touch point (16-bit, little endian)
• device indicates exit from calibration mode with
<0x55> <0x07> <0x00> <0x14> <0xFF>
<0xXX> <0xXX> <0xYY> <0xYY>
0xFF indicates ‘exit’ Calibration mode, XXand YYare
don’t care
• host terminates the target display
• device returns to normal operation
7.3
Sleep
The AR1100 supports a low-power, Sleep mode used
to conserve power when the device is not in use.
TABLE 7-1:
Behavior
LED INDICATOR
Status
When in UART Communication mode, Sleep mode is
activated after a specified time interval (parameter reg-
ister: SleepDelay) during which no touch or communi-
cation took place. When in Sleep, the device can be
awakened by a touch or by any communication from
the host. The first byte of communication used to wake
up the device will be lost/ignored.
LED blinks slowly
(once per second)
Controller is powered, awake
and no touch is detected
LED blinks rapidly (5 Controller detects a touch
times per second)
LED is off
Controller has no power or is
asleep (suspended)
When in USB Communication mode, Sleep mode is
activated by a USB SUSPEND control transfer from the
host – the SleepDelay timer has no effect. Optionally, if
the host is configured to allow the device to awaken the
host (USB REMOTE WAKE-UP), the host will preface
the USB SUSPEND with a control transfer to enable
remote wake-up from the device. In this situation, a
touch can awaken the host; otherwise, only a RESUME
condition from the host will wake-up the AR1100.
7.6
USB Mode Change
Low-level operations (configuration, calibration, boot
load) are supported in only 2 of the 4 communication
modes (i.e., UART and HID-GENERIC). If the AR1100
is operating in HID-MOUSE or HID-DIGITIZER mode,
it must be configured to HID-GENERIC for the low-level
operations, then reconfigured back to the desired
(default) device type.
7.4
Configure Sensor Type
The AR1100 must be configured for the sensor type
connected (i.e., 4W, 5W or 8W) using a combination of
the MODE input pin and configuration parameter
TouchOptions. For a 5W sensor, the mode input pin
must be grounded. For a 4W or 8W sensor, the mode
input pin should be open/disconnected. Additionally, bit
1 in Configuration register TouchOptions is used to
further select between 4W and 8W.
Three 3-byte commands are provided to assign the
USB device type (refer to Section 5.0, Commands).
1. USB_MODE_GENERIC
2. USB_MODE_MOUSE
3. USB_MODE_DIGITIZER
Each command sets the default USB device type (in
nonvolatile memory), then resets the AR1100 – caus-
ing it to re-enumerate. All three device types will accept
As seen in FIGURE B-1: “Schematic”, the MODE pin
is typically connected to a hardware jumper (J1).
Because this pin is equipped with an internal pull-up
resistor, it can be grounded with a jumper or simply left
disconnected (no jumper).
the mode change commands as either
a
SET_FEATURE control transfer or a standard WRITE
data transfer (via the interrupt-end point). The HID-
MOUSE device under MS Windows® may be limited to
SET_FEATUREonly.
2011 Microchip Technology Inc.
DS41606B-page 31
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 32
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
BOOT LOADER
8.0
Note:
A stand-alone software utility is available
from Microchip to facilitate the boot
loading operation. This functionality is
also available with the Microchip AR
Configuration Utility.
The boot load process and associated commands
enables the host to reprogram the AR1100. Because
the size of the Flash program memory cannot accom-
modate both a boot load section and application sec-
tion, the AR1100 is programmed in sections using 3
passes. With each pass, a USB device will necessarily
re-enumerate.
Passes:
1. Program temporary boot load application into
upper memory
2. Execute from temporary boot load application to
program the lower half of the new application
Note:
The boot load operation is supported only
in UART and HID-GENERIC
communication modes.
Section 7.6, USB Mode Change.
Refer
to
3. Execute from the lower half of the new applica-
tion to program the upper half
This process is illustrated in a more detail in Figure 8-1
below.
FIGURE 8-1:
BOOT LOADING SEQUENCE
2011 Microchip Technology Inc.
DS41606B-page 33
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
8.1
Command Summary
The boot load operation uses the same data format/
protocol as the touch application. Commands are
described below.
TABLE 8-1:
COMMAND SUMMARY
CMND
NAME
DESCRIPTION
0x01
0xF0
0xF1
0xF2
0xF3
0xF4
0xF5
VERSION
RESET
Return version number and mode
Software device Reset
INIT
Initialize boot loader
WRITE
Write-memory contents
Read-memory contents
Flush Flash cache
READ
FLUSH
WRITE_MODE
Write nonvolatile BOOT mode value
STATUS code(s) returned in RESPONSE packet.
TABLE 8-2: COMMAND STATUS SUMMARY
CODE
NAME
DESCRIPTION
0x00
0x01
OK
No error
Packet was malformed, unrecognized or timed out
BAD PACKET
8.2
Command: VERSION
8.3
Command: RESET
Request firmware version packet – includes Boot
mode.
Execute a device Reset. If in USB mode, the device will
detach from the bus and re-enumerate.
COMMAND PACKET:
COMMAND PACKET:
TABLE 8-3:
BYTE#
COMMAND: VERSION
VALUE DESCRIPTION
TABLE 8-5:
BYTE#
COMMAND: RESET
VALUE DESCRIPTION
1
2
3
0x55
0x01
0x01
SYNC
SIZE
1
2
3
0x55
0x01
0xF0
SYNC
SIZE
COMMAND
COMMAND
RESPONSE PACKET:
None.
RESPONSE PACKET:
TABLE 8-4:
RESPONSE: VERSION
VALUE DESCRIPTION
BYTE#
1
2
3
4
6
7
8
0x55
SYNC
SIZE
0x06
STATUS
0x01
STATUS
COMMAND
VER_MAJOR VERSION (Major)
VER_MINOR VERSION (Minor)
VER_REV
VERSION (Revision – inter-
nal)
9
MODE
Boot mode
0: Normal
1: Write boot – upper Flash
2: Write application – lower
3: Write application – upper
DS41606B-page 34
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
RESPONSE PACKET:
8.4
Command: INIT
TABLE 8-9:
BYTE#
RESPONSE: WRITE
VALUE DESCRIPTION
Initialize the boot load process – executed as the first
step after Reset.
COMMAND PACKET:
1
2
3
4
0x55
2
SYNC
SIZE
TABLE 8-6:
BYTE#
COMMAND: INIT
VALUE DESCRIPTION
STATUS STATUS
0xF2 COMMAND (WRITE)
1
2
3
0x55
0x01
0xF1
SYNC
SIZE
8.6
Command: READ
COMMAND
Read from device Flash or EEPROM.
REMINDER: Flash data will be encrypted while
EEPROM data will not be encrypted.
RESPONSE PACKET:
TABLE 8-7:
BYTE#
RESPONSE: INIT
VALUE DESCRIPTION
COMMAND PACKET:
TABLE 8-10: COMMAND: READ
1
2
3
4
0x55
2
SYNC
SIZE
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
3
4
5
6
7
0x55
0x05
0xF3
STATUS STATUS
0xF1 COMMAND
SIZE
COMMAND
ADDR 07:00 ADDRESS
ADDR 15:08
8.5
Command: WRITE
The WRITEcommand facilitates programming Flash or
EEPROM. The Most Significant Byte of the 24-bit
address in the WRITE command dictates the destina-
tion. The AR1100 maps Flash to 0x000000 and
EEPROM, to 0xF00000.
ADDR 23:16
N
# Bytes to Read
RESPONSE PACKET:
COMMAND PACKET:
TABLE 8-11: RESPONSE: READ
TABLE 8-8:
BYTE#
COMMAND: WRITE
VALUE DESCRIPTION
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
0x55
N+2
1
2
0x55
N+4
SYNC
SIZE (N = # of data bytes
to read)
SIZE (N = # of data bytes
to write)
3
4
5
6
7
STATUS
0xF3
STATUS
3
0xF2
COMMAND
COMMAND
4
5
ADDR 07:00 ADDRESS
ADDR 15:08
[DATA 1]
...
6
ADDR 23:16
[DATA N]
7
[DATA 1]
...
DATA (to be written)
...
N+6
[DATA N]
2011 Microchip Technology Inc.
DS41606B-page 35
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
8.7
Command: FLUSH
8.8
Command: WRITE_MODE
The FLUSH command is required to write/flush any
data remaining in the internal cache at the end of a boot
load session.
The WRITE_MODE command is used to change the
operational mode of the bootloader. The four modes
are described in Table 8-16.
COMMAND PACKET:
COMMAND PACKET:
TABLE 8-12: COMMAND: FLUSH
TABLE 8-14: COMMAND: WRITE_MODE
BYTE#
VALUE
DESCRIPTION
BYTE#
VALUE
DESCRIPTION
SYNC
1
2
3
0x55
0x01
0xF4
SYNC
SIZE
1
2
3
4
5
6
7
0x55
0x05
0xF5
n/a
SIZE
COMMAND
COMMAND
n/a
RESPONSE PACKET:
TABLE 8-13: RESPONSE: FLUSH
n/a
M
1_Byte mode Code
BYTE#
VALUE
DESCRIPTION
1
2
3
4
0x55
2
SYNC
SIZE
RESPONSE PACKET:
TABLE 8-15: RESPONSE: WRITE_MODE
STATUS STATUS
0xF4 COMMAND
BYTE#
VALUE
DESCRIPTION
1
2
3
4
0x55
2
SYNC
SIZE
STATUS STATUS
0xF5 COMMAND
The boot load “MODE CODE” (referenced above) is a
1-byte value saved in nonvolatile memory to indicate
boot status.
TABLE 8-16: WRITE_MODECODES
Value
Description
0x00 Normal mode (application)
0x01 Programming/Flashing ‘upper’ application
0x02 Programming/Flashing ‘lower’ application
0x03 Programming/Flashing temporary ‘boot’
module
DS41606B-page 36
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
EEPROM MAP
9.0
TABLE 9-1:
EEPROM MAP
ADDR(D) ADDR(D)
Value
Description
0
00
...
USER
...
User-defined area
95
5F
60
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
70
71
72
73
74
75
76
77
...
96
0x55
RisetimeCapTimeout
RisetimeQuick
TouchThreshold
SensitivityFilter
SamplingFast
SamplingSlow
AccuracyFilterFast
AccuracyFilterSlow
SpeedThreshold
DitherFilter
HEADER – PARAMETER BLOCK
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
...
SleepDelay
PenUpDelay
TouchMode
TouchOptions
CalibrationInset
PenStateReportDelay
n/a
TouchReportDelay
RisetimeDefault
RisetimeModifier
Status
Debug
NOT USED
NOT USED
127
128
129
130
131
132
133
134
135
136
137
138
139
140
7F
80
81
82
83
84
85
86
87
88
89
8A
8B
8C
0x55
flags
HEADER – CALIBRATION DATA BLOCK
bit flags
nx
number of calibration point on X axis
number of calibration point on Y axis
inset
ny
inset
type
calibration type
nx_offset[0]
calculated 16-bit calibration point offset – xaxis
nx_offset[1]
nx_offset[2]
nx_offset[3]
calculated 16-bit calibration point offset – xaxis
calculated 16-bit calibration point offset – xaxis
calculated 16-bit calibration point offset – xaxis
Note 1: Locations 0xFE, 0xFF are off-limits and should not be overwritten.
2011 Microchip Technology Inc.
DS41606B-page 37
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
TABLE 9-1:
EEPROM MAP (CONTINUED)
ADDR(D) ADDR(D)
Value
Description
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
...
8D
8E
8F
90
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
A0
A1
A2
...
nx_offset[4]
ny_offset[0]
ny_offset[1]
ny_offset[2]
ny_offset[3]
ny_offset[4]
xy [0,0]
calculated 16-bit calibration point offset – xaxis
calculated 16-bit calibration point offset – yaxis
calculated 16-bit calibration point offset – yaxis
calculated 16-bit calibration point offset – yaxis
calculated 16-bit calibration point offset – yaxis
calculated 16-bit calibration point offset – yaxis
calibration point 0, X ordinate (16 bit)
xy [1,0]
calibration point 0, Y ordinate (16 bit)
xy [0,1]
calibration point 1, X ordinate (16 bit)
xy [1,1]
calibration point 1, Y ordinate (16 bit)
...
calibration point(s)
249
250
251
252
253
254
255
F9
FA
FB
FC
FD
FE
FF
xy [24,1]
xy [24,1]
calibration point 24, X ordinate (16 bit)
calibration point 24, Y ordinate (16 bit)
usb_mode
boot_mode
USB MODE (GENERIC, MOUSE, DIGITIZER)
BOOT MODE (0 = NORMAL/NON-BOOT)
Note 1: Locations 0xFE, 0xFF are off-limits and should not be overwritten.
DS41606B-page 38
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
10.0 ELECTRICAL SPECIFICATIONS
(†)
Absolute Maximum Ratings
Ambient temperature under bias......................................................................................................... -40°C to +85°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 above 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.
2011 Microchip Technology Inc.
DS41606B-page 39
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 40
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
11.0 PACKAGING INFORMATION
11.1 Package Marking Information
20-Lead SSOP (5.30 mm)
Example
AR1100
I/SS
e
3
1042256
20-Lead SOIC (7.50 mm)
Example
XXXXXXXXXXXX
XXXXXXXXXXXX
XXXXXXXXXXXX
AR1100
I/SO
e
3
1042256
YYWWNNN
20-Lead QFN (5x5x0.9 mm)
Example
PIN 1
PIN 1
AR1100
e
3
I/MQ
1042256
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.
2011 Microchip Technology Inc.
DS41606B-page 41
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
11.2 Ordering
TABLE 11-1: ORDERING PART NUMBERS
Part Number
Temperature Range
Package
Packing
AR1100-I/SS
AR1100T-I/SS
AR1100-I/SO
AR1100T-I/SO
AR1100-I/MQ
AR1100T-I/MQ
-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
SSOP, 20 pins
SSOP, 20 pins
SOIC, 20 pins
SOIC, 20 pins
QFN, 20 pins
QFN, 20 pins
Tube
T/R
Tube
T/R
Tube
T/R
DS41606B-page 42
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
11.3
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 ꢙꢉ$ꢉꢊꢉꢄꢍꢉꢅꢐꢃ&ꢉꢄ ꢃꢌꢄ'ꢅ! !ꢇꢈꢈꢋꢅ)ꢃ%ꢎꢌ!%ꢅ%ꢌꢈꢉꢊꢇꢄꢍꢉ'ꢅ$ꢌꢊꢅꢃꢄ$ꢌꢊ&ꢇ%ꢃꢌꢄꢅꢑ!ꢊꢑꢌ ꢉ ꢅꢌꢄꢈꢋꢁ
ꢒꢃꢍꢊꢌꢍꢎꢃꢑ ꢘꢉꢍꢎꢄꢌꢈꢌꢔꢋ ꢐꢊꢇ)ꢃꢄꢔ /ꢓꢗꢞꢓꢛꢏ.
2011 Microchip Technology Inc.
DS41606B-page 43
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS41606B-page 44
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
2011 Microchip Technology Inc.
DS41606B-page 45
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS41606B-page 46
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
2011 Microchip Technology Inc.
DS41606B-page 47
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
20-Lead Plastic Quad Flat, No Lead Package (MQ) 5x5x0.9 mm Body [QFN]
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS41606B-page 48
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
2011 Microchip Technology Inc.
DS41606B-page 49
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 50
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
APPENDIX A: DATA SHEET
REVISION HISTORY
Revision A (08/2011)
Original release of this data sheet.
Revision B (11/2011)
Updated schematic.
2011 Microchip Technology Inc.
DS41606B-page 51
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
APPENDIX B:
FIGURE B-1:
SCHEMATIC
FIGURE B-2:
BILL OF MATERIALS
Note:
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.
Unused SENSOR pins should be grounded.
DS41606B-page 52
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
INDEX
A
M
Absolute Maximum Ratings ................................................ 39
Microchip Internet Web Site................................................ 55
Migrating from other PIC Microcontroller Devices .............. 52
Mode
B
Boot Loader ........................................................................ 33
HID-DIGITIZER .......................................................... 17
HID-MOUSE............................................................... 14
UART, HID-GENERIC................................................ 14
Mode Detect/Select ............................................................ 13
C
Calibration........................................................................... 29
COMMAND
N
CALIBRATE................................................................ 22
EE_READ ................................................................... 23
EE_READ_PARAMS.................................................. 24
EE_WRITE.................................................................. 23
EE_WRITE_PARAMS ................................................ 24
REG_READ ................................................................ 22
REG_WRITE............................................................... 23
USB_MODE_DIGITIZER............................................ 24
USB_MODE_GENERIC ............................................. 24
USB_MODE_MOUSE................................................. 24
Command
Noise Considerations.......................................................... 11
O
Operation............................................................................ 29
Overview............................................................................... 5
P
Packaging........................................................................... 41
Marking....................................................................... 41
PDIP Details ............................................................... 43
Physical .............................................................................. 13
Power Requirements............................................................ 3
FLUSH ........................................................................ 36
INIT ............................................................................. 35
READ.......................................................................... 35
RESET........................................................................ 34
TOUCH_DISABLE...................................................... 22
TOUCH_ENABLE....................................................... 22
VERSION.................................................................... 34
WRITE ........................................................................ 35
WRITE_MODE............................................................ 36
Command Packets.............................................................. 17
Command Summary ........................................................... 34
Commands.......................................................................... 21
Communication............................................................... 3, 13
Configuration....................................................................... 29
Configuration Registers ...................................................... 25
Configure Sensor Type ....................................................... 31
Customer Change Notification Service ............................... 55
Customer Notification Service............................................. 55
Customer Support............................................................... 55
R
Reader Response............................................................... 56
Revision History.................................................................. 51
S
Schematic............................................................................. 9
Sensor Attachment ............................................................. 10
Sleep .................................................................................. 31
Special Features................................................................... 3
T
Touch Modes........................................................................ 3
Touch Reports.................................................................... 14
Touch Resolution.................................................................. 3
Touch Sensor Support.......................................................... 3
U
UART Mode........................................................................ 13
USB Mode .......................................................................... 14
USB Mode Change............................................................. 31
D
Data Protocol ...................................................................... 14
Device Overview ................................................................... 5
W
E
WWW Address ................................................................... 55
WWW, On-Line Support ....................................................... 4
EEPROM Map .................................................................... 37
Electrical Specifications ...................................................... 39
Errata .................................................................................... 4
ESD Considerations............................................................ 11
H
Hardware .............................................................................. 9
I
Implementation - Quick Start ................................................ 7
Internet Address.................................................................. 55
L
LED ..................................................................................... 31
2011 Microchip Technology Inc.
DS41606B-page 53
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
NOTES:
DS41606B-page 54
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 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.
2011 Microchip Technology Inc.
DS41606B-page 55
AR1100 RESISTIVE USB AND RS-232 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: (______) _________ - _________
Application (optional):
Would you like a reply?
Y
N
Device: AR1100 Resistive USB and RS-232 Touch Screen Controller
Literature Number: DS41606B
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?
DS41606B-page 56
2011 Microchip Technology Inc.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
(1)
[X]
PART NO.
X
/XX
XXX
-
Examples:
Device Tape and Reel
Option
Temperature
Range
Package
Pattern
a)
b)
AR1100 - I/MQ: Industrial temperature, 20LD
QFN Package.
AR1100T - I/MQ: Tape and Reel, Industrial
temperature, 20LD QFN Package
c)
d)
e)
f)
AR1100 - I/SO: Industrial temperature, 20LD
SOIC Package.
AR1100T - I/SO: Tape and Reel, Industrial tem-
perature, 20LD SOIC Package
AR1100 - I/SS: Industrial temperature, 20LD
SSOP Package
AR1100T - I/SS: Tape and Reel, Industrial tem-
perature, 20LD SSOP Package
Device:
AR1100: Resistive USB and RS-232 Touch Screen
Controller
AR1100T: Resistive USB and RS-232 Touch Screen
Controller (Tape and Reel)
Temperature
Range:
I
=
-40C to +85C (Industrial)
Package:
MQ
SO
SS
=
=
=
Plastic Quad Flat, No Lead Package
5x5x0.09 mm Body (QFN), 20-Lead
Plastic Small Outline - Wide, 7.50 mm Body (SO),
20-Lead
Plastic Shrink Small Outline - 5.30 mm Body (SS),
20-Lead
2011 Microchip Technology Inc.
DS41606B-page 57
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 - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
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
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
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 - Seoul
China - Chongqing
Tel: 86-23-8980-9588
Fax: 86-23-8980-9500
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
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
China - Hangzhou
Tel: 86-571-2819-3187
Fax: 86-571-2819-3189
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857
Fax: 60-3-6201-9859
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 - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
Taiwan - Hsin Chu
Tel: 886-3-5778-366
Fax: 886-3-5770-955
Indianapolis
Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-330-9305
Los Angeles
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
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
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
08/02/11
DS41606B-page 58
2011 Microchip Technology Inc.
相关型号:
AR1100-I/SS
SPECIALTY MICROPROCESSOR CIRCUIT, PDSO20, 5.30 MM, ROHS COMPLIANT, PLASTIC, SSOP-20
MICROCHIP
AR1100T-I/MQ
SPECIALTY MICROPROCESSOR CIRCUIT, PQCC20, 5 X 5 MM, 0.90 MM HEIGHT, ROHS COMPLIANT, PLASTIC, QFN-20
MICROCHIP
AR1100T-I/SO
SPECIALTY MICROPROCESSOR CIRCUIT, PDSO20, 7.50 MM, ROHS COMPLIANT, PLASTIC, SOIC-20
MICROCHIP
AR1100T-I/SS
SPECIALTY MICROPROCESSOR CIRCUIT, PDSO20, 5.30 MM, ROHS COMPLIANT, PLASTIC, SSOP-20
MICROCHIP
©2020 ICPDF网 联系我们和版权申明