17
9571B–AT42–08/10
AT42QT1111-MU/AT42QT1111-AU
4.1.6.3
Commands in Quick SPI Mode
Only two host commands are recognized under Quick SPI mode. These are shown in
Table 4-2.
CRC checking is not implemented in Quick SPI mode for host commands or return data.
4.1.6.4
Quick SPI Mode timing
In Quick SPI mode, the minimum time between byte exchanges is reduced to 100 S.
If a pause in communications of 100 ms is detected during reading of the 7-byte report, the
QT1111 resets the exchange, and on the next byte read it returns byte 0 of the report.
4.2
Reset
The QT1111 can be reset using one of two methods:
Hardware reset: An external reset logic line can be used if desired, fed into the RESET pin.
However, under most conditions it is acceptable to tie RESET to Vdd.
Software reset: A software reset can be forced using the “Reset” control command.
For both methods, the device will follow the same initialization sequence. If there any saved
settings in the EEPROM, these are loaded into RAM. Otherwise the default settings are applied.
Note:
The SPI interface becomes active after the QT1111 has completed its startup sequence,
taking approximately 320 ms after power on/reset.
4.3
Sleep Mode
The QT1111 can be put into a very low power sleep mode (typically < 2 A). During sleep mode,
no keys are measured and the DETECT outputs are all put into high impedience mode to
minimize current consumption. The device remains in sleep mode until a falling edge is detected
on either the SS pin or the CHANGE pin. When the QT1111 wakes from sleep mode, it
continues to operate as it was before it was put into sleep mode. The QT1111 requires
approximately 100 s to wake from sleep mode and will not respond correctly to SPI
communications until the wake-up procedure is complete. The low level on the SS or CHANGE
pin that is used to wake the device must be maintained for 100 s to ensure correct operation.
Note:
If the device is set to sleep mode for an extended period, the host should initiate a
recalibration immediately after waking the QT1111.
4.4
Calibration
The device can be forced to recalibrate the sensor keys at any time. This can be useful where,
for example, a portable device is plugged into mains power, or during product development
when settings are being tuned.
The QT1111 can also be configured to automatically recalibrate if it remains in detection for too
long. This avoids keys becoming “stuck” after a prolonged period of uninterrupted detection. See
Table 4-2.
Host Commands in Quick SPI Mode
Command
Code
Purpose
Store to EEPROM
0x0A
Allows for “Quick SPI mode” to be stored as the
default start-up mode
Enable Full SPI
0x36
Enables full SPI mode