Datasheet
ADP5062 Data Sheet
Rev. B | Page 26 of 44
I
2
C INTERFACE
The ADP5062 includes an I
2
C-compatible serial interface for
control of the charging and LDO functions, as well as for a
readback of the system status registers. The I
2
C chip address
is 0x28 in write mode and 0x29 in read mode.
Register values are reset to the default values when the VINx
supply falls below the falling voltage threshold, V
VIN_OK_FALL
.
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 ADP5062 registers
is written to first. The ADP5062 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 ADP5062 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.
ADP5062 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 0010100 0 0 0
SP
ADP5062 RECEIVES
DATA
0 = WRITE
0
MASTER STOP
ADP5062 ACK
ADP5062 ACK
ADP5062 ACK
10806-034
0 = WRITE
CHIP ADDRESS
ST 0010100 0 0
0
SP
ADP5062 RECEIVES
DATA TO REGISTER N
0
MASTER STOP
0
ADP5062 RECEIVES
DATA TO REGISTER N + 1
0
ADP5062 RECEIVES
DATA TO LAST REGISTER
ADP5062 ACK
ADP5062 ACK
ADP5062 ACK
ADP5062 ACK
ADP5062 ACK
SUBADDRESS
REGISTER N
10806-035
STST SP
0 = WRITE
SUBADDR
ESS
CHIP ADDRESS
0010100 0 0 10
MASTER
STOP
CHIP ADDRESS ADP5062 SEND
SDATA
0010100 0
1 = READ
1
0
ADP5062 ACK
ADP5062 ACK
ADP5062 ACK
MASTER ACK
10806-036
STST
SP
0 = WRITE
MASTER
STOP1 = READ
SUBADDRESS
REGISTER N
CHIP ADDRESS
0010100 0 0 0
ADP5062 SENDS
DATA OF REGISTER N
0
MASTER ACK
0
ADP5062 SENDS
DATA OF REGISTER
N + 1
MASTER ACK
1
ADP5062 SENDS
DATA OF LAST
REGISTER
MASTER ACK
CHIP ADDRESS
0010100 01
0
ADP5062 ACK
ADP5062 ACK
ADP5062 ACK
10806-037