AT42QT2120 Datasheet

Table Of Contents
9
9634E–AT42–06/12
AT42QT2120
2.3 Keys
Dependent on mode, the QT2120 can have a minimum of one key and a maximum of 12 keys.
These can be constructed in different shapes and sizes. See “Features” on page 1 for the
recommended dimensions.
The possible combinations of keys are:
Comms mode:
1 to 12 keys
or
1 to 9 keys plus 1 slider/wheel
Key channels 2 to 11 can be reassigned as general outputs, if required
Note: Any number of keys can be configured as proximity channels.
Standalone mode:
1 to 5 keys plus corresponding discrete outputs
1 Guard Channel
1 Proximity sensor
Unused keys should be disabled by setting bit 0 of their control bytes to 1 (see Section 5.17 on
page 26).
The Key Status register (see Section 5.5 on page 21) can be read to determine the touch status
of the corresponding key. It is recommended using the open-drain CHANGE
line to detect when
a change of status has occurred.
2.4 Output Lines
In comms mode some pins, normally used for touch keys, can be used as output pins. If the Key
Control bit 0 (EN) is set to 1, the pin can be used as an output. The state of the pin is then
controlled by Key Control bit 1 (GPO).
In Standalone mode pins OUT2 to OUT6 are driven by KEY2 to KEY6 respectively. The OUT
pins drive high during touch and can be used to drive, for example, LEDs.
2.5 Acquisition/Low Power Mode (LP)
There are 255 different acquisition times possible. These are controlled via the LP Mode byte
(see Section 5.9 on page 22) which can be written to via I
2
C-compatible communication.
LP mode controls the intervals between acquisition measurements. Longer intervals consume
lower power but have an increased response time. During calibration, touch and during the
detect integrator (DI) period, the LP mode is temporarily set to LP mode 1 for a faster response.
The QT2120 operation is based on a fixed cycle time of approximately 16 ms. The LP mode
setting indicates how many of these periods exist per measurement cycle. For example, If LP
mode = 1, there is an acquisition every cycle (16 ms). If LP mode = 3, there is an acquisition
every 3 cycles (48 ms). If a high PULSE setting is selected then the acquisition time may exceed
16 ms.
An LP setting of 0 will send the device into Power-down mode. To wake the device from this
mode a nonzero LP setting should be written to the LP address at location 8.