English
Language : 

AT42QT1111-MU_14 Datasheet, PDF (21/50 Pages) ATMEL Corporation – 11-key QTouch Touch Sensor IC
5. Control Commands
5.1 Introduction
The QT1111 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.
Table 5-1. Control Commands
Command
Send Setups
Calibrate All
Reset
Code
0x01
0x03
0x04
Note
Configures the device to receive setup data
Calibrates all keys
Resets the device
Sleep
Store to EEPROM
Restore from EEPROM
Erase EEPROM
0x05
0x0A
0x0B
0x0C
Sleep (dead) mode
Stores RAM setups to EEPROM
Copies EEPROM setups to RAM (automatically done at startup)
Erases EEPROM setups
Recover EEPROM
Calibrate Key k
0x0D
0x1k
Restores last EEPROM settings (after erase)
Calibrates one key (key k)
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 QT1111 (see Section 7. on page 27).
When this command is received, the QT1111 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 QT1111, and
confirms that the data correctly matches the data sent.
The host must wait for at least 300 µ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 300 µs for the operation to be completed before communications can be
re-established.
5.4 Reset (0x04)
The Reset command forces the QT1111 to reset. If the setups data is present in the EEPROM, the setups are
loaded into the device. Otherwise default settings are applied.
AT42QT1111-MU / AT42QT1111-AU [DATASHEET]
21
9571C–AT42–05/2013