AR1100 Resistive USB and RS-232 Touch Screen Controller Data Sheet 2011 Microchip Technology Inc.
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER AR1100 Resistive USB and RS-232 Touch Screen Controller Special Features: 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 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.
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..............................................
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.
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.
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 HARDWARE 3.
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: “Schematic” and FIGURE B-2: “Bill of Materials”. FIGURE 3-1: Note: 3.3 SIMPLIFIED SCHEMATIC Unused SENSOR grounded. pins should be Sensor Attachment AR1100 connections to the various sensor types are described graphically in Figure 3-2. FIGURE 3-2: DS41606B-page 10 SENSOR EQUIVALENT CIRCUIT MODELS 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: 3.5 ESD protection diodes are recommended for all active sensor lines but care should be taken to minimize capacitance.
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 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 factory default is HID-MOUSE. 1. 2. 3. 4. UART/Serial HID-GENERIC HID-MOUSE HID-DIGITIZER 4.1.
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.
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 1 R R R R R R 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’ (even
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 4.2.1.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 4.2.1.
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 0x55 N DATA D[1] D[N] COMMAND A COMMAND packet has a minimum of 3 bytes defined as SYNC, SIZE and CMND.
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. 2. 3. Configuration Calibration 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).
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 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.
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 5.4 The CALIBRATE command initiates the controller-based calibration sequence. A RESPONSE packet is returned for each calibration point touched.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 5.6 Command: REG_WRITE Write one or more operational registers.
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 1 0x55 SYNC 2 2 SIZE 3 STATUS 4 0x23 5.10 DESCRIPTION 5.11 Command: USB_MODE_GENERIC Set default USB mode (device type) to “HID-GENERIC”.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 6.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 6.1 Register 0: RisetimeCapTimeout (ADVANCED – DO NOT CHANGE) 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.
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.
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.
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 (parameter registers). This is easily accomplished using the commands described in Section 5.0, Commands. The recommended procedure is as follows: 1.
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER • host presents last target (9th in this example) • operator touches (and releases) sensor at last target <0x55> <0x07> <0x00> <0x14> <0x08> <0xXX> <0xXX> <0xYY> <0xYY> • the 5th byte indicates the calibration point 0x08 (the 9th) • 0xXXXX and 0xYYYY are 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> 7.
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 8.0 BOOT LOADER The boot load process and associated commands enables the host to reprogram the AR1100. Because the size of the Flash program memory cannot accommodate both a boot load section and application section, the AR1100 is programmed in sections using 3 passes. With each pass, a USB device will necessarily re-enumerate. Note: The boot load operation is supported only in UART and HID-GENERIC communication modes. Refer to Section 7.
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 8.4 Command: INIT RESPONSE PACKET: Initialize the boot load process – executed as the first step after Reset. TABLE 8-9: RESPONSE: WRITE BYTE# VALUE COMMAND PACKET: 1 0x55 SYNC TABLE 8-6: 2 2 SIZE 3 STATUS 4 0xF2 BYTE# COMMAND: INIT VALUE DESCRIPTION 1 0x55 SYNC 2 0x01 SIZE 3 0xF1 COMMAND 8.6 DESCRIPTION STATUS COMMAND (WRITE) Command: READ Read from device Flash or EEPROM.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 8.7 Command: FLUSH The FLUSH command is required to write/flush any data remaining in the internal cache at the end of a boot load session. 8.8 Command: WRITE_MODE The WRITE_MODE command is used to change the operational mode of the bootloader. The four modes are described in Table 8-16.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER 9.0 EEPROM MAP TABLE 9-1: EEPROM MAP CALIBRATION PARAMETERS USER ADDR(D) ADDR(D) 0 00 ... ...
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER TABLE 9-1: EEPROM MAP (CONTINUED) ADDR(D) ADDR(D) 141 8D 142 8E 143 8F 144 90 145 91 146 92 147 93 148 94 149 95 150 96 151 97 152 98 153 99 154 9A 155 9B 156 9C 157 9D 158 9E 159 9F 160 A0 161 A1 162 A2 ... ...
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 ....................................................
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 e3 1042256 20-Lead SOIC (7.50 mm) Example XXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXX AR1100 I/SO e3 1042256 YYWWNNN 20-Lead QFN (5x5x0.9 mm) PIN 1 Example PIN 1 AR1100 I/MQ e3 1042256 Legend: XX...
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 -40°C to +85°C SSOP, 20 pins Tube AR1100T-I/SS -40°C to +85°C SSOP, 20 pins T/R AR1100-I/SO -40°C to +85°C SOIC, 20 pins Tube AR1100T-I/SO -40°C to +85°C SOIC, 20 pins T/R AR1100-I/MQ -40°C to +85°C QFN, 20 pins Tube AR1100T-I/MQ -40°C to +85°C QFN, 20 pins 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.
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.
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.
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 Microchip Technology Drawing C04-120A 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.
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.
AR1100 RESISTIVE USB AND RS-232 TOUCH SCREEN CONTROLLER APPENDIX B: FIGURE B-1: SCHEMATIC FIGURE B-2: BILL OF MATERIALS 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. Note: 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 HID-DIGITIZER .......................................................... 17 HID-MOUSE ............................................................... 14 UART, HID-GENERIC ............................................
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.
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.
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. [X](1) PART NO. Device Device: - X Tape and Reel Temperature Option Range /XX XXX Package Pattern Resistive USB and RS-232 Touch Screen Controller AR1100T: Resistive USB and RS-232 Touch Screen Controller (Tape and Reel) Temperature Range: I Package: MQ = Plastic Quad Flat, No Lead Package 5x5x0.
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 Web Address: www.microchip.