Data Sheet

Page 14 ams Datasheet
Document Feedback [v1-00] 2016-Dec-23
CCS 811 − Application Information
I²C Register Read
Figure 10:
I²C Register Read
Since no register address can be supplied during an I²C
read, an I²C write needs to be prepended to select the
required register first.
The write and read operations can optionally be combined
into a single transaction using a repeated start condition,
as shown in the second example above.
Select and repeatedly read multiple data values from
register, if the three reads are from the same register
(mailbox), or from three subsequent registers (mailboxes).
SL AVE ADD RES SS W A DATA(REG ADDR) A P
SL AVE ADD RES SS R A PNDATA
Select and read register
value
Select and repeatedly
read multiple data
values from register
(select register address)
(read register value)
Select and read register
value, as single
transaction
SL AVE ADD RES SS W A DATA(REG ADDR) A S SLAVE ADD RES S R A PNDATA
SL AVE ADD RES SS W A DATA(REG ADDR) A P
(select register address)
(select register address) (read register value)
SL AVE ADD RES SS R A P
A
DATA NDATA
(read register multiple data)
SL AVE ADD RES SS R A P
A
DATA NDATA
(read register multiple data)
SL AVE ADD RES SS R A P
A
DATA NDATA
(read register multiple data)
From master to slave
From slave to master
S
Start condition
P
STOP condition
W
R
Write
Read
A
N
Acknowledge
Not acknowledge