at42qt2160 ATMEL Corporation, at42qt2160 Datasheet - Page 21

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
6. Interfaces
6.1
6.2
6.3
6.3.1
9502A–AT42–07/08
I
I
Data Read/Write
2
2
C-compatible Protocol
C-compatible Addresses
Writing Data to the Device
The
reads and writes.
Note: Each write or read cycle must end with a stop condition. The QT2160 may not respond
correctly if a cycle is terminated by a new start condition.
Four preset
Table 6-1.
The sequence of events required to write data to the device is shown next.
The host initiates the transfer by sending the START condition, and follows this by sending the
slave address of the device together with the Write-bit. The device sends an ACK. The host then
sends the memory address within the device it wishes to write to. The device sends an ACK.
The host transmits one or more data bytes; each will be acknowledged by the device.
Key
S
SLA+W
A
MemAddress
Data
P
I
2
C
-compatible protocol is based around access to an address table and supports multibyte
I
2
I2CA1
C
I
-compatible addresses are selectable through pin I2CA0 and I2CA1
2
0
0
1
1
C
S
-compatible Addresses
SLA+W
A
Host to Device
MemAddress
Start condition
Slave address plus write bit
Acknowledge bit
Target memory address within device
Data to be written
Stop condition
I2CA0
0
1
0
1
A
Data
Device to Host
AT42QT2160
A
Address
P
0x0D
0x6B
0x17
0x44
(Table
6-1).
21

Related parts for at42qt2160