Si7015-A10
24 Rev. 1.0
5.2.2. I
2
C Read Operation
To read a register on the Si7015, the master must first set the address pointer to indicate the register from which
the data is to be transferred. Therefore, the first communication with the Si7015 is a write operation. The master
should issue a start command (S) followed by the slave address, 0x40. The slave address is followed by a 0 to
indicate that the operation is a write. Upon recognizing its slave address, the Si7015 will issue an acknowledge (A)
by pulling the SDA line low for the high duration of the ninth SCL cycle. The next byte the master places on the bus
is the register address pointer selecting the register on the Si7015 from which the data should be transferred. After
the Si7015 acknowledges this byte, the master issues a repeated start command (Sr) indicating that a new transfer
is to take place. The Si7015 is addressed once again with the R/W bit set to 1, indicating a read operation. The
Si7015 will acknowledge its slave address and output data from the previously-selected register onto the data bus
under the control of the SCL signal, the master should not acknowledge (A
) the data byte and issue a stop (P)
command (see Table 22). However, if a RH or Temperature conversion result (two bytes) is to be read, the master
should acknowledge (A) the first data byte and continue to activate the SCL signal. The Si7015 will automatically
output the second data byte. Upon receiving the second byte, the master should issue a not Acknowledge (A
)
followed by a stop command. (See Table 23.)
Table 18. I
2
C Read Sequence for a Single Register
Sequence to Read from a Single Register
S Slave Address W
A Address Pointer ASr Slave Address R A Register Data A P
Sequence to Read Device ID
S0x40 0
A 0x11 ASr 0x40 1 A ID A P
Sequence to Read RDY
bit
S0x40 0
A 0x00 ASr 0x40 1 A — RDY A P
Table 19. I
2
C Read Sequence for RH or Temperature Conversion Result
Sequence to Read Conversion Result
SSlave
Address
W
AAddress
Pointer
ASr Slave
Address
R A Register 1
Data
A Register 2
Data
A P
S0x40 0
A0x01ASr 0x40 1 A Data H A Data L A P