English
Language : 

AR1000_16 Datasheet, PDF (43/61 Pages) Microchip Technology – AR1000 Series Resistive Touch Screen Controller
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER
1. Send the DISABLE_TOUCH (0x13) command.
2. Send the
REGISTER_START_ADDRESS_REQUEST
(0x22) to determine the absolute address for
TouchOptions Register.
3. Send the REGISTER_WRITE (0x21) command
to set the CCE bit of the TouchOptions Register.
4. Send REGISTERS_WRITE_TO_EEPROM (0x23)
command to have all current registers stored
into EEPROM.
5. Send the AR1000 ENABLE_TOUCH (0x12)
command.
The controller will use the stored calibration data after
cycling power to the controller.
10.2.4
EEPROM_WRITE COMMAND TO
STORE DEFAULT CALIBRATION
The EEPROM_WRITE command is shown in this
section. See Section 9.0 “Commands” for more
command details.
<> = application specific value
Send to AR1000:
0x55
Header
0x<>
Number of bytes to follow this one
0x29
Command ID
0x00
Desired EEPROM address to write high
byte. Always 0x00
0x<>
Desired EEPROM address to write low
byte
0x<>
Number of consecutive EEPROM
addresses to write (supports 0x01 to 0x08)
0x<>
Value # 1 to write
0x<>
Value # 2 to write, if applicable
0x<>
Value # 3 to write, if applicable
0x<>
Value # 4 to write, if applicable
0x<>
Value # 5 to write, if applicable
0x<>
Value # 6 to write, if applicable
0x<>
Value # 7 to write, if applicable
0x<>
Value # 8 to write, if applicable
Response from AR1000:
0x55
Header
0x02
Number of bytes to follow this one
0x00
Success response
0x29
Command ID
10.2.5 QUALITY TEST
Although not required, a level of quality assurance can
be added to the process by the application issuing
multiple EEPROM_READ commands to the AR1000.
The response data from the EEPROM_READ commands
would be tested by the application against the
application’s desired data as a quality check.
10.2.6 EXAMPLE COMMAND SEQUENCE
An example eight command sequence for the entire
process is shown below.
All values shown are in hexadecimal.
Calibration values are applications specific and have
been symbolically represented as follows:
ULxL = Upper Left corner x-coordinate Low byte
:
LLyH = Lower Left corner y-coordinate High byte
DISABLE_TOUCH
 2009-2016 Microchip Technology Inc.
DS40001393C-page 43