at42qt2160 ATMEL Corporation, at42qt2160 Datasheet - Page 41

no-image

at42qt2160

Manufacturer Part Number
at42qt2160
Description
Qslide?, 16-key Qmatrix? Sensor Ic
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at42qt2160-MMU
Manufacturer:
Atmel
Quantity:
12 255
Part Number:
at42qt2160-MMU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
at42qt2160-MMU
Quantity:
50 000
Part Number:
at42qt2160-MMUR
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
9.8
9.9
9502A–AT42–07/08
Direction
GPIO
GPIOs
Typical Initialization and Usage
0
0
1
1
1
GPIO
PWM
X
X
0
0
1
By default, the dedicated GPIOs (GPIO1...GPIO3) are set as inputs. Make sure to drive (set to
outputs) these GPIOs if not used, as floating pins may consume unnecessary current.
By default, shared GPOs are push-pull outputs driven low when not measuring.
Table 9-1
Figure 9-1 on page 42
1. After a reset/power-up, wait for CHANGE to go low, indicating the QT2160 has
2. Send all the setup parameters that need to be changed from the startup default values.
3. After setting up the QT2160, send a Calibrate command.
4. Read all status bytes once (address 2 to 6), to return the CHANGE line to an inactive
5. If CHANGE line goes low, perform a read of the required status byte. All the status
6. Process the received byte accordingly.
7. Check the reset bit in the general status byte (address 2). If it is a 1, go to step 2 to
8. Repeat steps 5, 6 and 7. Steps 5 and 6 are the continuous normal operating loop
initialized and is ready to communicate.
Drive all unused GPIOs to outputs, to prevent unnecessary increase in current
consumption.
state.
bytes that have changed need to be read, to ensure that the CHANGE line goes
inactive again.
resend all the setup parameters, as a reset has occurred. If it is a 0, proceed to the next
step.
sequence after initialization.
GPIO
Drive
X
X
X
0
1
shows a summary of the GPIO options, and the precedence of each setting.
Wake
X
1
X
X
X
shows a typical example of communicating with the QT2160.
Input - read only in LP mode so CHANGE
CHANGE event possible in both modes
Input - read in LP and Sleep modes so
event possible only in LP mode
Dedicated GPIO Function
Output - PWM
Output - Gnd
Output - Vdd
AT42QT2160
Shared GPO Function
Output - PWM
Always output
Always output
Output - Gnd
Output - Vdd
41

Related parts for at42qt2160