Datasheet

ENS160 Datasheet v0.95 preliminary / December 2020
19
14.1.3 I
2
C Read Operation
After the START condition, in the first transaction:
The I²C Master sends the 7-bit slave address and 0 into the R/W bit (the byte sent
would be 0xA4 or 0xA6 dependent on the power-up value of MISO/ADDR).
The I²C Master then sends the address of the first register to read.
Then either after a RESTART condition (i.e. STOP followed by START)
The I²C Master sends the 7-bit slave address and 1 into the R/W bit (the byte sent
would be 0xA5 or 0xA7 dependent on the power-up value of MISO/ADDR).
The I²C Master then reads 1-n data bytes from sequential registers (if valid) until the
transaction is concluded with a STOP condition.
Figure 12: I
2
C Read Operation
Figure 13: I
2
C Auto-Increment Read Operation
Register address
SDA
MSB LSB
0 A
AD6 AD5 AD4 AD3 AD2 AD1 AD0
A
Slave address
Acknowledge from slave
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
SCLK
S
S
or
P
W
Data byte
SDA
MSB LSB
1 A A
Slave address
Acknowledge from master
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
SCLK
S
S
or
P
R
Acknowledge from slave
Data byte 1
SDA
MSB LSB
1 A A
Slave address
Acknowledge from master
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
SCLK
S
R
Acknowledge from slave
A
S
or
P
Data byte n Last data byte
No acknowledge from master
1 2 3 4 5 6 7 8 9
Register address
SDA
MSB LSB
0 A
AD6 AD5 AD4 AD3 AD2 AD1 AD0
A
Slave address
Acknowledge from slave
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
SCLK
S
S
or
P
W