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
1
1
0..0xFF
-
11
Null command
Used to get data back in SPI mode
0x00
byte.
First 0xFE issued when ready to get data, second 0xFE issued when
all loaded and burned; else timeout.
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
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.
+ 0xFE
2
Enter Setups
mode
2
+100
+1
OR
-
12
0x01
If CRC failure, returns 0x00 instead of 0xFE
Data block length is 100 + 1 (added +1 byte is CRC-8). LSL should be
sent low byte first. A CRC of 0x00 is also acceptable in which
case the CRC is not checked.
0xFE
+ 0x00 (err)
The internal EEPROM will be programmed regardless of CRC health.
Force device to recalibrate all keys; re-enters
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.
CAL all
2
2
1
1
0xFC
0xFB
-
-
12
12
0x03
0x04
If 2 commands not received in 100ms, times out and no response is
issued.
Returns 1’s complement of command to acknowledge command prior
to reset. If 2 commands not received in 100ms, times out and no
response is issued.
Force reset
Bit 7: reserved
Bit 6: 1= comms error: unrecognized command received
This bit can be reset by the 0x0F cmmd
Bit 5: 1= FMEA failure
Bit 4: 1= Reserved
General status
Report 1st key
Get general part status.
1
2
0..0xFF
0..0xFF
Yes Bit 3: 1= line sync failure
12
0x05
Bit 2: 1= cal failed 5 times on an enabled key, or, an enabled key has
a low reference (Ref < LSL)
Bit 1: 1= any key in calibration
Bit 0: 1= any key is in detect
2nd 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 conditions prevail: calibrating, key(s)
failed cal 5 times, sync fail, comms error, FMEA failure.
Get indication of first touched key + others
1
1
2
4
Bit 5: Unused
13
13
Yes
0x06
0x07
Bits 4..0: indicates key number (0..23) of first key touched; reads
0x1F (31 decimal) if no touch.
2nd return byte is CRC-8 of cmmd + return data
0..0xFF
3 bytes
Report all keys Sends back all key detect status bits (bitfield)
Error flags for all Error bit fields
Yes 4th return byte is CRC-8 of cmmd + return data
0..0xFF
1
1
4
2
4th return byte is CRC-8 of cmmd + return data
2nd return byte is CRC-8 of cmmd + return data
13
13
Yes
Yes
0x0B
0x0C
3 bytes
0..0xFF
FMEA status
FMEA bitfield on X, Y lines
lQ
16
QT60248-AS R4.02/0405