Datasheet

Data Sheet ADP5061
Rev. C | Page 25 of 44
I
2
C INTERFACE
The ADP5061 includes an I
2
C-compatible serial interface for
control of the charging and LDO functions, as well as for a
readback of system status registers. The I
2
C chip address is 0x28
in write mode and 0x29 in read mode.
Registers values are reset to the default values when the VINx
supply falls below the V
VIN_OK
falling voltage threshold. The I
2
C
registers also reset when the battery is disconnected and V
IN
is 0 V.
The subaddress content selects which of the ADP5061 registers
is written to first. The ADP5061 sends an acknowledgement to
the master after the 8-bit data byte has been written (see Figure 34
for an example of the I
2
C write sequence to a single register).
The ADP5061 increments the subaddress automatically and
starts receiving a data byte at the next register until the master
sends an I
2
C stop as shown in Figure 35.
Figure 36 shows the I
2
C read sequence of a single register.
ADP5061 sends the data from the register denoted by the
subaddress and increments the subaddress automatically,
sending data from the next register until the master sends an
I
2
C stop condition as shown in Figure 37.
Figure 34. I
2
C Single Register Write Sequence
Figure 35. I
2
C Multiple Register Write Sequence
Figure 36. I
2
C Single Register Read Sequence
Figure 37. I
2
C Multiple Register Read Sequence
SUBADDRESSCHIP ADDRESS
ST
0 0 1 0 1 0 0 0 0 0
SP
ADP5061 RECEIVES
DATA
0 = WRITE
0
MASTER STOP
ADP5061 ACK
ADP5061 ACK
ADP5061 ACK
10544-034
0 = WRITE
CHIP ADDRESS
ST
0 0 1 0 1 0 0 0 0
0
SP
ADP5061 RECEIVES
DATA TO REGISTER N
0
MASTER STOP
0
ADP5061 RECEIVES
DATA TO REGISTER N + 1
0
ADP5061 RECEIVES
DATA TO LAST REGISTER
ADP5061 ACK
ADP5061 ACK
ADP5061 ACK
ADP5061 ACK
ADP5061 ACK
SUBADDRESS
REGISTER N
10544-035
STST SP
0 = WRITE
SUBADDRESS
CHIP ADDRESS
0 0 1 0 1 0 0 0 0 1
ADP5061 SENDS
DATA
0
MASTER
STOP
CHIP ADDRESS
0 0 1 0 1 0 0 0
1 = READ
1
0
ADP5061 ACK
ADP5061 ACK
ADP5061 ACK
MASTER ACK
10544-036
STST
SP
0 = WRITE
MASTER
STOP
1 = READ
SUBADDRESS
REGISTER N
CHIP ADDRESS
0 0 1 0 1 0 0 0 0 0
ADP5061 SENDS
DATA OF REGISTER N
0
MASTER ACK
0
ADP5061 SENDS
DATA OF REGISTER
N + 1
MASTER ACK
1
ADP5061 SENDS
DATA OF LAST
REGISTER
MASTER ACK
CHIP ADDRESS
0 0 1 0 1 0 0 01
0
ADP5061 ACK
ADP5061 ACK
ADP5061 ACK
10544-037