AT42QT2161-MMU Atmel, AT42QT2161-MMU Datasheet - Page 40

no-image

AT42QT2161-MMU

Manufacturer Part Number
AT42QT2161-MMU
Description
IC TOUCH SENSOR 16KEY QFN M-MOD
Manufacturer
Atmel
Type
Capacitiver
Datasheet

Specifications of AT42QT2161-MMU

Touch Panel Interface
8, 2-Wire
Number Of Inputs/keys
16 Key, Slider
Resolution (bits)
10 b
Data Interface
I²C, Serial
Voltage Reference
Internal
Voltage - Supply
1.8 V ~ 5.5 V
Current - Supply
1.14mA
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
28-VFQFN Exposed Pad
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
8. Getting Started With the QT2161
8.1
8.2
8.3
8.4
8.5
40
Using the I
Establishing Contact
Writing to the Device
Reading From the Device
Keys
AT42QT2161
2
C-compatible Bus
The QT2161 is an address-mapped part. All commands and data transfers consist of reads
from, and writes to, memory locations.
To establish that the device is present and running, write a zero to it (see
a single byte (see
the device is present and running.
A write cycle to the device consists of a start condition followed by the
the device (see
will start. This address is then stored as the address pointer.
Subsequent bytes in a multibyte transfer will be written to the location of the address pointer,
location of the address pointer +1, location of the address pointer +2 etc. This ends with the stop
condition on the
pointer.
It is possible to stop the write after the address pointer is sent if no data is required to be written
to the device. This is done when setting the address pointer for reading data.
A read cycle consists of a start condition followed by the
(see
pointer set by the last write operation. The address is internally incremented for each byte read
during a multibyte read.
The stop condition at the end of the transfer causes the internal address pointer to revert to the
value written during the last write operation. This means that if a set of data bytes needs to be
read many times (such as the status bytes) then it is not necessary to keep sending an address
pointer. It can be set to the first location and multibyte reads will always then start there.
The default setting of the QT2161 is for 16 keys with AKS disabled. This will be the default
setting when the device first powers up. A coin placed over any key can be used to pick up the
burst signal to see the activity on the keys (refer to the Touch Sensors Design Guide, available
from the Atmel website).
The CHANGE line will go low indicating there is new data to be read. Reading the status bytes
(address 2 – 6) will cause the CHANGE line to go inactive, as the data has been read.
If a key is now touched, the CHANGE line will go active again, indicating that there is new data
again. The CHANGE line will remain active until the status location containing the status for that
key is read. If the CHANGE line does not go low then it is likely the sensitivity of the key is not
high enough. The burst length should be increased to increase the sensitivity.
Section
5.1). Bytes can then be read starting at the location pointed to by the address
Section
I
2
Section
C
-compatible bus. A new write cycle will involve sending another address
5.1). The next byte is the address of the location into which the writing
8.4). This byte should be the ID of the device (0x11). If this is the case
I
2
C
-compatible address of the device
I
2
C
Section
-compatible address of
8.3). Now read
9614A–AT42–08/10

Related parts for AT42QT2161-MMU