Table 4.2 Command Summary
Page
Hex
Name
Description
#/Cmd # rtnd Rtn range CRC
Notes
Flushes pending data from QT; one required to extract each response
0x00 Null command
Used to get data back in SPI mode
1
1
0..0xFF
-
13
byte.
First 0xFE issued when ready to get data, second 0xFE issued when
all loaded and burned; else timeout.
If 2 commands not received in 100ms, times out and no response is
issued. Part will timeout if each byte not received within 100ms of
previous byte.
Enter Setups, stop sensing; followed by block
load of binary Setups of length ‘nn’. Command
must be repeated 2x consecutively without any
intervening command in 100ms to execute.
Sensing auto-restarts, however, the device
should be reset after the block load to ensure
all new setups will take effect.
0xFE
+ 0xFE
If CRC failure, returns 0x00 instead of 0xFE
Enter Setups
2 + nn
+ 2
2
0x01
OR
16 Data block length is ‘nn’ + 2 (CRC-16). LSL and CRC should be sent
low byte first. A CRC of 0x0000 is also acceptable in which case
the CRC is not checked.
14
mode
0xFE
+ 0x00 (err)
Internal EEPROM will update regardless of CRC health, but, if the
CRC is bad, the EEPROM will be declared invalid and thus on
reset the EEPROM will be restored from flash backup, overwriting
the desired (but corrupt) new setups.
Force device to recalibrate all keys; reenters
RUN mode afterwards automatically; 0x03
must be repeated 2x consecutively without any
intervening command in 100ms to execute
Force device to reset. Command must be
repeated 2x consecutively without any
intervening command in 100ms to execute
Returns 1’s complement of command to acknowledge cmd once the
cal has been initiated.
0x03 CAL all
2
2
1
1
0xFC
0xFB
-
14
14
If 2 commands not received in 100ms, times out and no response is
issued.
Returns 1’s complement of command to acknowledge command prior
0x04 Force reset
-
to reset. If 2 commands not received in 100ms, times out and no
response is issued.
Bit 7: reserved
Bit 6: 1= comms error: unrecognized command received
This bit can be reset by 0x0F cmmd
Bit 5: 1= FMEA failure
Bit 4: 1= eeprom is corrupt
0x05 General status
Get general part status.
1
2
2
0..0xFF
8
Bit 3: 1= line sync failure
14
Bit 2: 1= cal failed 5 times on an enabled key, or, an enabled key has
a low reference (Ref < lower sig lim)
Bit 1: 1= any key in calibration
Bit 0: 1= any key is in detect
Last return byte is CRC-8 of cmmd + return data
Bit 7: 1= indicates 2 or more touches if set.
Bit 6: 1= any of the following prevail: calibrating, key(s) failed cal 5
times, sync fail, comms error, FMEA failure, EEPROM corrupt.
Bits 5..0: indicates key number (0..47) of first key touched; reads
0x3F (63 decimal) if no touch. 2nd return byte is CRC-8 of cmmd
+ return data
0x06 Report 1st key
Get indication of first touched key + others
1
0..0xFF
8
15
0..0xFF
6 bytes
0x07 Report all keys
0x08 Signals for all
Sends back all key detect status bits (bitfield)
Sends back all key signal levels
1
1
7
8
-
Last return byte is CRC-8 of cmmd + return data
15
15
0..0xFFFF
Returns block data for all keys’ signals
The low order byte is returned first.
96
48 words
lQ
18
QT60486-AS R8.01/0105