I/OSpecifications
PS/2 Command Set Implementation
The following commands are implemented. All other commands will cause an FE (resend) response from the
ADNS-2001. A second invalid command will cause an FC (error) response from the ADNS-2001.
Valid Values
Hex Command Mnemonics for
and Response Command and
and Default Value
after Software or
Hardware Reset
Mnemonic for
Command
Bytes
Response Bytes
FF ACK ID DT
FE nn...
Description
RESET
FF FA AA 00
FE nn...
Soft reset ID = AA, DT = 0
RESEND
Resend last byte (i.e., ACK)
or packet
SET_DFS
DISABLE
ENABLE
F6 FA
F5 FA
F4 FA
F6 ACK
Default setting
F5 ACK
Disable stream mode
Enable stream mode
Set sampling rate
(defaultmode)
F4 ACK
SET_SAMPLING F3 FA nn FA
F3 ACK nn ACK
(0A 14 28 3C 50 64 C8)
10 20 40 60 80 100120
reports/second
READ_DT
ECHO
F2 FA 00
EE FA
F2 ACK DT
EE ACK
Responds with DT = 00
Echo all further commands
until NO_ECHO or RESET
NO_ECHO
EC FA
EC ACK
Respond to following
commands normally
READ_DATA
SET_STREAM
SET_PROMPT
STATUS
EB FA nn nn nn EB ACK nn nn nn
Request a data packet
See IBM PS/2 Mouse
Technical Reference
EA FA
F0 FA
EA ACK
F0 ACK
Respond with data packets
at the sample rate
(defaultmode)
Data only sent on
READ_DATA
E9 FA nn nn nn E9 ACK nn nn nn
Request status packet
See IBM PS/2 Mouse
Technical Reference
SET_SCALE
LIN_SCALE
SET_RES
E7 FA
E7 ACK
Pseudo log
Linear
E6 FA
E6 ACK
(defaultmode)
E8 FA nn FA
E8 ACK nn ACK
Set resolution
(00 01 02 03)
2 4 8 16counts/mm)
DISABLE_TEST
E8 FA AA FA
E8 ACK AA RESEND
For test purposes only
Default mode after
hardware reset
8