English
Language : 

AR1000_16 Datasheet, PDF (36/61 Pages) Microchip Technology – AR1000 Series Resistive Touch Screen Controller
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER
9.3.5 REGISTER_READ – 0x20
Reads a value from a controller register location. This
can be used to determine a controller configuration
setting.
Configuration registers are defined as an Offset value
from the Start address for the register group. Read a
register as follows:
1. Issue the REGISTER_START_ADDRESS_REQUEST
command to obtain the Start address for the
register group.
2. Calculate the desired register’s absolute
address by adding the register’s Offset value to
Start address for the register group.
3. Issue this REGISTER_READ command, as
follows, using the calculated register’s absolute
address:
Send: <0x55><0x04><0x20><Register Address
High byte><Register Address Low
byte><# of Registers to Read>
Register Address High byte: 0x00
# of Registers to Read:
0x01 thru 0x08
Receive: <0x55><0x02 + # of Registers
Read><Response><0x20><Register
value>…<Register value>
The AR1000 controller will ignore the value entered for
the Register Address High Byte. However, 0x00 is
recommended to safeguard against any possible future
product development.
9.3.6 REGISTER_WRITE – 0x21
Write a value to a controller register location. This can
be used to change a controller configuration setting.
Configuration registers are defined as an Offset value
from the Start address for the register group. Write a
register as follows:
1. Issue the REGISTER_START_ADDRESS_REQUEST
command to obtain the Start address for the
register group.
2. Calculate the desired register’s absolute
address by adding the register’s Offset value to
Start address for the register group.
3. Issue this REGISTER_WRITE command, as
follows, using the calculated register’s absolute
address:
Send: <0x55><0x04 + # Registers to
Write><0x21><Register Address High
byte><Register Address Low byte>
<#
of
Registers
to
Write><Data>…<Data>
Register Address High byte: 0x00
# of Registers to Read:
0x01 thru 0x08
Receive: <0x55><0x02><Response><0x21>
The AR1000 controller will ignore the value entered for
the Register Address High Byte. However, 0x00 is
recommended to safeguard against any possible future
product development.
9.3.7
REGISTER_START_ADDRESS_REQUEST
– 0x22
Configuration registers are defined as an Offset value
from the Start address for the register group. This
command returns the Start address for the register
group.
Send: <0x55><0x01><0x22>
Receive:
<0x55><0x03><Response><0x22><Regi
ster Start Address>
9.3.8
REGISTERS_WRITE_TO_EEPROM –
0x23
Save Configuration register values to EEPROM. This
allows the controller to remember configurations
settings through controller power cycles.
Send: <0x55><0x01><0x23>
Receive: <0x55><0x02><Response><0x23>
9.3.9 EEPROM_READ – 0X28
The controller has 256 bytes of on-board EEPROM.
• The first 128 bytes (address range 0x00-0x7F)
are reserved by the controller for the
Configuration register settings and calibration
data.
• The second 128 bytes (address range
0x80-0xFF) are provided for the user’s
application, if desired.
This command provides a means to read values from
the EEPROM.
Send: <0x55><0x04><0x28><EEPROM Address
High byte><EEPROM Address Low
byte><# of EEPROM to Read>
Register Address High byte: 0x00
# of Registers to Read: 0x01 thru 0x08
Receive: <0x55><0x02
+
#
EEPROM
Read><Response><0x28><EEPROM
value>…<EEPROM value>
The AR1000 controller will ignore the value entered for
the EEPROM Address High Byte. However, 0x00 is
recommended to safeguard against any possible future
product development.
DS40001393C-page 36
 2009-2016 Microchip Technology Inc.