QT60161B-A QUANTUM [Quantum Research Group], QT60161B-A Datasheet - Page 19
![no-image](/images/no-image-200.jpg)
QT60161B-A
Manufacturer Part Number
QT60161B-A
Description
16 KEY QMATRIX KEYPANEL SENSOR IC
Manufacturer
QUANTUM [Quantum Research Group]
Datasheet
1.QT60161B-A.pdf
(36 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
QT60161B-ASG
Manufacturer:
FREESCALE
Quantity:
21 956
be reprogrammed by the host or the device can be reset to
allow the eeprom to be updated from Flash memory (see
Section 4.8).
The checksum is a simple 8-bit carry fold-back type. Changes
to multiple Setups can generate identical checksums.
Changes to one location only will always produce a different
checksum. An identical change to 2, 4, 8, or all 16 keys is
more prone to generating an identical checksum. A unique
checksum can be obtained again by altering any Setup for
another key (i.e. an unused key) to be different.
After any Setups change, the checksum will not be valid until
after the device has been reset.
Note that the status byte returned by the ‘7’ command
contains a bit that is set if there is an error in eeprom data;
this feature operates independently of the checksum
command.
There is no put version of the command.
Section 2.11, p. 7
Numeric '7'. Returns the part's general status byte which is a
4-bit pattern as follows:
Higher bits report as 0's and are not used.
This command can be used as a general 1-byte status
response; if one or more bits are set, the host can take
further relevant action to narrow down the specific issue, such
as which key is being touched or in error, via other
commands.
Space character. Same function as 0x30 above except
returns a group response for 4 keys (if Scope = row or
column) or 16 keys (if Scope = 'all keys'). If no group scope
has been selected, returns data for all keys (32 bytes).
Two bytes are returned for each key; the least significant byte
is always returned first.
Exclamation character. Same function as 0x31 above except
returns a group response for 4 or 16 keys depending on
scope. If no group scope has been selected, returns data for
all 16 keys (16 bytes). The values returned are limited to the
range 0..255.
lQ
7
<
!
SP
Put
Get
Put
Get
Put
Get
Bit 0: 1= one or more keys are in detection
Bit 1: 1= one or more keys are recalibrating
Bit 2: 1= one or more keys are reporting errors
Bit 3: 1= sync fail; the part is not synchronized to an
Bit 4: 1 = Eeprom / Flash contents discrepancy
>
0
0
X
X
37 - G
21 - D
0
X
20 - S
external source (if in that mode; see Section 3.14).
Scope
Scope
Scope
4, 16
4, 16
n/a
n/a
n/a
n/a
ELTA
ENERAL
IGNAL
S
Bytes / Cmd
Bytes / Cmd
IGNALS FOR
Bytes / Cmd
D
L
EVICE
EVELS FOR
n/a
n/a
n/a
1
1
1
S
TATUS
G
ROUP
# Bytes Rtnd
# Bytes Rtnd
# Bytes Rtnd
G
ROUP
8 or 32
4 or 16
n/a
n/a
n/a
1
©Quantum Research Group Ltd.
0x00..0x1F
0x00..0xFF
0..0xFFFF
Returns
Returns
Returns
n/a
n/a
n/a
19
Double quote character. Same function as 0x32 above except
returns a group response for 4 or 16 keys depending on
scope. If no group scope has been selected, returns data for
all 16 keys (32 bytes).
Percent character. Same function as 0x35 above except
returns a group response of 4 bytes (Scope = row or column)
or 16 bytes (Scope = 'All keys'). If no group scope has been
selected, returns data for all 16 keys.
Section 2.11, p. 7
Lowercase 'E'. Returns the error byte for a selected key
defined by the 's' command. A 4-bit pattern is returned:
Refer also to Section 2.10.
F, Bit 0 is set if it failed to calibrate properly during a forced
recalibration. The sensor will automatically make 5 sequential
attempts at recalibration before setting this flag.
R, Bit 1 is set if the key is in the process of a full
recalibration. When bit 1 is set, bits 2 and 3 are cleared.
H, Bit 2 when set indicates that the key's reference level has
exceeded the upper boundary described in Section 2.8 and
as defined by Command ^N (page 23).
L, Bit 3 when set indicates that the key's reference level falls
below the lower boundary described in Section 2.8 and as
defined by Command ^O (page 23).
If either H or L are set, it means that the key is probably
defective.
"
%
e
b7
u
Get
Get
Get
Put
Put
Put
F: 1= failed last full recalibration attempt
R: 1= key is in process of full recalibration
H: 1= key reference is high (above normal bounds)
L: 1= key reference is low (below normal bounds)
u: undefined
0
0
0
X
X
X
22 - R
65 - E
25 - D
b6
u
Scope
Scope
Scope
4, 16
4, 16
n/a
n/a
n/a
1
EFERENCE
RROR
ETECT
www.qprox.com QT60161B / R1.03
b5
u
C
Bytes / Cmd
Bytes / Cmd
Bytes / Cmd
I
ODE FOR
NTEGRATOR
L
n/a
n/a
n/a
1
1
1
b4
EVELS FOR
u
S
ELECTED
b3
C
L
# Bytes Rtnd
# Bytes Rtnd
# Bytes Rtnd
OUNTS FOR
G
8 or 32
4 or 16
ROUP
n/a
n/a
n/a
1
K
b2
H
EY
G
ROUP
b1
R
0x00..0xFF
0x00..0x0F
0..0xFFFF
Returns
Returns
Returns
n/a
n/a
n/a
b0
F