LQQT60325, QT60485, QT60645
PRELIMINARY
32, 48, 64 K
EY
QMatrix
K
EYPANEL
S
ENSOR
IC
S
Advanced second generation QMatrix controllers
Up to 32, 48 or 64 touch keys through any dielectric
Panel thicknesses to 5 cm or more
100% autocal for life - no adjustments required
Keys individually adjustable for sensitivity, response time,
and many other critical parameters
Mix and match key sizes & shapes in one panel
Passive matrix - no components at the keys
Moisture suppression capable
AKS™ - Adjacent Key Suppression feature
Synchronous noise suppression
Sleep mode with wake pin
SPI Slave or Master/Slave interface to a host controller
Low overhead communications protocol
44-pin TQFP package
APPLICATIONS
Automotive panels
Machine tools
ATM machines
Touch-screens
Appliance controls
Outdoor keypads
Security keypanels
Industrial keyboards
The QT60325, QT60485, and QT60645 digital charge-transfer (“QT”) QMatrix™ ICs are designed to detect human touch on up to
32, 48, or 64 keys respectively using a scanned, passive X-Y matrix. It will project the keys through almost any dielectric, e.g.
glass, plastic, stone, ceramic, and even wood, up to thicknesses of 5 cm or more. The touch areas are defined as simple 2-part
interdigitated electrodes of conductive material, like copper or screened silver or carbon deposited on the rear of a control panel.
Key sizes, shapes and placement are almost entirely arbitrary; sizes and shapes of keys can be mixed within a single panel of
keys and can vary by a factor of 20:1 in surface area. The sensitivity of each key can be set individually via simple functions over
the SPI port, for example via Quantum’s QmBtn program. Key setups are stored in an onboard eeprom and do not need to be
reloaded with each power-up.
These ICs are designed specifically for appliances, electronic kiosks, security panels, portable instruments, machine tools, or
similar products that are subject to environmental influences or even vandalism. They permit the construction of 100% sealed,
watertight control panels that are immune to humidity, temperature, dirt accumulation, or the physical deterioration of the panel
surface from abrasion, chemicals, or abuse. To this end the devices contain Quantum-pioneered adaptive self-calibration, drift
compensation, and digital filtering algorithms that make the sensing function robust and survivable. The devices use short dwell
times and Quantum’s patent-pending AKS™ feature to permit operation in wet environments.
The parts use a passive key matrix, dramatically reducing cost over older technologies that require an ASIC for every key. The
key-matrix can be made of standard flex material (e.g. Silver on PET plastic) or ordinary PCB material to save cost.
External circuitry consists of an opamp, R2R ladder-DAC network, a common PLD, a FET switch, and a small number of resistors
and capacitors which can fit into a footprint of roughly 8 sq. cm (1.5 sq. in). Control and data transfer is via a SPI port which can
be configured in either a Slave or Master/Slave mode.
QT60xx5 ICs make use of an important new variant of charge-transfer sensing, transverse charge-transfer, in a matrix format that
minimizes the number of required scan lines to provide a high economy of scale.
lQ
Copyright © 2001 Quantum Research Group Ltd
Pat Pend. R1.05/0802
SS
YG
X7
DRDY
LED
Vss
Vdd
MS
AIN
CSR
CZ1
X3
X4
X5
X6
XS
Vdd
Vss
YC0
YC1
YC2
YC3
MOSI
MISO
SCLK
RST
Vdd
Vss
XTO
XTI
X0
X1
X2WS YC4
YC5
YC6
YC7
AVdd
AGnd
Aref
YS2
YS1
YS0
CZ21
2
3
4
5
6
7
8
9
10
11 23
24
25
26
27
28
29
30
31
32
33
44 43 42 41 40 39 38 37 36 34
35
12 13 14 22
21
19 2018
17
1615
QT60325
QT60485
QT60645
TQFP-44
QT60645-AS-40
0
C to +105
0
C
QT60485-AS-40
0
C to +105
0
C
QT60325-AS-40
0
C to +105
0
C
QT60645-S0
0
C to +70
0
C
QT60485-S0
0
C to +70
0
C
QT60325-S0
0
C to +70
0
C
TQFPT
A
AVAILABLE OPTIONS
21
1 0x31 - Delta Signal for Single Key
.......................
21
0 0x30 - Signal for Single Key
..........................
21
5.3 Status Commands
.................................
21
y 0x79 - Column Keys Scope
...........................
21
x 0x78 - Row Keys Scope
.............................
21
S 0x53 - All Keys Scope
..............................
21
s 0x73 - Specific Key Scope
...........................
21
5.2 Scope Commands
.................................
20
p 0x70 - Put Command
..............................
20
g 0x67 - Get Command
..............................
20
5.1 Direction Commands
...............................
20
5 Commands & Functions
.............................
19
4.6 Eeprom Corruption
.................................
19
4.5 Sensor Echo and Data Response
.......................
18
4.4 SPI Master-Slave Mode
.............................
16
4.3 SPI Slave-Only Mode
...............................
16
4.2 Protocol Overview
.................................
16
4.1 Serial Port specifications
.............................
16
4 Serial Interface
.....................................
16
3.22 ESD / Noise Considerations
..........................
15
3.21 Power Supply and PCB Layout
........................
15
3.20 Oscilloscope Sync
................................
15
3.19 CSR Drive Polarity
................................
15
3.18 LED / Alert Output
................................
14
3.17 Sleep_Wake / Noise Sync
...........................
14
3.16 Startup / Calibration Times
..........................
14
3.15 Oscillator
.......................................
14
3.14 Reset Input
.....................................
14
3.13 Water Film Suppression
............................
13
3.12 R2R Resistor Ladder
..............................
13
3.11 Sample Capacitors
................................
13
3.10 Opamps
.......................................
13
3.9 PLD Circuit and Charge Sampler
.......................
12
3.8 Burst Spacing
....................................
12
3.7 Intra-Burst Spacing
.................................
12
3.6 Burst Length & Sensitivity
............................
12
3.5.2 Noise Coupling Into Y Lines
..........................
12
3.5.1 RFI From Y Lines
................................
12
3.5 'Y' Gate Drives
....................................
12
3.4.2 Noise Coupling Into X lines
..........................
9
3.4.1 RFI From X Lines
..................................
9
3.4 'X' Electrode Drives
..................................
9
3.3 Signal Path
........................................
9
3.2 Matrix Scan Sequence
................................
9
3.1 Part Differences
.....................................
9
3 Circuit Operation
.....................................
8
2.12 Device Status & Reporting
.............................
8
2.11 Boundary Error Reporting
.............................
8
2.10 Full Recalibration
...................................
8
2.9 Adjacent Key Suppression (AKS™)
.......................
7
2.8 Reference Guardbanding
..............................
7
2.7 Positive Recalibration Delay
............................
7
2.6 Detect Integrator (‘DI’)
.................................
6
2.5 Detection Recalibration Delay
...........................
6
2.4 Drift Compensation
...................................
6
2.3 Hysteresis
.........................................
6
2.2 Positive Threshold
...................................
5
2.1 Negative Threshold
..................................
5
2 Signal Processing
....................................
5
1.4 Communications
....................................
5
1.3 Matrix Configuration
..................................
4
1.2 Circuit Model
.......................................
4
1.1 Field Flows
........................................
4
1 Overview
............................................
39
9 Index
.............................................
38
8.2 Marking
.........................................
38
8.1 Dimensions
......................................
38
8 Mechanical
........................................
37
7.5 Maximum Drdy Response Delays
.......................
36
7.4 Timing
.........................................
36
7.3 DC Specifications
..................................
36
7.2 Recommended operating conditions
.....................
36
7.1 Absolute Maximum Specifications
......................
36
7 Electrical Specifications
............................
35
6 PLD Source Listing
.................................
34
5.7 Timing Limitations
.................................
32
5.6 Function Summary Table
............................
30
^W 0x17 - Noise Sync
...............................
30
^V 0x16 - Boundary Equation Constant C2
...................
30
^U 0x15 - Boundary Eqn Constant C1, LSB
..................
30
^T 0x14 - Boundary Eqn Constant C1, MSB
..................
29
^S 0x13 - Cs Clamp Polarity
............................
29
^R 0x12 - Oscilloscope Sync
...........................
29
^Q 0x11 - Data Rate Selection
..........................
29
Z 0x5A - Enter Sleep
................................
29
W 0x57 - Return Part Signature
.........................
29
V 0x56 - Return Part Version
...........................
28
r 0x72 - Reset Device
...............................
28
l 0x6C - Return Last Command Character
...................
28
b 0x62 - Recalibrate Keys
.............................
28
L 0x4C - Lock Reference Levels
.........................
28
D 0x44 - DAC Test
.................................
28
6 0x36 - Eeprom Checksum
...........................
28
5.5 Supervisory / System Functions
........................
27
^P 0x10 - Adjacent Key Suppression (‘AKS’)
..................
27
^O 0x0F - Negative Reference Error Band
...................
27
^N 0x0E - Positive Reference Error Band
....................
27
^M 0x0D - Intra-Burst Pulse Spacing
.......................
26
^L 0x0C - Negative Recalibration Delay
.....................
26
^K 0x0B - Positive Recalibration Delay
.....................
26
^J 0x0A - Detect Integrator Limit
.........................
26
^I 0x09 - Positive Drift Compensation Rate
...................
26
^H 0x08 - Negative Drift Compensation Rate
..................
25
^G 0x07 - Burst Spacing
..............................
25
^E 0x05 - Dwell Time in Machine Cycles
.....................
25
^D 0x04 - Positive Threshold Hysteresis
.....................
25
^C 0x03 - Negative Threshold Hysteresis
....................
24
^B 0x02 - Positive Detect Threshold
.......................
24
^A 0x01 - Negative Detect Threshold
.......................
24
5.4 Setup Commands
.................................
24
K 0x4B - Key Touch Reporting for Group
...................
23
k 0x6B - Reporting of First Touched Key
....................
23
e 0x65 - Error Code for Selected Key
.....................
22
% 0x25 - Detect Integrator Counts for Group
.................
22
$ 0x24 - Charge Cancellation for Group
....................
22
# 0x23 - R2R Offset for Group
..........................
22
" 0x22 - Reference Levels for Group
......................
22
! 0x21 - Delta Signals for Group
.........................
22
<sp> 0x20 - Signal Levels for Group
.......................
22
7 0x37 - General Device Status
.........................
22
6 0x36 - Eeprom Checksum
...........................
22
5 0x35 - Detection Integrator Counts
......................
21
4 0x34 - Cz State
..................................
21
3 0x33 - R2R Offset
................................
21
2 0x32 - Reference Value
.............................
© Quantum Research Group Ltd.
lQ
ii
www.qprox.com
QT60xx5 / R1.05
Contents
Table 1.1 Device Pin List
Slave select for SPI direction control; active lowIO ODSS44
Y gate control to drive Y dwell timing circuitOYG43
X7 Drive matrix scanOX742
Data ready output for Slave SPI mode; active lowO ODDRDY41
Active low LED status drive / Activity indicatorOLED40
GroundPwrVss39
+5 supplyPwrVdd38
SPI Mode / Sync out. Connect via 10k resistor to Vcc or Gnd for mode. Scope sync yields Pulse.I/O ODMS37
Analog input from amplifierIAin36
Charge integrator reset line. Active high or active low (select polarity via Setups)OCSR35
Charge cancellation drive for CZ1 capacitorOCZ134
Charge cancellation drive for CZ2 capacitorOCZ233
Transfer switch control bit 0OYS032
Transfer switch control bit 1OYS131
Transfer switch control bit 2OYS230
Analog reference, connect to VccPwrAref29
Analog groundPwrAGnd28
+5 supply for analog sectionsPwrAVdd27
Y 7 Line clamp controlOYC726
Y 6 Line clamp controlOYC625
Y 5 Line clamp controlOYC524
Y 4 Line clamp controlOYC423
Y 3 Line clamp controlOYC322
Y 2 Line clamp controlOYC221
Y 1 Line clamp controlOYC120
Y 0 Line clamp controlOYC019
GroundPwrVss18
+5 supplyPwrVdd17
X summation / R2R DAC Ladder driveOXS16
X6 Drive matrix scan / R2R DAC Ladder driveOX615
X5 Drive matrix scan / R2R DAC Ladder driveOX514
X4 Drive matrix scan / R2R DAC Ladder driveOX413
X3 Drive matrix scan / R2R DAC Ladder driveOX312
X2 Drive matrix scan / R2R DAC Ladder drive / Wake from Sleep / Sync to noise sourceOX2WS11
X1 Drive matrix scan / R2R DAC Ladder driveOX110
X0 Drive matrix scan / R2R DAC Ladder driveOX09
Oscillator drive input. Connect to resonator or crystal, or external clock source.IXTI8
Oscillator drive output. Connect to resonator or crystal. Can drive a charge pump circuit for Vee
supply
OXTO7
GroundPwrVss6
+5 supplyPwrVdd5
Reset input, active low resetIRST4
SPI Clock. In Master mode is an output; in Slave mode is an inputI/O PPSCK3
Master-In / Slave Out SPI line. Not used in Master/Slave SPI mode.
In Slave mode outputs data to host (out only).
I/O PPMISO2
Master-Out / Slave In SPI line. In Master/Slave SPI mode is used for both communication directions.
In Slave SPI mode is the data input (in only).
I/O PPMOSI1
DescriptionTypeNamePin
I/O: I = Input
O = Output
Pwr = Power pin
I/O = Bi-directional line
PP = Push Pull output drive
OD = Open drain output drive
©Quantum Research Group Ltd.
lQ
iii
www.qprox.com
QT60xx5 / R1.05
1 Overview
QMatrix devices are digital burst mode charge-transfer (QT)
sensors designed specifically for matrix geometry touch
controls; they include all signal processing functions
necessary to provide stable sensing under a wide variety of
changing conditions. Only a few external parts are required
for operation. The entire circuit can be built within 8 square
centimeters of PCB area.
QMatrix devices include charge cancellation methods which
allow for a wide range of key sizes and shapes to be mixed
together in a single touch panel. These features permit the
construction of entirely new classes of keypads never before
contemplated, such as touch-sliders, back-illuminated keys,
and complex warped panel shapes, all at very low cost.
The devices use an SPI interface running at up to 1.5MHz to
allow key data to be extracted and to permit individual key
parameter setup. The interface protocol uses simple single
byte commands and responds with single byte responses in
most cases. The command structure is designed to minimize
the amount of data traffic while maximizing the amount of
information conveyed.
In addition to normal operating
and setup functions the device
can also report back actual
signal strengths and error codes.
QmBtn software for the PC can
be used to program the IC as
well as read back key status and
signal levels in real time.
QMatrix parts employ transverse
charge-transfer ('QT') sensing, a
new technology that senses
changes in the charge forced
across an electrode by a digital
edge.
The parts are electrically
identical with the exception of the
number of keys which may be
sensed.
1.1 Field Flows
Figure 1-1 shows how charge is
transferred across an electrode
set to permeate the overlying
panel material; this charge flow
exhibits a high dQ/dt during the
edge transitions of the X drive pulse. The charge emitted by
the X electrode is partly received onto the corresponding Y
electrode which is then processed. The parts use 8 'X'
edge-driven rows and 8 'Y' sense columns to permit up to 64
keys. Keys are typically formed from interleaved conductive
traces on a substrate like a flex circuit or PCB (Figure 1-2).
The charge flows are absorbed by the touch of a human
finger (Figure 1-3) resulting in a decrease in coupling from X
to Y. Thus, received signals decrease or go negative with
respect to the reference level during a touch.
Water films cause the coupled fields to increase slightly,
making water films easy to distinguish from touch.
1.2 Circuit Model
An electrical circuit model is shown in Figure 1-5. The
coupling capacitance between X and Y electrodes is
represented by Cx. While the reset switch is open, a sample
switch is gated so that it transfers charge flows only from the
rising edge of X into a charge integrator. On the falling edge
of X, the switch connects the Y line to ground to allow the
charge across Cx to neutralize to zero. The voltage change
on the output of the charge integrator after each X edge is
quite small, on the order of a few tens of millivolts. Changes
due to touch are typically under 0.1% of total integrator
voltage. The X pulse can be
repeated in a burst of up to 64
pulses to increase the change in
integrator output voltage due to
touch during an acquire (Section
3.6) to increase gain.
The charge detector is an opamp
configured as an integrator with a
reset switch; this creates a virtual
ground input, making the Y lines
appear low impedance when the
sample switch is closed. This
configuration effectively
eliminates cross-coupling among
Y lines while greatly lowering
susceptibility to EMI. The circuit
is also highly immune to
capacitive loading on the Y lines,
since stray C from Y to ground
appears merely as a small
parallel capacitance across a
virtual ground.
The circuit uses an 8-bit ADC,
with a subranging structure to
effectively deliver a 14-bit total
conversion 'space' (see Figure
1-6 and Section 3.3). In this way
the circuit can tolerate very large
© Quantum Research Group Ltd.
lQ
4
www.qprox.com
QT60xx5 / R1.05
Figure 1-3 Field Flows When Touched
Figure 1-4 Fields With a Conductive Film
overlying panel
X
element
Y
element
Figure 1-2 Sample Electrode Geometries
PARALLEL LINES SERPENTINE SPIRAL
Figure 1-1 Field flow between X and Y elements
overlying panel
X
element
Y
elem ent
absolute signals yet still respond to very small signal
changes. Subranging is provided by two offset mechanisms
which can be thought of as 'coarse' and 'fine' offsets.
The 'coarse' method uses one or two switched Cz capacitors
to subtract charge from the charge integrator to create up to
two step offsets, to bring the analog signal back to a more
reasonable level. This action occurs during the course of the
burst.
The 'fine' method of offset uses an 8-bit R2R ladder DAC
driven by the X drive lines to create an offset in the amplifier
stage. The DAC is driven after the burst has ceased and the
charge accumulated, so there is no conflict in this dual-use of
the X lines.
Short sample gate dwell times after the X
edges will limit the effect of moisture
spreading from key to key by taking
advantage of the RC filter-like nature of
continuous films; a short dwell time will limit
the time that the charge has to travel
through the impedance of the film (Section
3.13). This effect is independent of the
frequency of burst repetition, intra-burst
pulse spacing, or X drive pulse width.
Burst mode operation permits reduced
power consumption and reduces RF
emissions, while permitting excellent
response time.
1.3 Matrix Configuration
The matrix scanning configuration is shown
in Figure 1-5. The X drives are sequentially
pulsed in groupings of bursts; an 8:1 analog
mux acts as the sample switch for all Y
lines. At the intersection of each X and Y
line in the matrix itself, where a key is
desired, should be an interdigitated electrode set similar to
those shown in Figure 1-2. The outermost electrode or the
key border should always be connected to an X drive;
flooding the area around keys with X fill to a width of up to
10mm can help in suppressing moisture films further.
Although it is referred to as a ‘matrix’, there is no restriction
on where individual keys can be located. The term ‘matrix’
refers to the electrical configuration of keys, not the physical
arrangement. Consult Quantum for application assistance on
key design.
1.4 Communications
The device uses two variants of SPI communications,
Slave-only and Master-Slave. Over this interface is a
command and data transfer structure
designed for high levels of flexibility using
minimal numbers of bytes. For more
information see Sections 4 and 5.
Device variations: Refer to Section 3.1 for
differences between the parts covered by
this datasheet.
2 Signal Processing
The devices calibrate and process all
signals using a number of algorithms
specifically designed to provide for high
survivability in the face of adverse
environmental challenges. They provide a
large number of processing options which
can be user-selected to implement very
flexible, robust keypanel solutions.
2.1 Negative Threshold
See also command ^A, page 24
The negative threshold value is established
relative to a keys signal reference value.
The threshold is used to determine key
touch when crossed by a negative-going
signal swing after having been filtered by
© Quantum Research Group Ltd.
lQ
5
www.qprox.com
QT60xx5 / R1.05
Figure 1-5 QT60xx5 Basic Circuit Model
0
0
1
1
+
X drive
(1 of 8) Y line
(1 of 8)
X
electrode
Y
electrode
Sample
switch (1 of 8)
Cx
Cs
Reset switch
Cz2
Cancellation
switches
8-bit
Offset DAC
Xn
+
Cz1
Amp
Charge
Integrator
To 60xxx ADC
From 60xxx
Offset Control
ou t
V
0
Reset
switch
Sample
sw itch
Amp
out
Xn
Ca
0
0
1
1
+
X drive
(1 of 8) Y line
(1 of 8)
X
electrode
Y
electrode
Sample
switch (1 of 8)
Cx
Cs
Reset switch
Cz2
Cancellation
switches
8-bit
Offset DAC
Xn
+
Cz1
Amp
Charge
In te gr ator
To 60xxx ADC
From 60xxx
Offset Control
ou t
V
0
Reset
switch
Sample
switch
Amp
out
Xn
Ca
Figure 1-6 Circuit Block Diagram (8x8 Matrix Shown)
Charge
Integrator
Transfer
Mux
Gain
Amp
X0
X1
X2
X3
X4
X5
X6
X7
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
Integrator Reset
Signal Offset
R2R
DAC
Charge Cancellation 1
Transfer Select
+
-
KEYMATRIX
Charge Cancellation 2
Transfer Strobe
Timing &
Charge
Neutralizing
Control
(PLD)
QT60xx5
SPI
to
Host
X
{1..7}
X7
X0
X1
X2
X3
X4
X5
X6
X7
YC0 .
YC1 .
YC2 .
YC3 .
YC4 .
YC5 .
YC6 .
YC7 .
X0 .
X1 .
X2 .
X3 .
X4 .
X5 .
X6 .
XS .
XS
YS0..YS2
C
Z1
C
Z2
Cz1
Cz2
CSR
AIN
Charge
Integrator
Transfer
Mux
Gain
Amp
X0
X1
X2
X3
X4
X5
X6
X7
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
Integrator Reset
Signal Offset
R2R
DAC
Charge Cancellation 1
Transfer Select
+
-
KEYMATRIX
Charge Cancellation 2
Transfer Strobe
Timing &
Charge
Neutralizing
Control
(PLD)
QT60xx5
SPI
to
Host
X
{1..7}
X7
X0
X1
X2
X3
X4
X5
X6
X7
YC0 .
YC1 .
YC2 .
YC3 .
YC4 .
YC5 .
YC6 .
YC7 .
X0 .
X1 .
X2 .
X3 .
X4 .
X5 .
X6 .
XS .
XS
YS0..YS2
C
Z1
C
Z2
Cz1
Cz2
CSR
AIN
the detection integrator (Section 2.6). Larger absolute values
of threshold desensitize keys since the signal must travel
farther in order to cross the threshold level. Conversely, lower
thresholds make keys more sensitive.
As Cx and Cs drift, the reference point drift-compensates for
these changes at a user-settable rate (Section 2.4); the
threshold level is recomputed whenever the reference point
moves, and thus it also is drift compensated.
The negative threshold is programmed on a per-key basis
using the setup process described in Section 5.
2.2 Positive Threshold
See also command ^B, page 24
The positive threshold is used to provide a mechanism for
recalibration of the reference point when a key's signal moves
abruptly to the positive. These transitions are described more
fully in Section 2.7.
Positive threshold levels are programmed in using the setup
process described in Section 5 on a per-key basis.
2.3 Hysteresis
See also command ^C and ^D, page 25
Refer to Figure 2-1. QT60xx5 ICs employ programmable
hysteresis levels of 12.5%, 25%, or 50% of the delta between
the reference and threshold levels. There are different
hysteresis settings for positive and negative thresholds which
can be set by the user. The hysteresis is a percentage of the
distance from the threshold level back towards the reference,
and defines the point at which the detection will drop out. A
percentage of 12.5% is less hysteresis than 25%, and the
12.5% hysteresis point is closer to the threshold level than to
the reference level.
The hysteresis levels are set for all keys only; it is not
possible to set the hysteresis differently from key to key on
either the positive or negative hysteresis levels.
2.4 Drift Compensation
See also commands ^H, ^I, page 26
Signals can drift because of changes in Cx and Cs over time
and temperature. It is crucial that such drift be compensated,
else false detections and sensitivity shifts can occur. The
QT60xx5 compensates for drift using setups, ^H and ^I.
Drift compensation (Figure 2-1) is performed by making the
reference level track the raw signal at a slow rate, but only
while there is no detection in effect. The rate of adjustment
must be performed slowly, otherwise legitimate
detections could be ignored. The devices drift
compensate using a slew-rate limited change to
the reference level; the threshold and hysteresis
values are slaved to this reference.
When a finger is sensed, the signal falls since the
human body acts to absorb charge from the
cross-coupling between X and Y lines. An isolated,
untouched foreign object (a coin, or a water film)
will cause the signal to rise very slightly due to an
enhancement of coupling. This is contrary to the
way most capacitive sensors operate.
Once a finger is sensed, the drift compensation
mechanism ceases since the signal is legitimately
detecting an object. Drift compensation only works
when the signal in question has not crossed the negative
threshold level (Section 2.1).
The drift compensation mechanism can be made asymmetric
if desired; the drift-compensation can be made to occur in
one direction faster than it does in the other simply by setting
^H and ^I to different settings.
Specifically, drift compensation should be set to compensate
faster for increasing signals than for decreasing signals.
Decreasing signals should not be compensated quickly, since
an approaching finger could be compensated for partially or
entirely before even touching the touch pad. However, an
obstruction over the sense pad, for which the sensor has
already made full allowance for, could suddenly be removed
leaving the sensor with an artificially suppressed reference
level and thus become insensitive to touch. In this latter case,
the sensor should compensate for the object's removal by
raising the reference level relatively quickly.
The drift compensation rate can be set for each key
individually, and can also be disabled completely if desired on
a per-key basis.
Drift compensation and the detection time-outs (Section 2.5)
work together to provide for robust, adaptive sensing. The
time-outs provide abrupt changes in reference calibration
depending on the duration of the signal 'event'.
Drift compensation can result in reference levels that are at
the boundaries of the 8-bit signal window. When this occurs,
saturation is reached and the drift compensation process
stops. One of two error flags is set when the signal
approaches either end of the signal window; it is up to the
host to read these flags and induce a full recalibration via a
recalibration command at that time (Section 2.10 and
command b, page 28) for the key in question.
2.5 Detection Recalibration Delay
See also command ^L, page 26
If a foreign object contacts a key the key's signal may change
enough in the negative direction, the same as a normal
touch, to create an unintended detection. When this happens
it is usually desirable to cause the key to be recalibrated in
order to restore its function after a time delay of some
seconds.
The Negative Recal Delay timer monitors this detection
duration; if a detection event exceeds the timer's setting, the
key will be fast-recalibrated within its current 8-bit window.
This form of recalibration is simply one of setting Reference =
Signal, and does not affect Offset or Cz state; as a result this
form of recalibration requires only one burst spacing interval
t
© Quantum Research Group Ltd.
lQ
6
www.qprox.com
QT60xx5 / R1.05
Figure 2-1 Thresholds and Drift Compensation
Threshold
Signal
Hysteresis
Reference
Output
o accomplish. Only a full recalibration via a reset or a
recalibration command will perform a complete recalibration
involving both the R2R Offset and Cz capacitors (Section
2.10).
After a fast recalibration has taken place, the affected key will
once again function normally even if it is still being contacted
by the foreign object. This feature is set on a per-key basis
using setup ^L. It can be disabled if desired by setting this
parameter to zero, so that it will not recalibrate automatically.
2.6 Detect Integrator (DI)
See also command ^J, page 26
To suppress false detections caused by spurious events like
electrical noise, the QT60xx5 incorporates a 'detection
integrator' or DI counter that increments with each sample
where the signal passes below the negative threshold, until a
user-defined DI limit is reached, at which point the detection
is confirmed and the corresponding detect bit is set.
If before the DI limit is reached, the signal rises to a point
between the hysteresis and threshold levels, the DI counter is
decremented with each such sample to a limit of zero.
If before the DI limit is reached, the signal rises above the
hysteresis level, the DI counter is immediately cleared.
When an active key is released, the DI must count down to
zero before the key state is cleared. Clearing a keys DI limit
disables that key although the bursts for that key continue.
The DI is extremely effective at reducing false detections at
the expense of slower reaction times. In some applications a
slow reaction time is desirable; the DI can be used to
intentionally slow down touch response in order to require the
user to touch longer to operate the key.
There are 16 possible values for the DI limit.
2.7 Positive Recalibration Delay
See also command ^K, page 26
A recalibration can occur automatically if the signal swings
more positive than the positive threshold level. This condition
can occur if there is positive drift but insufficient positive drift
compensation, or if the reference moved negative due to a
recalibration, and thereafter the signal returned to normal.
As an example of the latter, if a foreign object or a finger
contacts a key for period longer than the Negative Recal
Delay, the key is by recalibrated to a new lower reference
level. Then, when the condition causing the negative swing
ceases to exist (e.g. the object is removed) the signal can
suddenly swing back positive to near its normal reference.
It is almost always desirable in these cases to cause the key
to recalibrate to the new signal level so as to restore normal
touch operation. The device accomplishes this by simply
setting Reference = Signal.
The time required to detect this condition before recalibrating
is governed by the Positive Recalibration Delay command. In
order for this feature to operate, the signal must rise through
the positive threshold level (Section 2.2) for the proscribed
user-set interval determined by ^K.
After the Positive Recal Delay interval has expired and the
fast-recalibration has taken place, the affected key will once
again function normally. This interval can be set on a per-key
basis; it can also be disabled by setting ^K to zero.
2.8 Reference Guardbanding
See also commands ^N, ^O, page 27; L, page 28
QT60xx5 devices provide for a method of self-checking that
allows the host device to ascertain whether one or more key
reference levels are 'out of spec'. This feature can be used to
determine if an X or Y line has broken, the matrix panel has
delaminated from the control panel, or there is a circuit fault.
Guardbanding alerts the host controller when the reference
level of a key falls outside of acceptable absolute levels. The
guardband is expressed in percent of absolute reference from
the reference level of each individual key. The normal
reference levels can be locked into internal eeprom via the
Lock command 'L' during production; deviations in references
that fall outside the guardbands centered on these reference
levels are then reported as errors.
The calculations required for guardbanding are performed
after the device has recalibrated or been reset after the L
command.
Positive excursion guarding is treated separately from
negative excursion guarding. The possible negative settings
are from 1% to 99% of absolute signal reference in steps of
1% as set by command ^O. Positive excursions can run from
10% to 1,000% in steps of 10% as set by command ^N. A
setting of 0 disables the corresponding guardband direction.
Since the circuit uses a segmented ADC approach with a
'coarse' (based on Cz states) and 'fine' (based on R2R ladder
drive) offsets, the determination of percentage reference
deviation from 'normal' presents a problem. The contributions
of the Cz caps and the R2R ladder must be factored into the
determination in order to make an accurate assessment of
the error band. There are three commands which set
coefficients used to convert the Cz and DAC offset values to
'absolute signal' values, according to the following equation,
for each key:
TotalRef(k) = (C1 x nCz) + (C2 x Offset) + SigRef
Where -
TotalRef(k) is the equivalent absolute reference for key k;
C1 is a global constant set by commands ^T and ^U;
C2 is a global constant set by command ^V;
nCz is the number of Cz caps switched in for key k;
Offset is the noted value of the R2R DAC for key k;
SigRef is the noted current 'window reference' for key k.
The percent deviations are computed in relation to
TotalRef(k) on a per-key basis at the time the 'L' command is
executed. Once the L command has recorded all values of
relating to TotalRef into eeprom, the part will compare the
actual running reference level of each key to its
corresponding computed TotalRef value to see if it falls
outside the guardbands specified by global parameters ^N
and ^O.
Values which correspond to the reference circuit of Figure 3-1
are:
C1 = 1513; ^T value = 0x05, ^U value = 0xE9
C2 = 8; ^V value = 0x08
Guardbanding tests should not be confused with Reference
Boundary errors (Section 2.11). Guardbanding can report
errors that occur even if the signal is properly centered in the
ADC window, while Reference Boundary error reporting
cannot. Guardband tests do however require that the key
© Quantum Research Group Ltd.
lQ
7
www.qprox.com
QT60xx5 / R1.05
being checked be first fully recalibrated in order to allow the
Cz and DAC offset values to alter.
If a key is outside of a limit, either of bits 2 and 3 of command
'e' will be set for that key. The error will also appear as an
error in a bitfield reported with command 'E'.
There is no mechanism by which keys will automatically
recalibrate if the reference drifts past a guardband boundary.
2.9 Adjacent Key Suppression (AKS)
See also command ^P, page 27
QT60xx5 devices incorporate adjacent key suppression
(AKS - patent pending) that can be selected on a per-key
basis. AKS permits the suppression of multiple key presses
based on relative signal strength. This feature assists in
solving the problem of surface moisture which can bridge a
key touch to an adjacent key, causing multiple key presses.
This feature is also useful for panels with tightly spaced keys,
where a fingertip might inadvertently activate an adjacent key.
AKS works for keys that are AKS-enabled anywhere in the
matrix and is not restricted to physically adjacent keys; the
device has no knowledge of which keys are actually
physically adjacent. When enabled for a key, adjacent key
suppression causes detections on that key to be suppressed
if any other AKS-enabled key in the panel has a more
negative signal deviation from its reference.
This feature does not account for varying key gains (burst
length) but ignores the actual negative detection threshold
setting for the key. If AKS-enabled keys in a panel have
different sizes, it may be necessary to reduce the gains of
larger keys relative to smaller ones to equalize the effects of
AKS. The signal threshold of the larger keys can be altered to
compensate for this without causing problems with key
suppression.
Adjacent key suppression works to augment the natural
moisture suppression of narrow gated transfer switches
(Section 3.13), creating a more robust sensing method.
2.10 Full Recalibration
See also command b, page 28
The devices fully recalibrate on powerup, after a hard reset, a
soft reset or after a recalibrate b command using an
algorithm that seeks out the optimal level of R2R offset and
Cz cancellation on a per-key basis. After powerup or a reset
the matrix is scanned key by key and appropriate calibrations
are set for each in accordance with user-defined setup
information. Since the circuit can tolerate a very wide signal
range, it is capable of adapting to a wide mix of key sizes and
shapes having widely varying Cx coupling capacitances.
If a false calibration occurs due to a key touch or foreign
object on the keys during powerup, the affected key will
recalibrate again when the object is removed depending on
the settings of Positive Threshold and Positive Recal Delay
(Sections 2.2 and 2.7).
Full recalibration is distinct from fast-recalibration, wherein
only the Reference level is quickly adjusted. Full recalibration
requires 26 burst cycles to complete whereas fast
recalibration requires only one cycle (Section 2.5). The time
required for recalibration is dependent on the burst spacing
setting ^G (Section 3.8).
Individual keys or groups of keys can be recalibrated with a
single command depending on the current command scope.
The time required to recalibrate many keys is not
multiplicative; the cal process for multiple keys runs in
parallel.
2.11 Boundary Error Reporting
See also commands e, page 23; ^N, page 27
Unlike guardband error reporting, boundary error reporting
only works within the active ADC signal window segment in
which the key's signal resides. Complex factoring of Cz and
Offset are not required for these tests, and the tests do not
require that the key be recalibrated to see the error condition.
Drift compensation can cause a key's reference level to move
near to the border of the ADC's 8-bit signal window; this may
make a key inoperable if the reference pegs near zero,
depriving the signal of the ability to move further negative
when a key is touched. Normally the reference level should
be reasonably centered within the ADC's current range, i.e. at
a level of about 128 decimal / 0x80 hex.
The truth logic for reference level drift error reporting is:
e/b2 = Reference > 191
e/b3 = Reference < 64
where e/b2 is command 'e' bit 2, and e/b3 is command 'e' bit
3. If either bit is set, the key should be recalibrated using
command 'b'. Note that guardbanding errors (Section 2.8)
also use these same bits for error reporting, but
guardbanding does not usually affect these bits until after a
recalibration.
Each Reference Boundary error will also appear as an error
in a bitfield reported from command 'E'.
There is no mechanism by which keys can be made to
automatically recalibrate if the reference drifts past a window
boundary.
2.12 Device Status & Reporting
See also commands 7, page 22; e, page 23; E, page 23;
k, page 23, K, page 24
The device can report on the general device status or specific
key states including touches and error conditions, depending
on the command used.
Usually it is most efficient to periodically request the general
device status using command 7 first, as the response to this
command is a single byte which reports back on behalf of all
keys. 7 indicates if there are any keys detecting, calibrating,
or in error.
If command 7 reports a condition requiring further
investigation, the host device can then use commands e, E,
k or K to provide further details of the event(s) in progress.
This hierarchical approach provides for a concise information
flow using minimal data transfers and low host software
overhead.
Bit 4 of command 7 reports if there is a discrepancy between
the eeprom and the Flash ROM backup of the eeprom in
case of data corruption; it is also set whenever a Setup
parameter has changed but was not yet been copied into
Flash. See Section 4.6. Resetting the device will force the
eeprom changes to be copied to Flash if legitimate, or it will
© Quantum Research Group Ltd.
lQ
8
www.qprox.com
QT60xx5 / R1.05
force an update of eeprom from Flash memory if not
legitimate.
3 Circuit Operation
Two reference circuits are shown in Figures 3-1 and 3-2.
Figure 3-1 shows a circuit having slightly greater precision
and sensitivity than that of Figure 3-2, however both will
perform well in most situations. Note that the Figure 3-2
circuit must have the Cs clamp control (command ^S) polarity
set to 0x01 to operate properly.
3.1 Part Differences
QT60xx5 parts use identical circuits and operate in identical
manner in all respects, except that only the QT60645 can
acquire 64 keys.
The QT60325 and QT60485 only acquire 32 and 48 keys
respectively, but both still use an 8x8 matrix; any 32 or 48
keys in the matrix can be used. Unused keys must be
disabled by setting their burst length to zero (command ^F).
These devices have their upper keys disabled (keys 32 and
48 and up respectively). Upper keys can be enabled by first
disabling undesired lower keys so that the maximum number
of keys is never exceeded during the setup process.
3.2 Matrix Scan Sequence
The circuit operates by scanning each key sequentially, key
by key. Key scanning begins with location X=0 / Y=0. X axis
keys are known as rows while Y axis keys are referred to as
columns. Keys are scanned sequentially by row, for example
the sequence Y0X0 Y0X1 .... Y0X3, Y1X0 Y1X1... etc.
Each key is sampled from 1 to 64 times in a burst whose
length is determined by command ^F. A burst is completed
entirely before the next key is sampled; at the end of each
burst the resulting analog signal is converted to digital by the
parts ADC. The burst length directly impacts key gain; each
key can have a unique burst length in order to allow tailoring
of key sensitivity on a key by key basis.
3.3 Signal Path
Refer to Figures 1-4, 3-1, 3-2, and 3-3. Further descriptions
can be found in Section 1.20.
Charge gate. Only one X row is pulsed during a burst.
Charge is coupled across a key's Cx capacitance from the X
row to all Y columns. A particular key is chosen by gating the
charge from a single Y column into a charge integrator. The
gate is an 8:1 analog mux whose path is selected by lines
YS0, YS1, and YS2; the gate is enabled by a pulse from the
PLD. The charge integrator is described below.
Dwell time. The gate must be switched closed just prior to
the rising edge of X and must be reopened just after X has
finished rising, in order to capture the charge driven across
key capacitance Cx. The delay time from the rise of X to the
opening of the gate is known as the Y-sample dwell time.
Dwell time duration has a dramatic effect on the suppression
of signals due to moisture films as described in Section 3.13.
Dwell time is fixed in these devices to 167ns but this can be
shortened using an external circuit (Section 3.9).
Charge neutralization. When X falls again, the charge
across Cx must be neutralized. Without neutralization, Cx
charge would be sampled one time only and not again during
operation. To accomplish this, the PLD always clamps all Y
lines to ground except during the rise of X for the key being
scanned.
Charge integrator. The first opamp is configured as an
integrator with a reset switch; capacitor Cs (C14 in Figure
3-1, and C7 in Figure 3-2) performs the charge integration
function. Capacitor Ca (C11 in Figure 3-1 only) acts to absorb
charge momentarily before the Figure 3-1 opamp can react to
absorb the charge across Cs; the value of Ca is not critical. A
P-channel jfet resets Cs between bursts (n-channel mosfet in
the case of Figure 3-2). The output of the opamp of Figure
3-1 swings negative, and as a consequence a negative power
supply is required for that circuit; the circuit of Figure 3-2 is
unipolar and requires only a positive supply.
Charge cancellation. Two Cz capacitors are used to cancel
charge across Cs in stepwise fashion in order to increase
signal range. These capacitors can switch during the course
of a burst to reduce the final output of the amplifier chain,
preventing early signal saturation due to large keys (high Cx)
and/or long burst lengths. The Cz's are normally driven to
+5V when not in use; switching them to ground causes a step
subtraction of charge from the integrator.
Signal amplification; offset. At the end of the burst, the
charge integrator result is amplified, and an offset from an
R2R ladder DAC driven off the X drive lines is applied. This
offset repositions the final analog signal as close as possible
to the center of the ADC span, or at about 2.5V. The amount
of offset applied is determined during the calibration process.
Burst / R2R timing. Figure 3-3 relates to a particular key
being addressed by an X row line and gate control lines YSn.
At the end of the burst, the X pins drive the R2R ladder
network to generate a correction offset to the amplifier chain.
The amplifier must stabilize to within ½ LSB (10mV) 8µs after
the application of the R2R value so that the signal can be
accurately sampled by the QT60xx5 on pin Ain.
Signal gain. Gain is directly controlled by burst length,
amplifier gain, and the value of Cs. Burst length can be
adjusted on a key by key basis whereas Av and Cs are fixed
for all keys. See Section 3.6. The detection threshold setting
also factors directly into key sensitivity.
3.4 'X' Electrode Drives
The 'X' lines are directly connected to the matrix without
buffering. The positive edges of these signals are used to
create the transient field flows used to scan the keys. Only
one X line is actively driving the matrix for scanning purposes
at a time, and it will pulse for a burst length for each key as
determined by the 'Burst Length' Setups parameter (see
command ^F, page 25 and Section 3.6).
3.4.1 RFI F
ROM
X L
INES
X drive lines will radiate a small amount of RFI. This can be
attenuated if required by using series resistor in-line with
each X trace; the resistor should be placed near to the
QT60xx5. Typical values can range from 47 to 470 ohms.
Excessive amounts of R will cause a counterproductive drop
in signal strength. RC networks can also be used as shown in
Figure 4-4.
Inserted resistors in the X lines also have the positive effect
of limiting ESD transient currents (Section 3.22).
© Quantum Research Group Ltd.
lQ
9
www.qprox.com
QT60xx5 / R1.05
© Quantum Research Group Ltd.
lQ
10
www.qprox.com
QT60xx5 / R1.05
Figure 3-1 Recommended Circuit Diagram - True Summing Junction
© Quantum Research Group Ltd.
lQ
11
www.qprox.com
QT60xx5 / R1.05
Figure 3-2 Recommended Circuit Diagram - Single Supply
3.4.2 N
OISE
C
OUPLING
I
NTO
X
LINES
External noise, sometimes caused by ground bounce due to
injected line noise, can couple into the X lines and cause
signal interference in extreme cases. Such noise can be
readily suppressed by the use of series resistors as
described above. Adding a small capacitor to the matrix line
on the QT60xx5 side of the R, for example 100pF to ground
near the QT60xx5, will greatly help to reduce such effects.
3.5 'Y' Gate Drives
There are 8 'Y' gate drives (YC0..YC7) which are active-high;
only one of these lines is used during a burst for a particular
key. These lines are used to control the PLD to ground all
unselected Y lines, making them low impedance. The
selected Y line in the matrix remains unclamped by the PLD
during the rising edge of the X drive line, during the time that
the coupled charge from a single key is fed to the charge
integrator via the 8:1 analog mux.
There are also 3 Y-encoded lines YS0..YS2 which select the
correct switch to actuate in the analog mux for the desired Y
line. Line YG from the controller acts to trigger the PLDs
pulse generation circuit, whose pulse width following the rise
of an X line is dependent on an RC time constant. This
pulse, YE, drives the enable pin of the QS3251 mux low
(switch on) just before a positive-going X drive pulse, and
high again (switch off) just after the X drive pulse. The time
from the rising edge of an X signal to the rising edge of YE
is referred to as the dwell time, and this parameter has a
direct effect on the ability of the circuit to suppress moisture
films (see Sections 3.9 and 3.13).
After the YE pulse has ceased, the controller and circuit act
to ground all Y lines via the PLD just before the X drive
signal goes low; this restores the charge across the matrix
keys to a null state, making them ready for another sample.
3.5.1 RFI F
ROM
Y L
INES
Y lines are 'virtual grounds' and do not radiate a significant
amount of RFI; in fact, they act as sinks for RFI emitted by
the X lines since they are virtual grounds. Series-R in the Y
lines is not required for RFI suppression, and in fact series-R
can introduce cross-talk among keys.
3.5.2 N
OISE
C
OUPLING
I
NTO
Y L
INES
External noise, sometimes caused by ground bounce due to
injected line noise, can couple into the Y lines and cause
signal interference in extreme cases. Such noise can be
readily suppressed by adding a 100pF capacitor from each Y
line to a ground plane near the QT60xx5.
3.6 Burst Length & Sensitivity
See also Command ^F, page 25
The signal gain in volts / pF of Cx for each key is controlled
by circuit parameters as well as the burst length.
The burst length is simply the number of times the
charge-transfer (QT) process is performed on a given key.
Each QT process is simply the pulsing of an X line once, with
a corresponding Y line enabled to capture the resulting
charge passed through the keys capacitance Cx.
QT60xx5 devices use a finite number of QT cycles which are
executed in a short burst. There can be from 1 to 64 cycles in
a burst, in accordance with the list of permitted values shown
for command ^F, page 25. If burst length is set to zero, the
burst is disabled but its time slot in the scanning sequence of
all keys is preserved so as to maintain uniform timing.
Increasing burst length directly affects key sensitivity. This
occurs because the accumulation of charge in the charge
integrator is directly linked to the burst length. The burst
length of each key can be set individually, allowing for direct
digital control over the signal gains of each key individually.
Apparent touch sensitivity is also controlled by Negative
Threshold (Section 2.1). Burst length and negative threshold
interact; normally burst lengths should be kept as short as
possible to limit RF emissions, but the threshold setting
should be kept above a setting of 6 to limit false detections.
The detection integrator can also prevent false detections at
the expense of slower reaction time (Section 2.6).
3.7 Intra-Burst Spacing
See also Command ^M, page 27
The time between X drive pulses during a burst is the
intra-burst pulse spacing. This timing has no noticeable effect
on performance of the circuit, but can have an impact on the
nature of RF spectral emissions from the matrix panel. The
setting of this function can be from 2µs through 10µs, loosely
corresponding to fundamental emission frequencies from
500kHz and 100kHz respectively.
Longer spacings require more time to execute and can limit
the operational settings of burst length and/or burst spacing
(Section 5.7).
The intra-burst QT spacing has no effect on sensitivity or
water film suppression and is not particularly important to the
sensing function other than described above.
3.8 Burst Spacing
See also Command ^G, page 25
The interval of time from the start of one burst to the start of
the next is known as the burst spacing. This is an alterable
parameter which affects all keys.
Shorter spacings result in faster response time, but due to
increasing timing restrictions at shorter spacings burst
lengths are restricted, limiting the amount of gain that can be
© Quantum Research Group Ltd.
lQ
12
www.qprox.com
QT60xx5 / R1.05
Figure 3-3 Relationship of X and Y signals
Yb
Xa
Amp out
'n' pulses / burst R2R Value
Xa
Yb
Yb'
Yb
obtained; see Section 5.7. Conversely longer spacings permit
higher burst lengths but slow down response time.
Spacings from 250µs to 2ms are available.
3.9 PLD Circuit and Charge Sampler
The PLD should be a CMOS 22V10 type having no internal
pullup or bus-keeper resistors in order to limit leakage
current. ICTs PEEL22CV10AZ is a good example device,
and code for this part can be found in Section 6.
The PLD performs two functions: Y line clamping and transfer
switch gating.
The PLD clamps Y-lines to ground whenever key charge is
not being collected. The charge integrator should only receive
charge starting just before an X line goes high, to a point just
after the transition (the X-Y dwell time). It is an essential
function of the PLD to neutralize charge keys during the
negative transition of X lines; without this, charge-transfer
would cease to function after a single X pulse, and multiple
pulse bursts would be impossible.
The PLD also acts to generate a pulse that sets the dwell
time for the QS3251 8:1 charge sampler switch. A simple
PLD-based RC network controls the QS3251 gate pin E
starting from when line YG becomes active to a time after X7
or XS transition high. XS is the logical-OR of X0..X6; X8 and
XS are ORd together in the PLD so that any single X line can
trigger the timing network.
X-Y dwell time can be measured with an oscilloscope by
timing the interval from XS or X8 to 22V10 output F9. Dwell
times of 70ns - 90ns work very well to suppress the effects of
surface moisture films. Longer times are acceptable if such
moisture is not anticipated.
R2 and/or C5 in Figure 3-1 should be adjusted to provide a
timing dwell delay from the rise of an X line to the rising edge
of Y-enable (QS3251) of around 75ns +/-20%. Shorter dwell
times will begin to cause the suppression of human touch
signals as well. If resistors and capacitors are used in line
with the X and Y matrix lines for EMC and ESD suppression
(Section 3.22), excessively short dwell times can seriously
deteriorate signal gain. The circuit should be evaluated for the
amount of signal loss by comparing delta signals due to touch
both with and without the EMC circuits.
R2 and C5 can be eliminated to provide the full 167ns of
dwell time output by the QT60xx5. C5 should be replaced by
a connection to ground, and R2 should be open-circuited.
Source code for one type of recommended 22V10 can be
found in Section 6. The 22V10 should have conventional
CMOS I/O structures without bus-keepers or pullup resistors
in order to work optimally.
While the QS3251 is gated by the signal on its E pin from
the PLD, the actual switch being controlled is determined by
the YS0, YS1, YS2 lines from the QT60xx5.
3.10 Opamps
The amplifier chain should be configured as shown in Figures
3-1 or 3-2. The opamps should have a GBW product of at
least 2MHz, have rail-rail CMOS outputs, and be able to
operate from split-rail supplies (split-rail capable only in the
case of Figure 3-1). To eliminate leakage current issues the
amplifier should be a JFET or CMOS input type only. TIs
TLC2272 type opamp is a good example of the type of device
which should be employed.
Figure 3-1 Circuit: The first opamp is a charge integrator
whose output ranges between 0V to -2.5V. A JFET is used as
a reset switch for the integration capacitor C14. Since most
opamps are not fast enough to integrate the nanosecond
duration transient charge pulses coming from the Y lines and
the switched Cz capacitors, a large, non-critical capacitor C11
is used to temporarily store transient charge until the opamp
can assimilate it over the following microseconds.
The second stage opamp must invert the first opamp output
in order to provide a positive-going signal to Ain of the
QT60xx5. This stage is also used to facilitate the introduction
of offset from the R2R network (Section 3.12).
The second stage must be clamped with a low-C diode as
shown (BAV-99 preferred) so that negative excursions of the
amplifier do not under-drive the Ain pin of the device. An
output resistor further limits possible Ain+ currents. Without
clamping there can be high currents taken from Ain which can
lead to device latchup, requiring power to be cycled to restore
operation.
Figure 3-2 Circuit: The first opamp is a positive-gain high
impedance configuration which amplifies the small voltage on
Cs (C7). The reset transistor is a small-signal N-fet. C7 also
receives charge cancellation capacitances C8 and C9. The
R2R DAC offset is injected into the summing junction of this
amplifier.
The second stage amplifier has a positive gain that provides
final amplification.
This design is simpler to implement but has lower gain than
the circuit of Figure 3-1.
3.11 Sample Capacitors
Charge sampler capacitor Cs (C14 in Figure 3-1, C7 in Figure
3-2) should be the values shown. They should be either NP0
or C0G ceramic or PPS film for thermal stability reasons. The
two Cz capacitors should be NP0 or C0G types only. The
transient charge absorber C11 can be a 10% X7R type.
More information on how the Cs and Cz capacitors function is
described in Section 1.2.
The values of capacitance should not be altered from the
reference schematics; value changes can cause acquisition
gaps to occur which can result in keys that cannot calibrate.
3.12 R2R Resistor Ladder
The R2R ladder network (RN1 in Figure 3-1) should have a
value of 100K ohms and a precision of 7 or 8 bits. The R2R
connects to the summing junction of the first or second
opamp depending on the circuit; it is used to offset the analog
signal down with increasing binary input value. The R2R
value is determined for each key during calibration by an
algorithm that seeks to put the signal Ain+ at 2.5 volts. This
binary value only changes when a key is recalibrated or after
powerup during the normal startup calibration cycle; drift
compensation does not change R2R drive.
The R2R is driven by the matrix X lines; this is possible since
Ain+ is only read after the completion of each burst, therefore
this dual-use of X drive lines does not pose a conflict so long
as these lines are not heavily loaded.
© Quantum Research Group Ltd.
lQ
13
www.qprox.com
QT60xx5 / R1.05
The rated resistance of an R2R ladder is also its Thevenin
equivalent resistance which affects the scaling of the offset
injected into the amplifier, in terms of mV/bit. The scaling of
offset injection also affects the crossover points for the
switching of each Cz capacitor. If during the calibration cycle
the R2R network is found to not provide enough offset to
bring the signal to the midpoint of the ADC's range, a Cz
capacitor is switched in to create an additional offset.
If the R2R drive value and Cz values are not properly
matched, the circuit may not be able to converge on all
calibration points, i.e. there will be acquisition holes. This will
happen if the Cz cancellation voltage step is too large with
respect to the amount of full-scale influence of the R2R
ladder on the analog offset. It is recommended that the
reference circuits shown in Figures 3-1 and 3-2 should not be
altered to avoid problems.
3.13 Water Film Suppression
Water films on the user surface can cause problems with
false detection under certain conditions. Water films on their
own will not normally cause false detections. The most
common problem occurs when surface water bridges over 2
or more keys, and a user touches one of the keys and the
water film causing an adjacent key to also trigger. Essentially,
the water film transports the touch contact to adjacent keys.
The recommended circuit suppresses water coupling by
means of a short sample dwell time: a short dwell time
reduces the signal from resistive films by limiting the amount
of time during which charge is collected. Charge from distant
regions of the film take longer to return, and so a short dwell
time will prevent such charge from being sensed. This effect
has nothing to do with the frequency of the burst itself, it is
purely a time-domain phenomenon; changing the burst or
pulse spacings (i.e. sample frequency) will have no effect on
water film suppression.
To create short dwell times, a CMOS PLD is configured with a
simple timing circuit to control the Y gate (Section 3.9).
Mechanical means can also be used to suppress cross-
coupling due to moisture films, for example raised plastic
barriers between keys, or placing keys in shallow wells or on
raised areas to lengthen the electrical path from key to key.
AKS - Adjacent Key Suppression - is included in these
devices to enhance moisture performance (Section 2.9).
3.14 Reset Input
The RST pin can be used to reset the device to simulate a
power down cycle, in order to bring the part up into a known
state should communications with the part be lost. The pin is
active low, and a low pulse lasting at least 10µs must be
applied to this pin to cause a reset.
To provide for proper operation during power transitions the
devices have an internal brown-out detector set to 4 volts.
A reset command, r, is also provided which generates an
equivalent hardware reset (page 28).
3.15 Oscillator
The oscillator can use either a quartz crystal or a ceramic
resonator. In either case, the XTI and XTO must both be
loaded with 22pF capacitors to ground. 3-terminal resonators
having onboard ceramic capacitors are commonly available
and are recommended. An external TTL-compatible
frequency source can also be connected to XTI; XTO should
be left unconnected.
The frequency of oscillation should be 6MHz +/-2%.
3.16 Startup / Calibration Times
The QT60xx5 requires initialization times as follows:
1. From very first powerup to ability to communicate:
2,000ms (One time event to initialize all of eeprom)
2. Normal cold start to ability to communicate:
70ms (Normal initialization from any reset)
3. Calibration time per key vs. burst spacings:
spacing = 250µs: 425ms
spacing = 300µs: 510ms
spacing = 400µs: 680ms
spacing = 500µs: 850ms
spacing = 1ms: 1,700ms
spacing = 2ms: 3,400ms
To the above, add 2,000ms or 70ms from (1) or (2) for
the total elapsed time from reset to ability to report key
detections.
Keys that cannot calibrate for some reason require 5 cal
cycles before they report as errors. However, the device can
report back during this interval that the key(s) affected are still
in calibration via status function bits.
3.17 Sleep_Wake / Noise Sync
The Sleep_wake and Noise Sync features depend on the use
of pin X2WS as an input. To prevent interference with scan
line X2 during acquisitions, a resistor equal to the rating of
the R2R ladder (i.e. 100K) must be used in series. The Sleep
and Sync features can be used simultaneously; the part can
be put into Sleep mode, but awakened by a noise sync signal
which is gated in at the time desired.
Sleep mode: See also command Z, page 29.
The device can be put into an ultra low-power sleep mode
using the ‘Z’ command. When this command is received, the
Sleep line must be placed immediately thereafter into a
logic-high state. The part will complete an ongoing burst
before entering Sleep. The part can be awakened by a low
transition on the X2WS pin lasting at least 5µs. One
convenient way to wake the part is to connect pin X2WS to
MOSI via the 100K resistor, and have the host send a null
command to the device. The part will wake and the null
command will not be processed. The MOSI line in turn
requires a pullup resistor to prevent the line from floating low
and causing an unintentional wake from sleep.
During Sleep the oscillator is shut down, and the part
hibernates with microamp levels of current drain. When the
part wakes, the part resumes normal functionality from the
point where it left off. It will not recalibrate keys or engage in
other unwarranted behavior.
Before going to sleep the part will respond with a 'Z'. In
slave-only SPI mode (see Section 4.3), the SS line must be
floated high by the host as soon as it receives this response;
if SS does not float high, sleep will fail and the device will
instead completely reset after about 2 seconds. Upon waking
the part will issue another 'Z' byte back to the host.
Noise sync: See also command ^W, page 30.
© Quantum Research Group Ltd.
lQ
14
www.qprox.com
QT60xx5 / R1.05
External fields can cause interference leading to false
detections or sensitivity shifts. Most fields come from AC
power sources. RFI noise sources are heavily suppressed by
the low impedance nature of the QT circuitry itself.
External noise becomes a problem if the noise is uncorrelated
with signal sampling; uncorrelated noise can cause aliasing
effects in the key signals. To suppress this problem the
devices feature a noise sync input which allows bursts to
synchronize to the noise source. This same input can also be
used to wake the part from a low-power Sleep state.
The devices bursts can be synchronized to an external
source of repetitive electrical signal, such as 50Hz or 60Hz,
or possibly a video display vertical sync line, using the
Sleep_wake / Noise sync line. The noise sync operating
mode is set by command ^W. This feature allows dominant
external noise signals to be heavily suppressed, since the
system and the noise become synchronized and no longer
beat or alias with respect to each other. The sync occurs
only at the burst for key 0 (X0Y0); the device waits for the
sync signal for up to 100ms after the end of a preceding full
matrix scan (after key #63), then when a negative sync edge
is received, the matrix is scanned in its entirety again.
The sync signal drive should be a buffered logic signal, or
perhaps a diode-clamped signal, but never a raw AC signal
from the mains.
Since Noise sync is highly effective yet simple and
inexpensive to implement, it is strongly advised to take
advantage of it anywhere there is a possibility of encountering
electric fields. Quantums QmBtn software can show signal
noise caused by nearby AC electric fields and will hence
assist in determining the need to make use of this feature.
If the sync feature is enabled but no sync signal exists, the
sensor will continue to operate but with a delay of 100ms
from the end of one scan to the start of the next, and hence
will have a slow response time.
3.18 LED / Alert Output
Pin 40 is designed to drive a low-current LED, 5mA
maximum, active-low. The LED will glow brightly (i.e. pin 40
will be solid low) during calibration of one or more keys, for
example at startup. When a key is detected, pin 40 will be low
for the duration of each burst for which a key is sensed, i.e.
with a very low duty cycle. Each additional key being detected
will also create a low pulse for that keys burst. During all
other times, the LED pin will be inactive (high).
This pin can be used to alert the host that there is key activity,
in order to limit the amount of communication between the
device and the host. The LED / Alert line should ideally be
connected to an interrupt pin on the host that can detect a
negative edge, following which the host can proceed to poll
the device for key activations.
This pin also pulls low if there is a key error of any kind.
Note that in sleep mode if the LED was on just prior to sleep,
it will remain on during sleep.
3.19 CSR Drive Polarity
See also Command ^S, page 29
The polarity of the Cs integrator capacitor reset drive can be
set for active high or active low operation using command ^S.
In the reference circuit show in Figure 3-1, the JFET will reset
Cs when the drive signal is low, so ^S should be set to 0.
Figure 3-2 requires that ^S be set to 1.
This feature allows for operation with the two basic circuit
topologies which require different Cs reset control polarities.
3.20 Oscilloscope Sync
See also Command ^R, page 29
MS pin 37 can output a positive pulse oscilloscope sync that
brackets the burst of a selected key. This feature is controlled
by the ^R command. More than one burst can output a sync
pulse, for example if the scope of the command when set is
a row or column, or is all keys. The ^R command is volatile
and does not survive reset or power down.
This feature is invaluable for diagnostics; without it, observing
signals clearly on an oscilloscope for a particular burst is
nearly impossible.
This pin is also used as a SPI mode select pin. In order to
prevent a shorted output when the oscilloscope sync is
enabled, the MS pin should only be connected to ground or
Vdd via a m10K resistor.
This function is supported in QmBtn PC software via a
checkbox.
3.21 Power Supply and PCB Layout
Vdd should be 5.0 volts +/- 5%. This can be provided by a
common 78L05 3-terminal regulator. LDO type regulators are
usually fine but can suffer from poor transient load response
which may cause erratic signal behavior.
If the power supply is shared with another electronic system,
care should be taken to assure that the supply is free of
digital spikes, sags, and surges which can adversely affect
the circuit. The devices can track slow changes in Vcc
depending on the settings of drift compensation, but signals
can be adversely affected by rapid voltage steps and impulse
noise on the supply rail.
0.1µF bypass caps from power to ground should be used
near every supply pin of every active component in the circuit.
Vee is a negative supply used by the circuit of Figure 3-1; it
can range from -3V to -5V. It does not need to be regulated
but should be well filtered and free from external fluctuations.
Figure 3-1 shows a simple, inexpensive charge-pump which
is driven from resonator pin XTO to generate Vee.
Current requirements of the circuit are approximately
20mA / Vdd, 4mA / Vee when running.
PCB layout: The PCB layout should incorporate a ground
plane under the entire circuit; this is possible even with
2-layer boards. The ground plane should be broken up as
little as possible. Internal nodes of the circuit can be quite
sensitive to external noise and the circuit should be kept
away from stray magnetic and electric fields, for example
those emanating from mains power components such as
transformers and power capacitors. If proximity to such
components is unavoidable, an electrostatic shield should be
considered. The Sync feature (Section 3.17) can also be
invaluable in reducing these types of noise sources.
Sample layout artwork is available from Quantum on request.
© Quantum Research Group Ltd.
lQ
15
www.qprox.com
QT60xx5 / R1.05
3.22 ESD / Noise Considerations
In general the QT60xx5 will be well protected from static
discharge during use by the overlying panel. However, even
with a dielectric panel transients currents can still flow into
scan lines via induction or in extreme cases, dielectric
breakdown. Porous or cracked materials may allow a spark to
tunnel through the panel. In all cases, testing is required to
reveal any potential problems. The devices have diode
protected pins which can absorb and protect the device from
most induced discharges, up to 5mA.
The X lines are not usually at risk during operation, since they
are low-resistance output drives. The YCn lines are not
directly connected to the matrix and so are not at risk.
However the PLD and the QS3251 are connected to the Y
lines and may require additional ESD protection.
Diode clamps can be used on the X and Y matrix lines. The
diodes should be high speed / high current types such as
BAV99 dual diodes, connected from Vdd to Vss with the
diode junction connected to the matrix pin.
Capacitors placed on the X and Y matrix lines can also help
to a limited degree by absorbing ESD transients and lowering
induced voltages. Values up to 100pF can be used without
causing circuit problems.
The circuit can be further protected by inserting series
resistors into the X and/or Y lines to limit peak transient
current. Values up to 500 ohms can be used in most cases,
but if the dwell time is short this resistance can cause a
reduction in signal gain. RC networks as shown in Figures
4-4 and 4-5 can provide enhanced protection against ESD
while also limiting the effects of external fields.
External field interference can occur in some cases; these
problems are highly dependent on the interfering frequency
and the manner of coupling into the circuit. PCB layout
(Section 3.21) and external wiring should be carefully
designed to reduce the probability of these effects occurring.
Of particular note is the length of the connection from the
circuit to the key panel. This connection will act as an
antenna that will resonate at various radio frequencies to
cause interference, and thus should be very short. If RFI
pickup is a problem, the connections should be damped
using ferrite beads or low-value (22 - 100 ohm) series
resistors in all lines including any ground and power lines
running in parallel to the panel.
SPI data noise: In some applications the host MCU can be
some distance from the sensor, with the interface coupled via
ribbon cable. The SPI link is particularly vulnerable to noise
injection on these lines; corrupted or false commands can be
induced from transients on the power supply or ground wiring.
Bypass capacitors and series resistors can be used to
prevent these effects as shown in Figures 4-4 and 4-5.
4 Serial Interface
QT60xx5 devices use an SPI serial interface to a host MCU.
This port uses a protocol described in Section 5.
4.1 Serial Port specifications
QT60xx5's use an SPI synchronous serial interface with the
following specifications at 6MHz oscillator frequency:
Max clock rate, Fck 1.5MHz
Data length 8 bits
Host command space, Tcm m 50µs
Response delay to host, Tdr1 Table 4-1, also, Sec. 7
Drdy delay from response, Tdr2 1µs to 1ms
Multi-byte return spacing, Tdr3 15µs to 2ms
The host can clock the SPI at any rate up to and including the
maximum clock rate Fck. The maximum clock rate of the part
in Master mode is determined by Setup ^Q.
The part can operate in either master-slave mode or
slave-only mode, and is thus compatible with virtually all
SPI-capable microcontrollers.
The SPI interface should not be used over long distances due
to problems with signal ringing and introduced noise etc.
unless suitably buffered or filtered with RC networks as
shown in Figures 4-4 and 4-5. Slower data rates with longer
RC timeconstants will provide enhanced resistance to noise
and ringing problems.
Conversion to asynchronous UART format can be
accomplished by using a microcontroller with conversion
firmware. Using such a conversion device the part can
communicate with Quantum's QmBtn PC software. Consult
Quantum for details.
4.2 Protocol Overview
The SPI protocol is based entirely on polled data
transmission, that is, the part will not send data to the host of
its own volition but will do so only in response to specific
commands from the host.
Run-time data responses, such as key detection or error
information, requires simple single-byte functions to evoke a
response from the part.
Setup mode interactions mostly use 2-byte functions from the
host to cause the part to alter its behavior; these functions
also cause writes to the internal eeprom.
The concept of 'scope' is used to allow functions to operate
on individual keys or groupings of keys. The scope of
subsequent functions can be altered by short initial scope
instructions.
See Section 5 for protocol details.
4.3 SPI Slave-Only Mode
Refer to Figures 4-1 and 4-2. Select Slave-only by
floating Pin 37 (MS) or tying high via a m10K resistor. Pin
37 also functions as an oscilloscope sync output (Section
3.20) and should never be tied directly to a supply rail. In
Slave mode the host must always be in Master mode, as
it controls all SPI activity including clocking of the
© Quantum Research Group Ltd.
lQ
16
www.qprox.com
QT60xx5 / R1.05
Figure 4-1 SPI Connections
Slave-Only Master-Slave
MOSI MOSI
MISOMISO
SCK SCK
DRDY
P_OUT
P_IN
SS
SS
Host M
C
U
Q
T60
x
x
5
MSVdd
SS
MOSI MOSI
SCK SCK
DRDY
SS
Host MCU QT60
x
x
5
MISOMISO
MS
10K
interface in both directions. Unlike hardware SPI slaves,
QT60xx5's need processing time to respond to functions.
DRDY is used to let the host know when data is ready for
collection; it indicates to the host when data is ready in
response to a command so that the host can clock over the
data.
This mode requires 5 signals to operate:
MOSI - Master out / Slave in data pin; used as an input for
data from the host at all times. This pin should be
connected to the MOSI pin of the host device.
MISO - Master in / Slave out data pin; used as an output for
data to the host at all times. This pin should be connected
to the MISO pin of the host device.
SCK - SPI clock - input only clock pin from host. The host
must shift out data on the falling edge of SCK; the
QT60xx5 clocks data in on the rising edge of SCK.
Important note: SCK must idle low just before and after
SS transitions either up or down, or the transmission will
fail; between bytes SCK should always idle low. SCK
should never float.
SS’ - Slave select - input only; acts as a framing signal to the
sensor from the host. SS must be low before and during
reception of data from the host. It must not go high again
until SCK line has returned low; during data or echo
response it must not go high until after the host has
sensed that DRDY has gone high from the device. SS
must idle high. SS has an internal pullup resistor.
DRDY’ - Data Ready - active-low - indicates to the host that
the part is ready to send data back subsequent to a
command from the host. This pin idles high. The DRDY
pin has an internal pullup resistor inside.
Internal pullup resistors note: The internal pullup resistors
can range from 35k to 120k ohms. If RC filtering is used on
the SPI lines per Figure 4-4, this resistance may not be low
© Quantum Research Group Ltd.
lQ
17
www.qprox.com
QT60xx5 / R1.05
Table 4-1 Typical DRDY (Tdr1) Response Delays (Burst Length = 12)
300us300us300us300us300us400us
All other commands
800us800us800us800us1ms1ms
Get key errors (E), Get keys pushed (K)
2ms2ms2.5ms2.5ms2.7ms3ms
Calibrate command (all keys)
800ms800ms800ms800ms800ms800ms
Lock Reference Levels ('L') command
300ms300ms300ms300ms300ms300ms
Setup - Put (affect 64 keys)
40ms40ms40ms40ms40ms40ms
Setup - Put (affect 8 keys)
10ms10ms10ms10ms10ms10ms
Setup - Put (affect 1 key)
2ms1ms500µs400µs300µs250µsFunction Type
Burst Spacing
Figure 4-2 SPI Slave-Only Mode Timing
SCK
{from host}
MOSI
{from host}
MISO
{from sensor}
Invalid Data
Optional Byte 2Host Command Byte 1 Null Dummy Data Null Dummy Data
Invalid Data Response Data or Echo Nth Response Data
{
N
=
c
o
a
n
d
d
e
p
e
n
d
e
n
t
}
DRDY
{from sensor}
SS
{from host}
7 6543210
7 6543210 7 6543210
7 6543210
7 6543210 7 6543210
Tdr1
T
cm Tdr2
T
dr3
Figure 4-3 SPI Master/Slave Mode Timing
SCK
MOSI
Optional Byte 2
from host to sensor
Command Byte 1
from Host to sensor
SS
Tdr1
Response Byte or Echo
from sensor to host
Nth Byte from sensor
{N = command dependent}
SS, SCK, MOSI originate from Host SS, SCK, MOSI originate from sensor
7 6543210 7 6543210 7 6543210 7 6543210
Floating
T
cm Tdr3
enough to ensure adequate signal risetime and may need to
be augmented with external 10k pullups.
The host must wait until DRDY goes low before an SPI
transfer to retrieve data. For multi-byte responses, the host
must observe DRDY' to see when it goes high again after
each data byte, then low again, before executing another
transfer to get the next data byte. The host should send null
bytes (0x00) to retrieve data.
If the DRDY line does not go low after a command, the
command was not properly received or it was inappropriate.
The delay to DRDY low depends on how many bytes of data
are being loaded into eeprom; Table 4-1. Absolute worst case
delays are found in Section 7; these timings occur only rarely,
for example if the device happens to be busy with adjacent
key suppression calculations, which occurs only at the
moment when a key is first detected.
A typical Slave-only function sequence is as follows:
1) The host pulls SS low, then transfers a command to the
sensor. The host then releases SS to float high. DRDY is
unaffected in this step.
2) For 2-byte functions, (1) is repeated with a m50µs delay.
3) When the sensor has the command echo or requested
data ready to send back to the host, it loads it into its SPI
register and pulls DRDY low.
4) The host detects that the sensor has pulled DRDY low
and in turn the host pulls SS low.
5) The host obtains the byte from the sensor by transmitting
a dummy byte (0x00) to the sensor.
6) The sensor releases DRDY to float high.
7) After the host detects that DRDY' has floated high the
host must allow SS to also float high.
8) For multi-byte responses, steps (3) through (7) are
repeated until the return data is completely sent.
The host must release the SS line in step (7) even between
multiple byte responses because the QT60xx5 waits for the
SS line to return high before signalling that the next byte is
ready for collection.
The host should check the DRDY line and wait for it to go
high before transmitting another byte. Until the DRDY line is
released the sensor is still processing a data return, even if
the complete response data has been fully transferred; the
sensor may still be busy when the host finishes the byte
transfer and may not be able to digest a new command
immediately.
See Section 3.18, page 15, for a description of the Alert pin
which can be used to reduce communication traffic.
4.4 SPI Master-Slave Mode
Refer to Figures 4-1 and 4-3. In Master-Slave mode the host
and sensor take turns being Master; the host always initiates
in Master mode during an exchange. The current Master
always controls all 3 signals. The sensor takes a variable
amount of time to respond to the host, depending on the
function and current and pending tasks. SPI Master/Slave
mode is selected by tying Pin 37 (MS) low via a 10K resistor.
Pin 37 is also an oscilloscope sync output (see Section
3.20 and command ^R, page 29) and should never be tied
directly to either supply rail. The host, like the sensor, must
idle in slave mode when not sending a command.
Master/Slave requires 3 signals to operate:
MOSI - Master out / Slave in data pin - bidirectional - an input
pin while the host is transmitting data; an output when the
sensor is transmitting data. The MOSI of the host and
slave should be tied together. The MISO lines are not used
on either part and should be left open.
SCK - SPI clock - bidirectional - an input pin when receiving
data; an output pin when sending. The host must shift out
data on the falling edge of SCK; the QT60xx5 clocks data
in on the rising edge of SCK. Important note: SCK from
the host must be low before asserting SS low or high at
either end of a byte or the transmission will fail. SCK
should idle low; if in doubt, a 10K pulldown resistor should
be used. When the sensor returns data it becomes the
Master; data is shifted out by it on the falling edge of SCK
and should be clocked in by the host on the rising edge.
SS’ - Slave select - bidirectional framing control. When the
sensor is in slave mode, this pin accepts the SS control
signal from the host. In either data direction, SS' must go
low before and any during data transfer; it should not go
high again until SCK has returned low at the end of a byte.
© Quantum Research Group Ltd.
lQ
18
www.qprox.com
QT60xx5 / R1.05
Figure 4-4 Filtering SPI Slave-Only Connections
Figure 4-5 Filtering SPI Master-Slave Connections
MOSI
MISO
SCK
DRDY
SS
QT60xx5 Circuit
Ra
220
47pF Ra
Ra
Ra
Ra
RESET
1K
Host MCU
100
22pF
Yn
Xn X drives
(1 of 8
shown)
Y Lines
(1 of 8
shown)
10K
+5
Ca
Ca
Ca
Ca
Ca
1nF
10K
+5
SCK
MISO
MOSI
(MS not
shown)
P_IN
P_OUT1
P_OUT2
MOSI
MISO
SCK
DRDY
SS
QT60xx5 Circuit
220
47pF Ra
Ra
Ra
RESET
1K
Host MCU
100
22pF
Yn
Xn X drives
(1 of 8
shown)
Y Lines
(1 of 8
shown)
Ca
Ca
Ca
Ca
1nF
10K
+5
MOSI
Ca
Ca
SS
SCK
MISO
(MS not
shown)
P_OUT
1nF2,20046.875kHz
470pF2,20093.75kHz
270pF1,000375kHz
100pF6801.5MHz
CaRaSPI Clock Rate
Recommended Values of Ra & Ca for Figures 4-4 and 4-5
In Master mode the sensor asserts control over this line, to
make the host a slave and to frame the data. This line
must idle high; the part includes an internal pullup resistor
and should be floated during idle times.
Internal pullup resistor note: The internal pullup resistor on
SS can range from 35k to 120k ohms. If RC filtering is used
on the SPI lines per Figure 4-5, this pullup resistance may not
be low enough to ensure adequate signal risetime and may
need to be augmented with external 10k pullups.
A command may consist of one or two bytes with a m50µs
delay between bytes. At the end of a full command, the host
must go into Slave mode to await a response.
The sensor may take some time to process the command
and respond. When it does, it asserts SS low and begins
clocking data out. For multi-byte responses, bytes will be sent
at intervals which may be irregular depending on the request
and the processing load of the sensor. The host must be
prepared to accept the sensor data as it comes or there can
be a data overrun in the host. If the data returns too quickly
for the host to accept it, lower the SPI clock rate.
A typical Master-Slave function sequence is as follows:
1) Host enters Master mode. The sensor is already in Slave
mode.
2) The host pulls SS low, then transfers one byte of
command to the sensor via MOSI, then releases SS to
float high again.
3) For 2-byte functions, (2) is repeated with m50µs spacings
between bytes.
4) The host immediately places its SPI port into Slave mode,
floating SCK and MOSI; SS stays floating.
5) When the sensor has a command echo or data to send
back, it puts its SPI register in Master mode, taking control
over MOSI and SCK. SS' remains floating.
6) The sensor pulls SS low, then clocks out its response
byte to the host, then floats SS high again.
7) The sensor repeats (6) as necessary for multiple byte
responses.
8) The sensor returns to slave mode.
After the transmission sequence, the SPI lines float high or
are left to float in an indeterminate state (MOSI) until the next
transmission sequence is initiated by the host. The host
should wait for m1ms after a sequence before initiating
another transmission sequence.
See Section 3.18, page 15, for a description of the Alert pin
which can be used to reduce communication traffic.
4.5 Sensor Echo and Data Response
The devices respond to each and every valid command from
the host with at least one return byte. In the case of functions
that do not send data back to the host, the part returns the
command itself as an echo, but only after the function has
been completed; this also holds for 2-byte functions where
the second byte is an operand: in these cases the return byte
is an echo of the command, not the operand.
Exception: The recalibration command b returns an
acknowledgement immediately rather than just before the
actual recalibration.
Commands that return data do not send back a command
echo. If desired, the command can be verified via the 'l'
(lowercase L) echo function; see page 28.
The host should not transmit a new command until the
last command has been processed and responded to
completion, plus 1ms.
Commands that are not recognized are ignored, and the host
should monitor for timeouts to detect these conditions. If this
occurs a new command should not be sent until the specified
timeout duration has expired.
The maximum timings shown in Table 4-1 and Section 7-5
are guaranteed provided that the part is operating within the
timing limitations of Section 5.7. If burst timing is in violation,
the response time to a command may be longer.
4.6 Eeprom Corruption
The device stores its Setup data in an internal eeprom which
can be readily altered via Put mode commands. Sometimes
noise on Vdd, the SPI lines or Reset pin can cause eeprom
corruption which can be difficult or inconvenient to correct.
The device should always be left in Get mode to prevent
spurious commands from corrupting the eeprom. The Get
command should ideally be repeated every second or so to
ensure that if noise on the SPI lines causes a false Put mode
command that it does not last long. Preferably, the l
command (lowercase L) should be used to verify that the Put
command has succeeded.
Flash backup: The part backs up the entire eeprom array
into onboard Flash rom after one or more Setup write
commands have been issued and the part is then reset.
During normal operation the part constantly compares the
Flash area with the eeprom array to ensure the two sections
match. If an eeprom error is detected, the device sets an
error flag (bit 4) in the general device status byte (Command
7, page 22) which can be read by the host device. The LED
output also becomes active. If the bit 4 error flag is set, the
host should immediately induce a device reset.
Bit 4 is also set if an intentional write has been made to
eeprom, but not yet copied into Flash via the reset process. It
is perfectly acceptable to continue altering any number of
Setup parameters prior to doing the reset, ignoring this bit.
During power up or after a reset, the device compares the
Flash area with eeprom, and if there is a discrepancy the
eeprom is refreshed from Flash, unless an intentional write
was detected in which case the Flash is updated from the
eeprom. As intentional writes in Put mode should only occur
during manufacture, it is normally safe to assume that
eeprom changes during normal run mode are errors.
The host can also periodically test the checksum of the
eeprom as a backup mechanism to the bit 4 error flag.
The uppercase L command, Lock Reference Levels, also
writes data to eeprom, and this data also has the potential to
become corrupted. This data is also backed up in Flash so
that it can be recovered, and an error in this data will also set
bit 4 and also alter the checksum. Also, the L command only
operates if the device is in Put mode as a further protection.
Flash rom has a limit of 1,000 write cycles, so copy-to-Flash
should not be used routinely.
© Quantum Research Group Ltd.
lQ
19
www.qprox.com
QT60xx5 / R1.05
5 Commands & Functions
The command structure is designed to minimize control and
data traffic. All repetitive data and status commands from the
host are single-byte, and most commands result in single-
byte device responses. Behavioral setup commands involve
multiple bytes but these are infrequently used.
Special 'scope' commands exist to restrict subsequent
commands to a specific key or range of keys. This control
structure permits most matrix keys, which are usually
identical in shape and size, to be programmed 'in bulk' using
a 'global' scope command, followed by a scope restriction to
specific key(s), followed by more key programming, to
prevent the need for tedious key-by-key programming across
an entire matrix.
There are four types of commands:
Direction - Determine whether subsequent commands are
used to get data from or put data to the part;
Scope - Restrict the range of effect of subsequent
commands to a specific set of keys;
Status - Cause the part to respond with key information,
such as detections, signals, error codes, and the like;
Setup - Modify functionality such as burst length, threshold
levels, drift compensation characteristics, etc.
Supervisory - Special functions such as diagnostics,
calibration, etc. which affect the part as a whole.
All command types can be intermixed. Even during normal
device operation it is possible to use Setup and Supervisory
functions to alter key behavior on the fly. There is no special
'setup mode'.
Get/Put, Scope, and many Supervisory functions are volatile
and do not persist after a power down or reset cycle. Some
Supervisory commands require that the part be reset in order
for the new settings to take effect.
Note that the Setup functions write to eeprom and require
extra time for a response back to the host. Also note that as
with all eeprom memories there is a recommended lifetime
limit to the number of writes; this limit is 100,000 cycles.
Command functions are summarized in Section 5-6
It is highly advised to test the device checksum
(command ‘6’) or individual key settings or the general
device status (‘7’) once Setups have been programmed
into the part, each time the part is powered up and
periodically while running.
The part backs up all eeprom locations into Flash
memory, from which data is restored automatically
following a reset if eeprom corruption is detected. The
part should also be reset after any Put command(s) in
order to force the copy of eeprom data into Flash. See
Section 4.6.
5.1 Direction Commands
Setup commands can be used to either send control
information to the part for programming into its internal
eeprom, or to extract the current setting of this information.
The same Setup function can do either. To accomplish this
the device relies on direction control via the Get and Put
commands. In Get mode, a Setup command will return
information. In Put mode, the behavior of the device is
altered, and often a second operand byte must be sent.
The powerup or reset default mode is Get. The current
Get/Put mode persists until countermanded by a different
Get/Put command or until the device is reset or powered off.
It is advisable to use Put mode only when actually writing
Setups to the device, which will happen infrequently; the part
should normally be left in Get mode. Get mode acts as a lock
to prevent accidental changes to the internal eeprom.
Multiple direction commands of the same type (g, g, g, g ...)
are harmless and can be used to insure that the part does not
accidentally enter Put mode for a prolonged period, for
example due to noise glitches on the SPI lines. The 'g'
command can be repeated every few seconds.
g 0
X
67 - G
ET
C
OMMAND
n/an/an/an/aGet
0x67n/a1n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
Lowercase 'G'. The 'g' command causes the device to treat all
subsequent Setup commands as 'Gets'; after, when a Setup
command is received from the host the part will respond by
sending back the current status of that Setup parameter.
The 'g' command is always single-byte and echoes back
itself.
p 0
X
70 - P
UT
C
OMMAND
n/an/an/an/aGet
0x70n/a1n/aPut
Returns2nd Byte RangeBytes / CmdScope
Lower case 'p'. The 'p' command causes the device to treat
all subsequent Setup commands as 'Puts'; after, when a
2-byte Setup command is received from the host the part will
respond by programming in the desired parameter for the
key(s) which are affected.
The 'p' command is always single-byte and echoes back
itself.
© Quantum Research Group Ltd.
lQ
20
www.qprox.com
QT60xx5 / R1.05
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:
key_number = X_row + (Y_column x 8)
Row and column numbers are per Fig. 1-6. Keys are acquired
in this same burst sequence, i.e. X0Y0, X1Y0, X2Y0 etc.
s 0
X
73 - S
PECIFIC
K
EY
S
COPE
n/an/an/an/aGet
0x730x00..0x3F2n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
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.
S 0
X
53 - A
LL
K
EYS
S
COPE
n/an/an/an/aGet
0x53n/a1n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
Uppercase 'S'. Addresses all keys in the matrix for all further
functions that can target a group of keys.
x 0
X
78 - R
OW
K
EYS
S
COPE
n/an/an/an/aGet
0x780x00..0x072n/aPut
Returns2nd Byte RangeBytes / CmdScope
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.
y 0
X
79 - C
OLUMN
K
EYS
S
COPE
n/an/an/an/aGet
0x790x00..0x072n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
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.
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)
0 0
X
30 - S
IGNAL
FOR
S
INGLE
K
EY
0x00..0xFF111Get
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
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.
1 0
X
31 - D
ELTA
S
IGNAL
FOR
S
INGLE
K
EY
0x00..0xFF111Get
n/an/an/an/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
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).
2 0
X
32 - R
EFERENCE
V
ALUE
0x00..0xFF111Get
n/an/an/an/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Numeric '2'. Returns the Reference value in unsigned 8-bit
binary for one key whose location is determined by scope.
3 0
X
33 - R2R O
FFSET
0x00..0xFF111Get
n/an/an/an/aPut
Returns# Bytes RtndBytes / CmdScope
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.
4 0
X
34 - C
Z
S
TATE
0x00..0x02111Get
n/an/an/an/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
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.
© Quantum Research Group Ltd.
lQ
21
www.qprox.com
QT60xx5 / R1.05
5 0
X
35 - D
ETECTION
I
NTEGRATOR
C
OUNTS
0x00..0xFF111Get
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Numeric '5'. Returns the Detection Integrator counter value
for one key whose location is determined by scope. This
function is useful primarily for circuit diagnostics.
6 0
X
36 - E
EPROM
C
HECKSUM
0x00..0xFF11n/aGet
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Numeric '6'. Returns the entire eeprom checksum. This
function is useful primarily for diagnostics and should
periodically be used to check for valid eeprom contents.
The checksum should be computed when the entire device's
settings, including the locked reference levels ('L' command)
are set. The host can then periodically test the checksum to
validate eeprom integrity. If needed, the eeprom can then be
reprogrammed by the host or the device can be reset to allow
the eeprom to be updated from Flash ROM (see Section 4.6).
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, 16, 32 or 64 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 general 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.
7 0
X
37 - G
ENERAL
D
EVICE
S
TATUS
0x00..0x1F11n/aGet
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Section 2.12, p. 8
Numeric '7'. Returns the part's general status byte which is a
5-bit pattern as follows:
KDKRKESFEFuuu
b0b1b2b3b4b5b6b7
KD: 1= one or more keys are in detection
KR: 1= one or more keys are recalibrating
KE: 1= one or more keys are reporting errors
SF: 1= sync fail; the part is not synchronized to an
external source (if in that mode; see Section 3.17).
EF: 1 = Eeprom / Flash discrepancy (Section 4.6)
Higher bits (u) 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
interrogate further to narrow down specifics, such as which
key is being touched or in error, via other commands.
<
SP
> 0
X
20 - S
IGNAL
L
EVELS
FOR
G
ROUP
0x00..0xFF8 or 6418, 64Get
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Space character. Same function as 0x30 above except
returns a group response of 8 bytes (if Scope = row or
column selected) or 64 bytes (if Scope = entire matrix
selected). If no group scope has been selected, returns data
for all keys (64 bytes).
! 0
X
21 - D
ELTA
S
IGNALS
FOR
G
ROUP
0x00..0xFF8 or 6418, 64Get
n/an/an/a n/aPut
Returns# Bytes RtndBytes / CmdScope
Exclamation character. Same function as 0x31 above except
returns a group response for 8 or 64 keys depending on
current scope. If no group scope has been selected, returns
data for all keys (64 bytes).
" 0
X
22 - R
EFERENCE
L
EVELS
FOR
G
ROUP
0x00..0xFF8 or 6418, 64Get
n/an/an/an/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Double quote character. Same function as 0x32 above except
returns a group response of 8 or 64 bytes depending on
current scope. If no group scope has been selected, returns
64 bytes.
# 0
X
23 - R2R O
FFSET
FOR
G
ROUP
0x00..0xFF8 or 6418, 64Get
n/an/an/an/aPut
Returns# Bytes RtndBytes / CmdScope
Hash character. Same function as 0x33 above except returns
a group response of 8 bytes (Scope = row or column
selected) or 64 bytes (Scope = entire matrix selected)
depending on the current group scope setting. If no group
scope has been selected, returns 64 bytes.
$ 0
X
24 - C
HARGE
C
ANCELLATION
FOR
G
ROUP
0x00..0x038 or 6418, 64Get
n/an/an/a n/aPut
Returns# Bytes RtndBytes / CmdScope
Dollar character. Same function as 0x34 above except returns
a group response of 8 bytes (Scope = row or column
selected) or 64 bytes (Scope = entire matrix selected)
depending on the current group scope setting. If no group
scope has been selected, returns 64 bytes.
% 0
X
25 - D
ETECT
I
NTEGRATOR
C
OUNTS
FOR
G
ROUP
0x00..0xFF8 or 6418, 64Get
n/an/an/an/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Percent character. Same function as 0x35 above except
returns a group response of 8 bytes (Scope = row or column)
or 64 bytes (Scope = entire matrix) depending on the current
group scope setting. If no group scope has been selected,
returns 64 bytes.
© Quantum Research Group Ltd.
lQ
22
www.qprox.com
QT60xx5 / R1.05
e 0
X
65 - E
RROR
C
ODE
FOR
S
ELECTED
K
EY
0x00..0x0F111Get
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Section 2.12, p. 8
Lowercase 'E'. Returns the error byte for a selected key
defined by the 's' command. A 4-bit pattern is returned:
FRHLuuuu
b0b1b2b3b4b5b6b7
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
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 set, bits 2 and 3 are immediately cleared.
H, Bit 2 when set indicates either:
- the reference has drifted above decimal 191, or,
- the total absolute reference level has become higher than
the upper window boundary described in Section 2.11
and as defined by Command ^N after a forced
recalibration.
L, Bit 3 when set indicates either:
- the reference has drifted below decimal 64, or,
- the total absolute reference level has become lower than
the lower boundary described in Section 2.11, as defined
by Command ^O after a forced recalibration.
Bits 2 and 3, if set via drift compensation, would indicate that
the key should be recalibrated by the host. If H and L bits
appear immediately after a full recalibration, it means that the
key is probably defective.
E 0x45 - Error Codes for Group
0x00..0xFF1 or 811, 8, 64Get
n/an/an/a n/aPut
Returns# Bytes RtndBytes / CmdScope
Section 2.12, p. 8
Uppercase 'E'. Returns general error codes for a range of
keys defined by scope. Returns either 1 or 8 bytes depending
on whether a single key, row, column, or entire matrix are
selected.
The bitfields for a single key are the same as for 'e' above.
The bitfields for a single row (X) are:
Y
0Y1Y2
Y
3Y4Y5Y6Y7
b0b1b2b3b
4
b
5
b6b7
The bitfields for a single column (Y) are:
X0X1X2X3X4X5X6X7
b0b1b2b3b4b5b6b7
The bitfields for a global response are:
X0
Y
7
56
X1Y7
57
X2Y7
58
X3Y7
59
X4Y7
60
X5Y7
61
X6Y7
62
X7Y7
63
b
y
te8
X0
Y
6
48
X1Y6
49
X2Y6
50
X3Y6
51
X4Y6
52
X5Y6
53
X6Y6
54
X7Y6
55
b
y
te7
X0Y5
40
X1Y5
41
X2Y5
42
X3Y5
43
X4Y5
44
X5Y5
45
X6Y5
46
X7Y5
47
byte6
X0Y4
32
X1Y4
33
X2Y4
34
X3Y4
35
X4Y4
36
X5Y4
37
X6Y4
38
X7Y4
39
byte5
X0Y3
24
X1Y3
25
X2Y3
26
X3Y3
27
X4Y3
28
X5Y3
29
X6Y3
30
X7Y3
31
byte4
X0Y2
16
X1Y2
17
X2Y2
18
X3Y2
19
X4Y2
20
X5Y2
21
X6Y2
22
X7Y2
23
b
y
te3
X0Y1
8
X1Y1
9
X2Y1
10
X3Y1
11
X4Y1
12
X5Y1
13
X6Y1
14
X7Y1
15
b
y
te2
X0Y0
0
X1Y0
1
X2Y0
2
X3Y0
3
X4Y0
4
X5Y0
5
X6Y0
6
X7Y0
7
b
y
te1
b0b1b2b3b4b5b6b7
Byte 1 is the first returned byte in the sequence.
In all the above examples a '1' in a bit position indicates that
there is some type of error associated with the key. The use
of the 'e' command (or 'E' with scope set to a specific key) will
specify the nature of the error.
k 0
X
6B - R
EPORTING
OF
F
IRST
T
OUCHED
K
EY
0x00..0xFF11n/aGet
n/an/an/a n/aPut
Returns#Bytes RtndBytes / CmdScope
Section 2.12, p. 8
Lowercase 'K'. Returns a byte that indicates which if any key
has been touched. The byte is structured as follows:
k0k1k2k3k4k5-m
b0b1b2b3b4b5b6b7
Bits are used as follows:
m - if '1', indicates that yet another key is active
k0..k5 - indicates the key number of a first detected key,
in the range 0..63 (0x00..0x3F).
If a reported key drops out while other keys are active, 'k' will
report one of the other active keys, but there is no rule for
which of the next keys gets reported in k0..k5.
If the byte returned has a value of 255 (0xFF), then no key
has been detected.
© Quantum Research Group Ltd.
lQ
23
www.qprox.com
QT60xx5 / R1.05
K 0
X
4B - K
EY
T
OUCH
R
EPORTING
FOR
G
ROUP
0x00..0xFF1 or 811, 8, 64Get
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Section 2.12, p. 8
Uppercase 'K'. Returns 1 or 8 bytes depending on the current
scope. The byte(s) returned contain a bit pattern which
indicates touched keys. A scope of a single key, row or
column will return one byte. A scope of all keys will return 8
bytes. If scope is one key, only the LSB is used to report.
The bitfields for a single key are:
key-------
b0b1b2b3b4b5b6b7
The bitfields for a single row (scope is X) are:
Y
0Y1Y2
Y
3Y4Y5Y6Y7
b0b1b2b3b
4
b
5
b6b7
The bitfields for a single column (scope is Y) are:
X0X1X2X3X4X5X6X7
b0b1b2b3b4b5b6b7
The bitfields for a global report are:
X0
Y
7
56
X1Y7
57
X2Y7
58
X3Y7
59
X4Y7
60
X5Y7
61
X6Y7
62
X7Y7
63
b
y
te8
X0
Y
6
48
X1Y6
49
X2Y6
50
X3Y6
51
X4Y6
52
X5Y6
53
X6Y6
54
X7Y6
55
b
y
te7
X0Y5
40
X1Y5
41
X2Y5
42
X3Y5
43
X4Y5
44
X5Y5
45
X6Y5
46
X7Y5
47
b
y
te6
X0Y4
32
X1Y4
33
X2Y4
34
X3Y4
35
X4Y4
36
X5Y4
37
X6Y4
38
X7Y4
39
byte5
X0Y3
24
X1Y3
25
X2Y3
26
X3Y3
27
X4Y3
28
X5Y3
29
X6Y3
30
X7Y3
31
byte4
X0Y2
16
X1Y2
17
X2Y2
18
X3Y2
19
X4Y2
20
X5Y2
21
X6Y2
22
X7Y2
23
byte3
X0Y1
8
X1Y1
9
X2Y1
10
X3Y1
11
X4Y1
12
X5Y1
13
X6Y1
14
X7Y1
15
b
y
te2
X0Y0
0
X1Y0
1
X2Y0
2
X3Y0
3
X4Y0
4
X5Y0
5
X6Y0
6
X7Y0
7
b
y
te1
b0b1b2b3b
4
b
5
b6b7
Byte 1 is the first returned byte in the sequence.
In all the above examples a '1' in a bit position indicates that
the key is touched; a '0' indicates no touch.
5.4 Setup Commands
Setup functions are those that alter the behavior a key or a
group of keys. The setups are programmed into eeprom
locations in the part and ordinarily do not need to be
reprogrammed once set. However it is possible to change a
setup while the device is in normal operation without
interrupting the sensing function of the part.
Setup functions alter the internal eeprom, and this requires a
much longer time to complete than other commands; see
Table 4-1.
Setup 'put' commands become effective immediately after the
echo response of the command byte unless otherwise noted;
some setups require that the key(s) being altered be
recalibrated with the 'b' command before they take effect.
^A 0
X
01 - N
EGATIVE
D
ETECT
T
HRESHOLD
0x04..0x40n/a11Get
0x010x04..0x4021, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.1, p. 5
Ctrl-A. In Put mode, the command followed by a setting is
programmed into eeprom for the key(s) affected by scope.
1, 8, or 64 keys may be affected. Valid decimal values are:
45678101215
17 20 25 30 35 45 55 64
Values other than the above will be rounded down.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
This setup controls key sensitivity by setting the counts of
signal delta needed to cause a detect. Higher = less
sensitive. Numbers should be 6 or greater under most
conditions to reduce the probability of noise detection.
Numbers greater than 20 indicate that the burst length is
probably too high. This setup interacts with Burst Length (^F).
^B 0
X
02 - P
OSITIVE
D
ETECT
T
HRESHOLD
0x04..0x40n/a11Get
0x020x04..0x4021, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.2, p. 6
Ctrl-B. In Put mode, the command followed by a setting is
programmed into eeprom for the key(s) affected by scope. 1,
8, or 64 keys may be affected. Valid decimal values are:
45678101215
17 20 25 30 35 45 55 64
Values other than the above will be rounded down.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
This setup controls the ability of a key to recalibrate quickly
should the signal transition positive quickly, as when a touch
is prolonged enough to cause a recalibration, and when the
key is then 'untouched'. This condition can also be caused by
a foreign object being removed from a key. The value should
normally be set between 6 and 10 counts. If the value is very
high, the key will still recover by means of the drift
compensation process, albeit more slowly.
© Quantum Research Group Ltd.
lQ
24
www.qprox.com
QT60xx5 / R1.05
^C 0
X
03 - N
EGATIVE
T
HRESHOLD
H
YSTERESIS
0x01..0x03n/a164Get
0x030x01..0x03264Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 2.3, p. 6
Ctrl-C. In Put mode, the command followed by a setting is
programmed into eeprom for all keys only. The value should
be from 0 to 3, representing hysteresis as follows:
0: 50%
1: 25%
2: 12.5%
3: 0% (no hysteresis)
Values other than the above will be rounded down.
The percentage is the distance from the threshold level to the
reference level. The hysteresis level is always closer to the
threshold point than to the reference point. 25% is a
reasonable value under most conditions.
As this parameter is common to all keys, Put and Get
operations send or return only one byte.
^D 0
X
04 - P
OSITIVE
T
HRESHOLD
H
YSTERESIS
0x01..0x03n/a164Get
0x040x01..0x03264Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.3, p. 6
Ctrl-D. Identical in operation to ^C above except this applies
to positive 'detections' used to recalibrate the sensor (see ^B
above for details). Uses same hysteresis values as ^C above.
^E
0
X
05 - D
WELL
T
IME
IN
M
ACHINE
C
YCLES
0x01n/a164Get
0x050x01264Put
ReturnsByte 2 RangeBytes / CmdScope
Sections 1.2, 3.3, 3.9, 3.13
Ctrl-E. Governs the delay from the rise of an X drive to the
termination of Y transfer gating ('dwell time').
This command is included for compatibility with future
versions. The device defaults to 1 (one) machine cycle of
dwell or 167ns with a 6MHz oscillator. Although the command
will be accepted, this setting cannot be changed.
The dwell time can be shortened below 167ns by an external
circuit as described in Section 3.9.
As this parameter is common to all keys, Put and Get
operations send or return only one byte, 0x01.
^F
0
X
06 - B
URST
L
ENGTH
0x00..0x40n/a11Get
0x060x00..0x4021, 8, 64Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 3.6, p. 12
Ctrl-F. In Put mode the command sets the burst length of one
or more keys, according to the current scope. Valid decimal
values are:
012345710
12 15 20 25 30 40 50 64
Values other than the above will be rounded down.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
^F sets the length of the acquisition burst on a key by key
basis. This setting is directly proportional to signal gain. This
setup interacts with Negative and Positive Threshold (^A and
^B). Increasing ^F can allow for higher threshold levels and
more robust signals, at the expense of increased radiated
emissions and reduced Cx load capacity.
Special condition: If the value for ^F for a key is set to zero
the burst disabled and the key will not function; the key will
report back with an error code. The timing for the 'phantom
burst' will be preserved so that overall key scan timing will
remain unchanged.
^G 0
X
07 - B
URST
S
PACING
0x00..0x05n/a164Get
0x070x00..0x05264Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 3.8, p. 12
Ctrl-G. In Put mode, sets the spacing between successive
acquire bursts for the entire matrix.
The second byte indicates the spacing to be set according to
the following values:
0: 250µs
1: 300µs
2: 400µs
3: 500µs
4: 1000µs
5: 2000µs
Values higher than the above will be truncated to 2000µs.
Longer delay times equate to slower acquisitions. At lower
delay times (faster rep rates) there can be conflicts with long
burst lengths which will prevent proper operation; see Section
5.7.
The time required to scan the entire keymatrix once is the
above delay multiplied by 64 regardless of the number of
keys actually used or the part model number.
Burst spacing also affects recalibration time; see Section 2.10
The scope for this function is always 'all keys'.
© Quantum Research Group Ltd.
lQ
25
www.qprox.com
QT60xx5 / R1.05
^H 0
X
08 - N
EGATIVE
D
RIFT
C
OMPENSATION
R
ATE
0x01..0x64n/a11Get
0x080x01..0x6421, 8, 64Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 2.4, p. 6
Ctrl-H. In Put mode, sets the rate of drift compensation used
in the negative signal direction.
The second byte must be one of the following valid values
(shown in decimal):
1234681012
15 20 25 33 45 60 75 100
Values other than the above will be rounded down.
These numbers correspond to the amount of drift
compensation applied, in 100ms/count of reference change,
for signals which are negative with respect to the reference
level, i.e. in the same direction as legitimate detections.
Higher numbers equate to slower drift compensation.
Overcompensation (too fast) can result in the suppression of
legitimate detections. Under-compensation can result in
inadequate compensation for rapid environmental changes.
Values of 15 to 45 (1.5 to 4.5 secs/count) are considered
normal under most conditions.
Drift compensation does not occur while the signal has
passed below the ^A threshold level or subsequently
remained below the negative hysteresis level.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
Put mode scope can be one key, a row or column, or all keys.
^I 0
X
09 - P
OSITIVE
D
RIFT
C
OMPENSATION
R
ATE
0x01..0x64n/a11Get
0x090x01..0x6421, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.4, p. 6
Ctrl-I. Same as ^H above in all respects, except operates
only when the signal is positive with respect to the reference
level, i.e. in an abnormal direction. It is usually desirable to
set this rate much faster than for ^H, i.e. to a lower number.
Valid decimal values are:
1234681012
15 20 25 33 45 60 75 100
Values other than the above will be rounded down.
Values of 4 to 10 (0.4 to 1.0 secs/count) are considered
suitable for most systems.
Positive drift compensation continues to operate even if the
signal has exceeded the positive threshold.
^J 0x0A - D
ETECT
I
NTEGRATOR
L
IMIT
0x00..0xFFn/a11Get
0x0A0x00..0xFF21, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.6, p. 7
Ctrl-J. In Put mode, sets the detect integrator limit for one or
more keys according to scope.
The unit of measure is a burst, i.e. a setting of 5 means that a
detection must be sensed 5 bursts in sequence. A burst for a
key occurs once every complete matrix scan. Thus, if the
burst spacing is 500us, the response time will be:
5 x 500us x 64 = 160ms
The second byte must be one of the following values (shown
in decimal):
0123571015
20 32 45 60 90 123 175 255
Values other than the above will be rounded down.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
This setup can be used as a noise filter, or as a mechanism
to intentionally slow down key reaction time in order to require
a long user touch.
Special condition: If the value for ^J is set to zero the key is
disabled, but the burst for the key is still generated.
^K 0x0B - P
OSITIVE
R
ECALIBRATION
D
ELAY
0x00..0xFFn/a11Get
0x0B0x00..0xFF21, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.7, p. 7
Ctrl-K. In Put mode, sets the delay until recalibration, timed
from when the signal first crosses the positive threshold.
The second byte controls the delay in 100ms increments, and
must be one of the following valid values:
0123571015
20 32 45 60 90 123 175 255
Values other than the above will be rounded down. As an
example, a value of 85 will cause a 6-second delay.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
Special condition: If ^K is set to zero this feature is disabled
and the key will never auto-recalibrate on positive transitions;
however drift compensation will still operate.
^L 0x0C - N
EGATIVE
R
ECALIBRATION
D
ELAY
0x00..0xFFn/a11Get
0x0C0x00..0xFF21, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.5, p. 6
Ctrl-L. In Put mode, sets the delay until recalibration, timed
from when the signal first crosses below the negative
threshold as defined by ^A.
The second byte represents the delay in 1s increments, and
must be one of the following valid values:
0123571015
20 32 45 60 90 123 175 255
Values other than the above will be rounded down. As an
example, a setting of 85 will cause delays of 60 seconds.
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
© Quantum Research Group Ltd.
lQ
26
www.qprox.com
QT60xx5 / R1.05
Special condition: If the value for ^L is set to zero this
feature is disabled and the key will never auto-recalibrate
after a prolonged touch.
^M 0x0D - I
NTRA
-B
URST
P
ULSE
S
PACING
0x02..0x0An/a164Get
0x0D0x02..0x0A264Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 3.7, p. 12
Ctrl-M. In Put mode, sets the amount of time between
individual pulses in a burst.
The second byte must be in the range of 2 to 10 decimal;
other values will be ignored. The setting applies to all keys.
The value corresponds to the timing between pulses within a
burst, in microseconds. For example, a setting of 5 will set the
pulse spacing to 5 microseconds.
In Get mode the function returns the current value of ^M.
Intra-burst pulse spacing controls the fundamental frequency
of the burst and can have a strong effect on radiated
emissions from the matrix control panel. It can also have an
effect on susceptibility to external EMI if the external fields are
close in periodicity to the burst spacing.
^N 0x0E - P
OSITIVE
R
EFERENCE
E
RROR
B
AND
0x00..0x64n/a164Get
0x0E0x00..0x64264Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.8, p. 7
Ctrl-N. In Put mode, sets the amount of tolerable positive
deviation in the reference level for all keys, in percent, with
regard to the 'locked' reference value for each key. The setup
is global in nature and affects all keys equally.
Valid values are from 0 to 100 decimal; higher values will be
truncated to 100. The percentage applied is 10x the decimal
value, thus, a value of 100 equates to a 1,000% change (i.e.
10x the locked reference level).
In Get mode the function returns the current setting of ^N.
This setup is used to define the limit of possible positive
reference deviation with respect to a factory setting, which is
used in turn to set an error flag for key(s) whose reference
level rises above the designated error band. If for example
this setting is set to 50, and the device is calibrated and
reference levels are locked (see command 'L', Lock
Reference Levels) into the part by the OEM, then in the future
if the reference level of a key should rise 500% over its
Locked reference level then the key will report back an error
flag via commands 'e' or 'E'.
To obtain the error flag for a boundary condition, the key must
be first recalibrated using the 'b' command.
The host device should periodically check the reference
levels for keys to make sure they do not rise above 191 or fall
below 64 (see Section 2.11); if this should happen the host
should recalibrate the affected key(s). Failure to do so will
prevent the error band limits from operating.
The error band can be used to detect circuit faults as well as
extremes of temperature or moisture on the circuitry. Typical
values are from 2 to 4 (20% to 40%).
Special condition: If the value is set to zero, this feature is
disabled.
^O 0x0F - N
EGATIVE
R
EFERENCE
E
RROR
B
AND
0x00..0x63n/a164Get
0x0F0x00..0x63264Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 2.8, p. 7
Ctrl-O. In Put mode, sets the amount of tolerable negative
deviation in the reference level for all keys, in percent with
regard to the 'locked' reference value for each key. The setup
is global in nature and affects all keys equally.
Valid values are from 0 to 99 decimal; higher values will be
truncated to 99. The percentage applied is equal to the
decimal value; a value of 99 equates to 99% of the signal
level (i.e. a 1% decrease w.r.t. the locked reference level).
In Get mode the function returns the current setting of ^M.
This setup is identical in nature to ^N except that: (1) it
governs negative reference deviations, and (2) values are
expressed in percent instead of 10's of percent.
Special condition: If the value is set to 0, this feature is
disabled.
^P 0x10 - A
DJACENT
K
EY
S
UPPRESSION
(‘AKS’)
0x00, 0x01n/a11Get
0x100x00, 0x0121, 8, 64Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.9, p. 8
Ctrl-P. In Put mode, instructs logic for the keys specified by
the current scope whether or not to enable the AKS feature.
Valid 2nd byte values for this function are:
0: AKS off {default}
1: AKS on
In Get mode, the command will return a single byte according
to the rules of Section 5.2, page 21.
AKS functions to suppress detections from water films which
can 'spread' a touch signal from the touched key to adjacent
keys. It is also useful for panels with tightly spaced keys,
where a fingertip can partially overlap an adjacent key. This
feature will act to suppress the signals from the unintended
keys.
AKS only operates across keys that have been AKS-enabled;
signal strength comparisons are not made with non-
AKS-enabled keys.
Unused keys with burst lengths of zero are also ignored for
purposes of AKS.
© Quantum Research Group Ltd.
lQ
27
www.qprox.com
QT60xx5 / R1.05
5.5 Supervisory / System Functions
Supervisory functions report or control miscellaneous
functions that affect overall chip control, testing, or
diagnostics. All supervisory functions ignore scope except
where noted.
For commands requiring Put mode to operate, the device
should be set back to Get mode immediately thereafter where
possible, to help prevent unintended writes to eeprom.
6 0
X
36 - E
EPROM
C
HECKSUM
0x00..0xFF11n/aGet
n/an/an/a n/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
See page 22.
D 0
X
44 - DAC T
EST
n/an/an/an/aGet
0x440x00..0xFF2n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
Uppercase 'D'. Enables the DAC test mode function. The
second byte contains the value to be sent to the DAC, which
must be sent within 100ms to the part otherwise the
command is automatically cancelled. The part must be in Put
mode for this command to work.
This function can be used to test the external R2R DAC for
proper operation during board production or in development.
Once in this mode the part ceases to operate as a sensor,
and must be reset via power-down or the reset pin to restore
normal operation. This function does not persist past reset or
power-down.
Before the DAC value is set in hardware, the burst length on
all keys is set to 0 to disable keys and prevent further
scanning. All keys will then report errors until all burst lengths
are again set by the host after the part has been reset.
A series of 'D' commands can be sent to cause the DAC to
generate a ramp or other test pattern which can be easily
diagnosed on an oscilloscope.
There is no get version of the command.
L 0x4C - L
OCK
R
EFERENCE
L
EVELS
n/an/an/an/aGet
0x4C0x00264Put
Returns2nd Byte RangeBytes / CmdScope
Section 2.8, p. 7
Uppercase 'L'. This is a put-only command that locks the
reference levels of the device into eeprom for all keys, for
boundary checking purposes over the product's life.
The whole command 'L' followed by a null (0x00) - must be
received within 100ms without any intervening byte, or the
command will fail. The part must be in Put mode for this
command to work.
The scope of this command is always 'all keys'.
This function records to eeprom the Cz values, DAC offset,
and signal reference. The locked reference levels are used to
compute boundary checks; these are performed after the next
device recalibration or reset.
Due to the large number of bytes written to eeprom by this
command, there is a significant delay from the second byte
until the return echo is sent back to the host.
This command should be used only during production. There
is no get version of the command.
b 0x62 - R
ECALIBRATE
K
EYS
n/an/an/an/aGet
0x62n/a11, 8, 64Put
Returns2nd Byte RangeBytes / CmdScope
Section 2.10, p. 8; Section 3.16
Lowercase 'B'. This is a put-only command that causes the
keys selected by scope to recalibrate. The part must be in Put
mode for this command to work.
The return byte is sent before the keys have calibrated. While
keys are in recalibration, status of the keys can be
determined using the 'e' or 'E' commands.
If 'b' is sent while key(s) are already in the middle of
recalibration, the affected key(s) will abandon the old
calibration cycle and start a new one.
There is no get version of the command.
l 0x6C - R
ETURN
L
AST
C
OMMAND
C
HARACTER
0x00..0xFF11n/aGet
n/an/an/an/aPut
Returns# Bytes RtndBytes / CmdScope
Lowercase 'L'. This get-only command reports back with the
value of the prior command received by the part. The
command also reports back any erroneous commands,
allowing the host device to verify that a command was
correctly received.
If this command is repeated, the second and subsequent
instances of 'l' will report back with 0x6C.
There is no put version of the command.
r 0x72 - R
ESET
D
EVICE
n/an/an/an/aGet
0x720x002n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
Section 3.14, p. 14
Lowercase 'R'. This put-only command hard-resets the part.
The command 0x72 must be followed by a null (0x00) within
100ms or the command will fail. The part must be in Put
mode for this command to work.
After the null byte is received, the device will echo back the r
character; about 16ms after the echo the part will reset.
Upon waking up again, the part will resume communication
and sensing in accordance with the timing shown in Section
3.16.
If for some reason the device is unable to echo back the r
character, for example due to the host not releasing the SS
line, the part will completely reset anyway after about 2
seconds.
There is no get version of the command.
© Quantum Research Group Ltd.
lQ
28
www.qprox.com
QT60xx5 / R1.05
V 0x56 - R
ETURN
P
ART
V
ERSION
0x00..0xFF11n/aGet
n/an/an/an/aPut
Return
s
# B
y
tes Rtn
d
B
y
tes / Cm
d
Scop
e
Uppercase 'V'. This get-only command returns the part
version number.
There is no put version of the command.
W 0x57 - R
ETURN
P
ART
S
IGNATURE
0x20, 0x30, 0x4011n/aGet
n/an/an/an/aPut
Returns# Bytes RtndBytes / CmdScope
Section 3.1, p. 9
Uppercase 'W'. This get-only command returns the part
signature as follows:
0x20 (32 decimal) - for QT60325
0x30 (48 decimal) - for QT60485
0x40 (64 decimal) - for QT60645
There is no put version of this command.
Z 0x5A - E
NTER
S
LEEP
n/an/an/an/aGet
*0x5A, 0x5A0x002n/aPut
Returns2nd Byte RangeBytes / CmdScope
Section 3.17, p. 14
Uppercase 'Z'. This put-only command forces the device to
enter sleep mode. The command 0x5A must be followed only
by a null (0x00) within 100ms or the command will fail.
The command returns 0x5A immediately before going to
sleep, and a second 0x5A upon waking up. The part must be
in Put mode for this command to work.
If for some reason the device is unable to echo back the first
‘Z’ character, for example due to the host not releasing the
SS line, the part will completely reset after about 2 seconds.
The part will reawaken after a logic low is detected for >10µs
on pin 11 (X2WS pin, see Section 3.17, p. 14). The device
then sends the second ‘Z’ back to the host, and resumes
from its prior state before it went to sleep without the need for
recalibration.
The device always reawakens in Get mode.
There is no get version of the ‘Z’ command.
^Q 0x11 - D
ATA
R
ATE
S
ELECTION
0x00..0x03n/a1n/aGet
0x110x00..0x032n/aPut
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
Section 4, p. 16
Ctrl-Q. This command sets the communications clock rate of
the SPI interface in Master mode. The acceptable values of
the 2nd byte are:
0: 46.875 kHz {factory default}
1: 93.75 kHz
2: 375 kHz
3: 1.5 MHz
The part must be in Put mode for this command to work.
Note that when the part is in Slave mode, the host can clock
data to the device at rates up to 1.5MHz even if the setting of
^Q is slower.
New settings do not become effective until the device has
been powered off and back on again or after the reset (r)
command.
Refer to Sections 4.3 and 4.4 for specific timing details.
^R 0
X
12 - O
SCILLOSCOPE
S
YNC
0x00, 0x01n/a11, 8, 64Get
0x120x00, 0x0121, 8, 64Put
Return
s
2nd B
y
te Ran
ge
B
y
tes / Cm
d
Scop
e
Section 3.20, p. 15
Ctrl-R. In Put mode, controls the oscilloscope sync function
of Pin 37. The settings of this function are:
0: off {factory default}
1: on
When on, Pin 37 outputs a pulse that brackets the acquire
burst(s) for the keys targeted by scope. Without this it is
virtually impossible to view signals corresponding to a specific
key.
Pin 37 idles low and pulses high during a sync pulse. Pin 37
is also used for SPI mode selection by connecting to +5 or
Ground, and as a result if ^R is used, Pin 37 should never
be clamped to a supply rail but rather connected via a 10K
resistor to prevent a short circuit. See Section 3.20.
^R is volatile, that is, it does not persist after a power down.
^S 0x13 - C
S
C
LAMP
P
OLARITY
0x00, 0x01n/a1-Get
0x130x00, 0x012-Put
Returns2nd Byte RangeBytes / CmdScope
Section 3.19, p. 15
Ctrl-S. Controls the polarity of the Cs Clamp line, CSR, pin
35, using the 2nd byte as follows:
0: active-low
1: active-high
The part must be in Put mode for this command to work.
This pin controls the polarity of the reset signal applied to the
charge integrator reset switch. In systems using an n-channel
switch (active-high required to reset the Cs capacitor), this
option should be set to 1; for a p-channel mosfet switch in
bipolar supply systems requiring an active-low to reset the Cs
capacitor, ^S should be set to 0. For the reference circuit of
Figure 3-1 this should be set to 0 (the default); for the circuit
of Figure 3-2 this should be set to 1..
The setting of ^S does not become effective until the device
has been powered off and back on again or after the reset
(r) command has been issued.
© Quantum Research Group Ltd.
lQ
29
www.qprox.com
QT60xx5 / R1.05
^T 0x14 - B
OUNDARY
E
QN
C
ONSTANT
C1, MSB
0x00..0x7Fn/a164Get
0x140x00..0x7F264Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 2.8, p. 7
Ctrl-T. In Put mode, sets the MSB of equation constant C1
for boundary checking purposes. The part must be in Put
mode for this command to work.
The function has global scope. The default value is 5, which
corresponds to the reference circuit on page 10. A change in
this parameter only has effect after a reset or recalibration of
all keys.
Valid values are from 0 to 127 decimal. Each count of the
MSB has a value 256x that of the LSB.
In Get mode this function returns the current ^T value.
Refer to ^U (0x15) for the LSB definition.
^U 0x15 - B
OUNDARY
E
QN
C
ONSTANT
C1, LSB
0x00..0xFFn/a164Get
0x150x00..0xFF264Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.8, p. 7
Ctrl-U. In Put mode, sets the LSB of equation constant C1 for
boundary checking purposes. The part must be in Put mode
for this command to work.
The function has global scope. The default value is 0xE9,
which corresponds to the reference circuit on page 10. A
change in this parameter only has effect after a reset or
recalibration of all keys.
Valid values are from 0 to 255 decimal. The value of the LSB
must be combined with the value of the MSB to form the total
value.
In Get mode this function returns the current ^U value.
Refer to ^T (0x14) for the MSB definition.
^V 0x16 - B
OUNDARY
E
QUATION
C
ONSTANT
C2
0x00..0xFFn/a164Get
0x160x00..0xFF264Put
ReturnsByte 2 RangeBytes / CmdScope
Section 2.8, p. 7
Ctrl-V. In Put mode, sets equation constant C2 for boundary
checking purposes. The part must be in Put mode for this
command to work.
This function has global scope. The default value is 8, which
corresponds to the reference circuit on page 10. A change in
this parameter only has effect after a reset or recalibration of
all keys.
Valid values are from 0 to 255 decimal.
In Get mode this function returns the current ^V value.
^W 0x17 - N
OISE
S
YNC
0x00, 0x01n/a1-Get
0x170x00, 0x012-Put
Return
s
B
y
te 2 Ran
ge
B
y
tes / Cm
d
Scop
e
Section 3.17, p. 14
Ctrl-W. In Put mode, sets whether the noise sync feature is
enabled or disabled. The part must be in Put mode for this
command to work.
The settings are:
0: off {factory default}
1: on
This function has global scope. The default value is 0 (off).
This feature can be used to synchronize the part to an
external repetitive source of e-field which might interfere with
the sensor signals, for example 50 or 60Hz fields from
adjacent power wiring. By doing so the part becomes immune
to the noise source.
In Get mode this function returns the current setting of ^W.
The setting of ^W does not become effective until the device
has been powered off and back on again or after the reset
(r) command has been issued.
© Quantum Research Group Ltd.
lQ
30
www.qprox.com
QT60xx5 / R1.05
5.6 Function Summary Table
24-0x00..0xFF1, 8, 641, 8, 64Gget indication of all touched keysreport touches for group0x4BK
23-0x00..0xFF--Gget indication of first touched keyreport 1st key0x6Bk
23
-
0x00..0xFF1, 8, 641, 8, 64Gget error bits for group error codes for group0x45E
23
-
0x00..0x0F11Gget error code for 1 keyerror code for 1 key0x65e
22
-
0x00..0xFF8, 648, 64Gget detection integrators for group Det integrator for group0x25%
22
-
0x00..0x028, 648, 64Gget Cz states for group Cz states for group0x24$
22
-
0x00..0xFF8, 648, 64Gget R2R offsets for group R2R offset for group0x23#
22
-
0x00..0xFF8, 648, 64Gget References levels for group references for group0x22
22
-
0x00..0xFF8, 648, 64Gget Reference-Signal for group delta signals for group0x21!
22
-
0x00..0xFF8, 648, 64Gget signal for group signals for group0x20<sp>
22
-
0x00..0x1F1-Gget device status of entire devicegeneral device status0x377
22
-
0x00..0xFF1-Gget eeprom checksum of entire eepromeeprom checksum0x366
22
-
0x00..0xFF11Gget detect integrator for 1 key Det Integrator for 1 key0x355
21
-
0x00..0x0211Gget Cz value for 1 key Cz state for 1 key0x344
21
-
0x00..0xFF11Gget R2R Offset for 1 key R2R offset for 1 key0x333
21
-
0x00..0xFF11Gget Reference level for 1 key reference for 1 key0x322
21
-
0x00..0xFF11Gget Reference-Signal for 1 key delta signal for 1 key0x311
21
-
0x00..0xFF11Gget signal for 1 key signal for 1 key0x300
Status Commands
21
undefined
0x790x00..0x072-Ptargets keys in a designated column, range 0..7Set column keys scope0x79y
21
undefined
0x780x00..0x072-Ptargets keys in a designated row, range 0..7Set row keys scope0x78x
21
undefined
0x531-Ptargets all keys in the matrixSet all keys scope0x53S
21
undefined
0x730x00..0x3F2-Ptargets a specific key in range 0..63Set one key scope0x73s
Scope Commands
20
Get
0x701-Pall subsequent Setups become 'Puts’Put0x70p
20
Get
0x671-Pall subsequent Setups become 'Gets'Get0x67g
Direction Commands
Return
range
Bytes
returned
ScopeReturns
Operand
Range
Bytes/PutScope Page
Default
setting
Get ModePut Mode
P/GDescriptionNameHexChar
© Quantum Research Group Ltd.
lQ
31 www.qprox.com
QT60xx5 / R1.05
270 (off)0x00, 0x01110x100x00, 0x0121, 8, 64P/Gadjacent key suppression feature; 1 = onKey suppression0x10^P
270 (off)0x00..0x631640x0F0x00..0x63264P/G
tolerable negative reference deviation with respect to
Locked reference values, step 1%. Zero disables.
Neg error band0x0F^O
270 (off)0x00..0x641640x0E0x00..0x64264P/G
tolerable positive reference deviation with respect to
Locked reference values, step 10%. Zero disables.
Pos error band0x0E^N
270x020x02..0x0A1640x0D0x02..0x0A264P/G
period of QT pulses, in microseconds
2, 3, 4, 5, 6, 7, 8, 9, 10us
Intra-burst spacing0x0D^M
260x64 (10s)0x00..0xFF110x0C0x00..0xFF21, 8, 64P/G
time reqd to tri
gg
er a recal from a detection, in 1s
increments. Zero disables recal.
0,1,2,3,5,7,10,15,20,32,45,60,90,123,175,255 secs
Neg recal delay0x0C^L
260x0A (1s)0x00..0xFF110x0B0x00..0xFF21, 8, 64P/G
time reqd to trigger a recal from a positive signal
excursion in 0.1s increments; zero disables recal.
0,.1,.2,.3,.5,.7,1,1.5,2,3.2,4.5,6,9,12.3,17.5,25.5 secs
Pos recal delay0x0B^K
260x030x00..0xFF110x0A0x00..0xFF21, 8, 64P/G
number of detections required to register a touch,
counted in bursts of detection; zero disables a key.
0,1,2,3,5,7,10,15,20,32,45,60,90,123,175,255 counts
Neg det int limit0x0A^J
260x0A (1s)0x01..0x64110x090x01..0x6421, 8, 64P/G
rate of drift compensation for positive signal swings
.1,.2,.3,.4,.6,.8,1,1.2,1.5,2,2.5,3.3,4.5,6,7.5,10 secs
Pos drift comp rate0x09^I
260x1E (3s)0x01..0x64110x080x01..0x6421, 8, 64P/G
rate of drift compensation for ne
g
ative si
g
nal swin
g
s
.1,.2,.3,.4,.6,.8,1,1.2,1.5,2,2.5,3.3,4.5,6,7.5,10 secs
Neg drift comp rate0x08^H
25
0x01
(300us)
0x00..0x051640x070x00..0x05264P/G
time from start of one burst to start of next burst
250us, 300us, 400us, 500us, 1000us, 2000us
Burst spacing0x07^G
250x0C0x01..0x40110x060x00..0x4021, 8, 64P/G
set
g
ain via number of QT c
y
cles / burst; zero disables
burst
0,1,2,3,4,5,7,10,12,15,20,25,30,40,50,64
Burst length0x06^F
250x010x011640x050x01264P/G
delay from the rise of an X line to end of Y-gate;
only setting is 0x01 (167ns/period @ 6MHz Xtal)
Dwell time0x05^E
250x01 (25%)0x00..0x03110x040x00..0x03264P/G
hysteresis for positive threshold
50%, 25%, 12.5%, 0%
Positive hysteresis0x04^D
250x01 (25%)0x00..0x03110x030x00..0x03264P/G
hysteresis for negative threshold
50%, 25%, 12.5%, 0%
Negative hysteresis0x03^C
240x080x04..0x40110x020x04..0x4021, 8, 64P/G
sensitivit
y
to positive si
g
nals for recalibration
4,5,6,7,8,10,12,15,17,20,25,30,35,45,55,64 counts
Positive threshold0x02^B
240x0C0x04..0x40110x010x04..0x4021, 8, 64P/G
touch sensitivit
y
threshold; less = more
4,5,6,7,8,10,12,15,17,20,25,30,35,45,55,64 counts
Negative threshold0x01^A
Setup Commands
Return
range
Bytes
returned
ScopeReturns
Operand
Range
Bytes/PutScope Page
Default
setting
Get ModePut Mode
P/GDescriptionNameHexChar
© Quantum Research Group Ltd.
lQ
32 www.qprox.com
QT60xx5 / R1.05
300 (off)0x00, 0x011-0x170x00, 0x012-P/G
noise sync enable; 1 = on
device must be reset to take effect
Noise sync0x17^W
300x080x00..0xFF1640x160x00..0xFF264P/Gboundary equation constant, C2Boundary C20x16^V
300xE90x00..0xFF1640x150x00..0xFF264P/Gboundary equation constant, C1, LSBBoundary C1 LSB0x15^U
300x050x00..0x7F1640x140x00..0x7F264P/Gboundary equation constant, C1, MSBBoundary C1 MSB0x14^T
2900x00, 0x011-0x130x00, 0x012-P/G
Cs clamp drive polarit
y
; 0 = active-low; part must be
reset via r command or hard reset to take effect
Cs clamp0x13^S
290 (off)0x00, 0x011-0x120x00, 0x0121, 8, 64P/G
oscilloscope sync control. 1 = on.
feature is volatile - cleared to 0 after each reset
Scope sync0x12^R
290 (46.8k)0x00..0x031-0x110x00..0x032-P/G
sets SPI master-mode clock rate. Part must be reset via
r command or hard reset to take effect
46.875kHz, 93.75kHz, 375kHz, 1.5MHz
SPI rate0x11^Q
29-0x5A, 0x5A0x002-P
force device into Sleep mode. Z must be followed by a
null within 100ms. 0x5A returned before and after
entering Sleep
Sleep0x5AZ
29-
0x20, 0x30,
0x40
1-Greturns part signature numberSignature0x57W
29-0x00..0xFF1-Greturns part version numberVersion0x56V
28-0x720x002-P
hard reset the device. r must be followed b
y
a null
within 100ms.
Reset device0x72r
28-0x00..0xFF1-Gsend back last command byte receivedReturn last command0x6Cl
28-0x6211, 8, 64P
fully recalibrate keys;
return byte is sent prior to calibration
Recal keys0x62b
28-0x4C0x00264P
locks reference levels into eeprom for future boundary
checks. L must be followed by 0x00 (null) 100ms after
the command byte
Lock references0x4CL
28-0x440x00..0xFF2-P
sends operand to R2R DAC; b
y
te 2 must be sent within
100ms of command byte
DAC test0x44D
0-0x00..0xFF1-Greturns checksum of internal eepromEeprom checksum0x366
Supervisory Commands
Return
range
Bytes
returned
ScopeReturns
Operand
Range
Bytes/PutScope Page
Default
setting
Get ModePut Mode
P/GDescriptionNameHexChar
© Quantum Research Group Ltd.
lQ
33 www.qprox.com
QT60xx5 / R1.05
5.7 Timing Limitations
The device requires processing time between bursts, as well
as time to handle communications with the host. With short
burst spacings, long burst lengths, and long intra-burst pulse
spacings, the device can simply run out of available
processing time. When this happens, burst timing and host
communications can slow down and become erratic.
Burst spacings should be verified on an oscilloscope during
development to be certain that the device timings are
preserved and are constant. If not, the burst length and/or
pulse spacing should be reduced.
© Quantum Research Group Ltd.
lQ
34
www.qprox.com
QT60xx5 / R1.05
Table 5-2 Permissible Burst Lengths (BL’s)
642,000642,000642,000642,000
401,000401,000501,000501,000
30500305003050040500
20400204002540030400
10300123001230015300
5250725072507250
Max BL
Burs
t
Spacing
Max BL
Burs
t
Spacing
Max BL
Burs
t
Spacing
Max BL
Burs
t
Spacing
Pulse Spacin
g
= 10µsPulse Spacin
g
= 9µsPulse Spacin
g
= 8µsPulse Spacin
g
= 7µs
642,000642,000642,000642,000642,000
641,000641,000641,000641,000641,000
5050050500645006450064500
3040040400404004040064400
1530020300203002030050300
725010250102501025025250
Max BL
Burst
Spacing
Max BL
Burst
Spacing
Max BL
Burst
Spacing
Max BL
Burst
Spacing
Max BL
Burst
Spacing
Pulse Spacin
g
= 6µsPulse Spacin
g
= 5µsPulse Spacin
g
= 4µsPulse Spacin
g
= 3µsPulse Spacin
g
= 2µs
6 PLD Source Listing
Pre-programmed parts are available from Quantum in small quantities.
The object code file for this PLD is also available upon request.
TITLE 'E664SPI'
Description
Timing skew generator for E664SPI matrix board. Code is for ICT PEEL22CV10AZ epld. Not warranted to work with any other part.
Compiler and documentation from the ICT web site, www.ictpld.com.
Programmer from System General; model “All Writer”, www.systemgeneral.com.
End_Desc;
PEEL22CV10A
"I/O CONFIGURATION DECLARATION
"IOC (PIN_NO 'PIN_NAME' POLARITY OUTPUT_TYPE FEEDBACK_TYPE)
"Inputs
Y0 PIN 5 "pre-decoded Y inputs
Y1 PIN 4
Y2 PIN 3
Y3 PIN 2
Y4 PIN 8
Y5 PIN 9
Y6 PIN 10
Y7 PIN 11
XS PIN 1 "Sum of X1..X7
X7 PIN 6 "X7 input (gets OR'd with XS)
YG PIN 7 "Y gate trigger
"Outputs
"Clamping outputs
IOC ( 21 'YM0' Pos Com Feed_Pin )
IOC ( 19 'YM1' Pos Com Feed_Pin )
IOC ( 17 'YM2' Pos Com Feed_Pin )
IOC ( 15 'YM3' Pos Com Feed_Pin )
IOC ( 16 'YM4' Pos Com Feed_Pin )
IOC ( 18 'YM5' Pos Com Feed_Pin )
IOC ( 20 'YM6' Pos Com Feed_Pin )
IOC ( 22 'YM7' Pos Com Feed_Pin )
"Dly ckt drive out
IOC ( 14 'XSD' Pos Com Feed_Pin )
"QS3251 neg enable
IOC ( 23 'YGG' Pos OutCom Feed_Pin )
AR NODE 25 "Global Asynchronous Reset
SP NODE 26 "Global Synchronous Preset
DEFINE
EQUATIONS
AR = 0;
SP = 0;
" Define Y clamp outputs
YM0.COM = 0;
YM1.COM = 0;
YM2.COM = 0;
YM3.COM = 0;
YM4.COM = 0;
YM5.COM = 0;
YM6.COM = 0;
YM7.COM = 0;
"Enable control. Goes low on active Y channel (Y= active high to clamp)
YM0.OE = Y0;
YM1.OE = Y1;
YM2.OE = Y2;
YM3.OE = Y3;
YM4.OE = Y4;
YM5.OE = Y5;
YM6.OE = Y6;
YM7.OE = Y7;
XSD.COM = 0;
XSD.OE = !(XS # X7); "clamp the delay cap when all 'x' lines are 0
YGG.COM =!(YG & !XSD); "Enable the 3251 so long as both Yg is high AND xsd is low
"As soon as xsd goes high, disable the 3251
© Quantum Research Group Ltd.
lQ
35
www.qprox.com
QT60xx5 / R1.05
7 Electrical Specifications
7.1 Absolute Maximum Specifications
Operating temp.................................................................. as designated by suffix
Storage temp......................................................................... -55
O
C to +125
O
C
V
DD
..................................................................................... -0.5 to +5.5V
Max continuous pin current, any control or drive pin.................................................±10mA
Short circuit duration to ground, any pin............................................................infinite
Short circuit duration to V
DD
, any pin.............................................................. infinite
Voltage forced onto any pin..................................................... -0.6V to (Vdd + 0.6) Volts
Frequency of operation......................................................................... 10MHz
Eeprom maximum writes............................................................ 100,000 write cycles
Flash maximum writes (eeprom backup).................................................1,000 write cycles
7.2 Recommended operating conditions
V
DD
................................................................................... +4.75 to 5.25V
Supply ripple+noise.......................................................................5mV p-p max
Cx transverse load capacitance per key from X to Y.............................................. 0 to 20pF
Fosc oscillator frequency................................................................... 6MHz +/-2%
7.3 DC Specifications
Vdd = 5.0V, Cs = 15nF, Freq = 6.00MHz, Ta = recommended range, unless otherwise noted
Drdy, SS pinskohms12035Pullup resistorsR
P
bits8Acquisition resolutionA
R
µA±1Input leakage currentI
IL
1mA sourceVVdd-0.7High output voltageV
OH
4mA sinkV0.6Low output voltageV
OL
V2.2High input logic levelV
HL
V0.8Low input logic levelV
IL
V
4
Brown-out detection voltageV
BOD
Not including external componentsµA20Supply current, sleepI
DDS
Not including external componentsmA15Supply current, runningI
DDR
Notes
UnitsMaxTypMinDescription
Paramete
r
7.4 Timing
From R2R setup to AIN+ sampleµS
8.16
ADC delay from R2R setup
Trad
c
MH
z
1.5
SPI Clock rate
Fck
µS
15
Host command space
Tcm
µS2,00015Multi-byte return spacingT
DR
3
µS1,0001Tdr delay from responseT
DR
2
Notes
UnitsMaxTypMinDescription
Parameter
© Quantum Research Group Ltd.
lQ
36
www.qprox.com
QT60xx5 / R1.05
7.5 Maximum Drdy Response Delays
... with adjacent key suppression disabled:
1ms1ms1.5ms1.2ms900us800us
All other commands
2ms2ms3.5ms2.8ms2.1ms1.8msGet key errors (E), Get keys pushed
4ms4ms9.5ms7.6ms5.7ms4.8ms
Calibrate command (all keys)
800ms800ms800ms800ms800ms800ms
Lock reference Level (L)
300ms300ms300ms300ms300ms300ms
Setup - put (affect 64 keys)
40ms40ms40ms40ms40ms40ms
Setup - put (affect 8 keys)
10ms10ms10ms10ms10ms10ms
Setup - put (affect 1 key)
2ms1ms500µs400µs300µs250µsFunction Type
Burst Spacing
... with adjacent key suppression enabled:
2ms2ms3.5ms2.4ms1.8ms1.5ms
All other commands
2ms2ms5ms4ms3ms2.5msGet key errors (E), Get keys pushed
4ms5ms11ms8.8ms6.6ms5.5ms
Calibrate command (all keys)
800ms800ms800ms800ms800ms800ms
Lock reference Level (L)
300ms300ms300ms300ms300ms300ms
Setup - put (affect 64 keys)
40ms40ms40ms40ms40ms40ms
Setup - put (affect 8 keys)
10ms10ms10ms10ms10ms10ms
Setup - put (affect 1 key)
2ms1ms500µs400µs300µs250µsFunction Type
Burst Spacing
Preliminary Data: All specifications subject to change
.
© Quantum Research Group Ltd.
lQ
37
www.qprox.com
QT60xx5 / R1.05
8 Mechanical
8.1 Dimensions
8.2 Marking
© Quantum Research Group Ltd.
lQ
38
www.qprox.com
QT60xx5 / R1.05
1
2
3
4
8
7
6
5
11
10
9
33
32
31
30
28
23
24
25
26
27
29
12 14 16 18 2220
15 17 19 2113
44 42 40 38 36 34
43 41 3739 35
SYMBOL
A
e
E
h
H
L
p
P
a
Millimeters Inches
Min Max Notes Min Max Notes
E
Hh
a
e
p
A
L
o
12.2111.75 0.458 0.478
0.09 0.20 0.003 0.008
0.45
0.05
0.75
0.15
1.20
0.018
0.002
0.030
0.006
0.047
0.80
0.30
BSC
8.00
0.80
0.45
0.031
0.012
BSC
0.315
0.031
0.018
9.90 10.10 0.386 0.394
--
o07 07
P
BSC BSC
SQSQ
SQSQ
Package Type: 44 Pin TQFP
8.00 0.315
QT60645-ASQT60645-AS-40
0
C to +105
0
C
QT60485-ASQT60485-AS-40
0
C to +105
0
C
QT60325-ASQT60325-AS-40
0
C to +105
0
C
QT60645-SQT60645-S0
0
C to +70
0
C
QT60485-SQT60485-S0
0
C to +70
0
C
QT60325-SQT60325-S0
0
C to +70
0
C
MarkingTQFPT
A
A
adc
subranging, 4, 5
adjacent key suppression, 8, 27
alert output, 15
application assistance, 5
B
block diagram, 5
boundary equation, 30, 33
burst length, 8, 9, 12, 20, 24, 25, 28, 34
burst spacing, 6, 25, 34
burst timing, 9, 19
C
calibration, 8, 13, 14, 15, 20, 21, 28
charge cancellation, 4, 9, 22
charge gate, 9
charge integrator, 4, 5, 9, 12, 13, 29
charge neutralization, 9
circuit model, 4, 5
cs, 6, 9, 13, 15, 29
cs clamp polarity, 29
csr drive polarity, 15
cx, 4, 6, 8, 9, 21, 25
cz, 5, 6, 7, 8, 9, 13, 14, 21, 28
D
dac test, 28
delta signals, 22
detect integrator, 22, 26
detection integrator, 6, 7, 22
device status, 22
device variations, 5
dimensions, 38
direction commands, 20
drdy’, 17, 18
drift compensation, 6, 7, 8, 13, 15, 20, 23, 24, 26
dwell, 34
gate dwell, 5, 9, 12, 13, 14, 16, 25
E
echo, 18, 19, 24, 28
eeprom checksum, 22, 28
electrostatic shield, 15
emi, 4, 27
error code, 23
Error byte, 23
error guardbanding, 7
esd protection, 16
F
fast-recalibration, 7, 8
field flow, 4
function summary table, 31
G
gate dwell
dwell, 5, 9, 12, 13, 14, 16, 25
get command, 20
ground plane, 15
H
hard reset, 8
hysteresis, 6, 25, 26, 32
I
intra-burst pulse spacing, 12, 27, 34
J
jfet, 13
K
key design, 5
key numbering convention, 21
key reporting, 23, 24
L
ladder dac
R2R ladder, 5, 7, 9, 14
led, 15
lock reference levels, 7, 17, 28
M
marking, 38
master mode, 16, 18, 19
master-slave mode, 16, 18
matrix configuration, 5
mechanical, 38
miso, 17, 18
mosi, 14, 17, 18, 19
multi-byte responses, 18, 19
N
negative detect integrator, 26
negative detect threshold, 12, 24
negative error band, 27
negative recalibration delay, 6, 26
negative threshold, 5, 6, 8, 12, 25, 26
noise, 12, 15, 16, 24, 26
noise coupling, 12
O
offset, 5, 6, 7, 8, 9, 13, 14, 21, 22, 28
opamp, 13
oscillator, 14, 16
oscilloscope sync, 15
P
pcb layout, 15
peel22cv10az, 13, 35
pld, 9, 12, 13, 14, 16, 35
positive detect threshold, 24
positive drift compensation, 26
positive error band, 27
positive recal delay, 7, 8
positive recalibration delay, 7, 26
positive threshold, 6, 7, 8, 25, 26
power supply, 15
put command, 20
Q
qmbtn, 4, 15, 16
© Quantum Research Group Ltd.
lQ
39
www.qprox.com
QT60xx5 / R1.05
9 Index
qs3251, 12, 13, 16, 35
qt60325, 9, 29
qt60485, 9, 29
R
r2r ladder
ladder DAC, 5, 7, 9, 14
recalibrate keys (command), 28
recalibration, 6, 7, 8, 13, 23, 24, 26, 28, 30
reference level, 4, 6, 7, 8, 25, 26, 27
reference levels, 22
reference window boundary, 8
reset, 4, 7, 8, 9, 13, 14, 15, 20, 21, 28, 29, 30, 35
resonator, 14, 15
response delays, 17, 37
return last command, 28
return part signature, 29
return part version, 29
rf emissions, 5
S
scan sequence
Matrix scan sequence, 9
sck, 17, 18, 19
scope, 16, 20, 21
scope commands, 21
sensitivity, 12
serial interface, 16
setup commands, 20, 24
signal gain, 9, 13, 25
signal levels, 4, 22
signal processing, 4, 5
slave mode, 16, 17, 18, 19
sleep mode, 14, 29
sleep_wake, 14, 15
soft reset, 8
spi, 4, 15, 16, 17, 18, 19, 20, 29
spi interface, 4
spi noise problems, 16
spi rate, 29
ss, 17, 18, 19
startup, 13, 14, 15
status commands, 20, 21
subranging
ADC, 4, 5
supervisory functions, 20, 28
sync, 14, 15, 16, 18, 22, 29, 30
T
threshold level, 6, 7, 25, 26
timing limitations, 34
tlc2272, 13
U
uart, 16
V
vdd, 15, 16
vee, 15
virtual ground, 4
W
water films, 4, 14, 27
X
x electrode drives, 9
x2ws, 14
Y
y gate drives, 12
yc0..yc7, 12
ys0..ys2, 12
© Quantum Research Group Ltd.
lQ
40
www.qprox.com
QT60xx5 / R1.05
Notes -
© Quantum Research Group Ltd.
QT60xx5 / R1.05
© Quantum Research Group Ltd.
QT60xx5 / R1.05
lQ
© 2002 QRG Ltd.
Patented and patents pending
Corporate Headquarters
1 Mitchell Point
Ensign Way, Hamble SO31 4RF
Great Britain
Tel: +44 (0)23 8056 5600 Fax: +44 (0)23 8045 3939
admin@qprox.com
www.qprox.com
North America
651 Holiday Drive Bldg. 5 / 300
Pittsburgh, PA 15220 USA
Tel: 412-391-7367 Fax: 412-291-1015
All specifications subject to change.
This device expressly not for use in any medical or human safety related
application without the express written consent of an officer of the company.