User Manual

22
9570H–AT42–02/10
AT42QT1110-MZ/AT42QT1110-AZ
5. Control Commands
5.1 Introduction
The QT1110 control commands are those commands that affect the device operation.
The control commands are listed in Table 5-1 and are described individually in the following
sections.
Note: Commands are implemented immediately upon reception, so a suitable delay is
required for the operation to be completed before communications can be
re-established.
5.2 Send Setups (0x01)
This command initiates the upload of the full settings table to the QT1110 (see Section 7 on
page 28).
When this command is received, the QT1110 stops key measurement and waits until 42 bytes of
setup data have been received. Key acquisition will restart after all the setup data has been
received.
If enabled, a CRC check byte is transmitted (both ways) after the 42 bytes to confirm that they
have been received correctly.
If CRC checking is not enabled, it is recommended that the host request a dump of setup data
from the QT1110, and confirms that the data correctly matches the data sent.
The host must wait for at least 150 µs for the operation to be completed before communications
can be re-established.
5.3 Calibrate All (0x03)
This command initiates the recalibration of all sensor keys.
The host must wait for at least 150 µs for the operation to be completed before communications
can be re-established.
Table 5-1. Control Commands
Command Code Note
Send Setups 0x01 Configures the device to receive setup data
Calibrate All 0x03 Calibrates all keys
Reset 0x04 Resets the device
Sleep 0x05 Sleep (dead) mode
Store to EEPROM 0x0A Stores RAM setups to EEPROM
Restore from EEPROM 0x0B
Copies EEPROM setups to RAM (automatically done at
startup)
Erase EEPROM 0x0C Erases EEPROM setups
Recover EEPROM 0x0D Restores last EEPROM settings (after erase)
Calibrate Key 'k' 0x1k Calibrates one key (key k)