English
Language : 

AR1000_16 Datasheet, PDF (31/61 Pages) Microchip Technology – AR1000 Series Resistive Touch Screen Controller
AR1000 SERIES RESISTIVE TOUCH SCREEN CONTROLLER
9.1.3
DISABLE TOUCH BEFORE
SENDING SUBSEQUENT
COMMANDS
The AR1000 does not support full duplex
communications. It cannot send touch reports to the
host simultaneously with receiving commands from the
host.
Disable AR1000 touch reporting prior to sending any
other command(s), then re-enable touch reporting
when complete with executing other commands.
1. Send the DISABLE_TOUCH command.
Check for expected command response.
2. Send a desired command.
Check for expected command response.
3. Repeat at step 2 if another command is to be
sent.
4. Send the ENABLE_TOUCH command.
Check for expected command response.
9.1.4 CONFIRM COMMAND IS SENT
Confirm each command sent to the AR1000, prior to
issuing another command, to ensure it is executed.
This is accomplished by evaluating the AR1000
response to a command that has been sent to it.
Check for each of the following five conditions to be
met (See Table 9-4).
TABLE 9-4: COMMAND RESPONSE ERROR CONDITIONS
Condition
Header
Size
Status
ID
Data
Response Byte
1
2
3
4
5 to end
Description
Header 0x55 value is expected
Size 0x<> value to match what is expected for command sent
Status 0x00 “success” value is expected
Command ID 0x<> value to match what is expected (ID of sent command)
Data byte count to match what is expected for command sent
0x<> represents a value that is dependent on the
command.
An error has occurred if no response is received at all
or if any of the above conditions are not met in the
response from the AR1000. If an error condition
occurs, delay for a period of ~50 ms then send the
same command again.
 2009-2016 Microchip Technology Inc.
DS40001393C-page 31