qt60325 Quantum Research Group, qt60325 Datasheet - Page 21

no-image

qt60325

Manufacturer Part Number
qt60325
Description
32, 48, 64 Key Qmatrix Keypanel Sensor Ics
Manufacturer
Quantum Research Group
Datasheet
5.2 Scope Commands
The host should always set the scope parameter when
initializing the part during normal operation as well as during
setup. Scope commands are persistent and apply to all
subsequent functions that are affected by scope, until a
different scope command is issued. On powerup or after reset
the device defaults to scope = 'all keys'.
Many functions only address one key regardless of the
current scope; in these cases the key being addressed is
always the key last set by the 's' or 'x' and 'y' commands. If
the 's' command was last set to key #9 (x=1, y=1), then even
though the 'S' command was issued afterwards the one-key
scope will remain key '9'. If 'x' were subsequently set to 2 then
one-key scope will be key x=2, y=1 (key #10). If 'y' were
subsequently set to 3, then one-key scope will be key x=2 /
y=3 (key #26). This rule operates for commands in either Put
or Get modes.
Key numbering convention: The numbering of keys goes by
row then column. For example, the key in row X=3, column
Y=1 (X3Y1) is key 11. The formula for conversion of an X-Y
location to a key number is:
Row and column numbers are per Fig. 1-6. Keys are acquired
in this same burst sequence, i.e. X0Y0, X1Y0, X2Y0 etc.
Lowercase 'S'. Targets a specific individual key for all further
functions that are affected by scope. The second byte must
contain a binary key number from 0..63 decimal.
Uppercase 'S'. Addresses all keys in the matrix for all further
functions that can target a group of keys.
Lowercase 'X'. Targets keys in a specific row for functions
that can address key groups. The second byte must contain a
row number from 0..7. This command also affects scope for
single-key commands.
Lowercase 'Y'. Targets keys in a specific column for functions
that can address key groups. The second byte is a binary
column number from 0..7. This command also affects scope
for single-key commands.
lQ
s
S
x
y
Put
Get
Put
Get
Put
Get
Put
Get
key_number = X_row + (Y_column x 8)
0
0
0
0
X
X
X
X
73 - S
78 - R
79 - C
53 - A
Scope
Scope
Scope
Scope
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
PECIFIC
OW
OLUMN
LL
K
K
EYS
EYS
Bytes / Cmd
Bytes / Cmd
Bytes / Cmd
Bytes / Cmd
K
K
EYS
S
EY
S
n/a
n/a
n/a
n/a
COPE
2
1
2
2
COPE
S
S
COPE
COPE
2nd Byte Range
2nd Byte Range
2nd Byte Range
2nd Byte Range
0x00..0x3F
0x00..0x07
0x00..0x07
n/a
n/a
n/a
n/a
n/a
© Quantum Research Group Ltd.
Returns
Returns
Returns
Returns
0x73
0x53
0x78
0x79
n/a
n/a
n/a
n/a
21
5.3 Status Commands
Status commands cause the sensor to report back
information related to keys and their signals.
It is not necessary to set the part to Get mode with these
commands, although it is advised to leave the part in Get
mode as a normal precaution (see Section 5.1)
Numeric '0'. Returns the signal level in 8-bit unsigned binary
for one key whose location is determined by scope. Note that
the signal level is inverted: decreasing values correspond to
more touch due to the physics of key detection described in
Section 1.1.
Numeric '1'. Returns the value {Reference - Signal} in
unsigned 8-bit binary for one key whose location is
determined by scope. If Signal > Reference, the result is
truncated to zero.
Increasing amounts of this value correspond to increasing
amounts of touch as the sign of signal is inverted (see 0x30
above).
Numeric '2'. Returns the Reference value in unsigned 8-bit
binary for one key whose location is determined by scope.
Section 1.2, p. 4
Numeric '3'. Returns the R2R offset value in unsigned 8-bit
binary for one key whose location is determined by scope.
This function is useful primarily for circuit diagnostics or for an
independent determination of proper circuit operation.
Section 1.2, p. 4
Numeric '4'. Returns the Cz state for one key whose location
is determined by scope. This function is useful primarily for
circuit diagnostics or for an independent determination of
circuit operation after calibration. A higher value indicates
more Cz cancellation is being applied to compensate for Cx;
a value of 2 indicates both Cz caps are being switched in.
0
1
2
3
4
Get
Get
Get
Get
Get
Put
Put
Put
Put
Put
0
0
0
0
0
X
X
X
X
X
30 - S
31 - D
32 - R
33 - R2R O
34 - C
Scope
Scope
Scope
Scope
Scope
n/a
n/a
n/a
n/a
n/a
1
1
1
1
1
IGNAL FOR
ELTA
EFERENCE
Z
S
TATE
S
FFSET
Bytes / Cmd
Bytes / Cmd
Bytes / Cmd
Bytes / Cmd
Bytes / Cmd
IGNAL FOR
www.qprox.com
S
V
n/a
n/a
n/a
n/a
n/a
1
1
1
1
1
INGLE
ALUE
S
K
INGLE
EY
# Bytes Rtnd
# Bytes Rtnd
# Bytes Rtnd
# Bytes Rtnd
# Bytes Rtnd
n/a
n/a
n/a
n/a
n/a
K
1
1
1
1
1
EY
QT60xx5 / R1.05
0x00..0xFF
0x00..0xFF
0x00..0xFF
0x00..0xFF
0x00..0x02
Returns
Returns
Returns
Returns
Returns
n/a
n/a
n/a
n/a
n/a

Related parts for qt60325