2. Calibrate the device via the 0x03 command, in which
case the device will calibrate all keys and run again, or,
3. Reset the device using the 0x04 command, or,
4. Wait 1 second for the device to enter self-reset.
Changes to NDCR, NRD, AKS, EK, K2L, PDCR, PRD,
PTHR, PHYS, LEDP, LBLL, KEYO, BR or BS do not require
a recalibration to take effect, and it is faster to just issue a
0x02 RUN command after the 0x01 is complete.
Changes to NTHR, NHYS, NDIL, FDIL, and NTM should be
followed with a 0x03 Cal command.
Changes to SE or SYNC should be followed with a device
reset command, RST pin reset, or 1s timeout reset to allow
the new parameters to properly take effect.
3.4.3 Enter Run Mode - 0x02
This command is used only after a Setups Load command
(0x01) has completed to get the device to run as a sensor,
without any key calibration. This is useful to make running
changes, for example in drift compensation rates or
threshold levels, without disturbing key calibrations.
The command must be repeated 2 times within 100ms or the
command will fail; the repeated command must be
sequential without any intervening command , not even a
null. After the second 0x02, the QT1100A will reply with the
character 0xFD when the part begins to run as a sensor. The
delay in responding to the second 0x02 with 0xFD is 250µs
maximum (signalled using CRDY).
If no 0xFD is returned, the command was not properly
received; the host should recover by issuing a ‘Return Last
Command’ command (0xC7) at least twice to make sure the
QT1100A and host are communicating properly with each
other, and then the 0x02 commands should be sent again.
3.4.4 Enter Cal Mode - 0x03
This command is normally used only after a Setups Load
command (0x01) has completed to get the entire device to
calibrate and run as a sensor. Note that on normal power-up
or reset, the device will automatically enter Cal mode
regardless, and then run normally. Therefore the only time
this command is required is when the part is suspended
after a Setups load, or, if there is a need to recalibrate all
keys at one time during normal running.
The 0x1k command is more efficient for recalibrating
individual stuck keys if desired (Section 3.4.7).
The 0x03 command must be repeated 2 times within 100ms
or the command will fail; the repeating command must be
sequential without any intervening command , not even a
null. After the second 0x03 from the host, the QT1100A will
reply with the character 0xFC within 450µs if the command
has been accepted. After the 0xFC response, the device will
initiate calibration of all keys in parallel.
The host can check the progress of calibration by issuing a
0x8k command on the highest enabled key (e.g. key #9); all
the keys being calibrated by 0x03 will have finished
calibrating when the highest key number is done.
The time required to calibrate all 10 keys is 15 complete
acquire cycles, or 15 x 10 keys = 150 timeslots. If the burst
spacing is 4ms, then Cal will require 600ms to calibrate all
10 keys. Disabled keys do not reduce this time.
Afterwards, the host can check error flags to find which
key(s) failed during calibration, if any, for example using
command 0xC2 (Section 3.5.7) or 0xC5 (Section 3.5.10).
This might happen if there is a component failure , short or
open circuit on the PCB.
If no 0xFC is returned, the command was not properly
received; the host should recover by issuing a ‘Return Last
Command’ command (0xC7) at least twice to make sure the
QT1100A and host are communicating properly with each
other, and then the 0x03 commands should be sent again.
3.4.5 Force Reset - 0x04
This command is used to cause the part to reset, in the
same way as a hardware /RST signal.
This command must be repeated 2 times within 100ms or
the command will fail; the repeating command must be
sequential without any intervening command , not even a
null. After the second 0x04 from the host, the QT1100A will
reply with the character 0xFB within 250µs to indicate that it
has been properly received.
If no 0xFB is returned, the command was not properly
received; the host should recover by issuing a ‘Return Last
Command’ command (0xC7) at least twice to make sure the
QT1100A and host are communicating properly with each
other, and then the 0x04 commands should be sent again.
After the part resumes operation, it will set the “Reset
Occurred” flag (see Section 2.15) to indicate there was a
power-up event, and it will go through a complete C al mode
automatically and then run and sense keys normally.
The device will calibrate and run after a delay of 100ms +
150 burst spacings, which could be up to 1.05s on 7ms burst
spacings. While calibrating, the QT1100A can communicate
serially and the user can track the progress of ongoing
calibrations using command 0x8k.
3.4.6 Sleep - 0x05
This command is useful to allow low average operating
power when in standby mode or when fast response time is
not required. During sleep, the device consumes only a few
microamps of current. Using Sleep mode, it is possible to get
average current consumption down to 100µA while having
the part run with reduced response time. Actual average
current drain will be a function of the ratio of running time to
sleep time.
The 0x05 command must be repeated 2 times within 100ms
or the command will fail. After the second 0x05 from the
host, the device will reply with the character 0xFA within
250µs. The device will then enter a Sleep mode until
awakened by a negative edge or negative pulse on the
WAKE pin (pin 22), at least 40µs, wide or via a hardware
reset on the RST pin. Note that if the device is reset, it will
recalibrate on power-up, which is usually not desirable. If the
device wakes via the WAKE pin, it will resume operation in
the same state from which it went to sleep.
If no 0xFA is returned, the command was not properly
received; the host should recover by issuing a ‘Return Last
Command’ command (0xC7) at least twice to make sure the
QT1100A and host are communicating properly with each
other, and then the 0x04 commands should be sent again.
If the device is not awakened intentionally within 700ms of
entering sleep, the device can go into self-reset causing the
internal states and data to be lost , and a recalibration to be
performed.
In UART mode, the QT1100A can be awakened with a NULL
(0x00) byte. In SPI mode, the QT1100A can be awakened by
connecting pin /SS to WAKE and sending an empty /SS
pulse from the host to the QT.
LQ
18
Copyright © 2003-2005 QRG Ltd
QT1100A-ISG R3.01/0505