Datasheet

ADP5587 Data Sheet
Rev. D | Page 14 of 24
I
2
C PROGRAMMING AND DIGITAL CONTROL
The ADP5587 provides full I
2
C software programmability to
facilitate its adoption in various product architectures. All
register programming is done via the I
2
C bus. The LFCSP
package has two options for I
2
C addressing.
The default part option I
2
C write address is located at 0x68
(0b01101000), and the read address is at 0x69 (0b 01101001).
The ADP5587ACPZ-1-R7 has the I
2
C write address at 0x60 (0b
01100000) and the read address at 0x61 (0b 01100001).
All communication to the ADP5587 is performed via its I
2
C-
compatible serial interface. Figure 16 shows a typical write
sequence for programming an internal register. The cycle
begins with a start condition followed by the chip write address.
The ADP5587 acknowledges the chip write address byte by
pulling the data line low. The address of the register to which
data is to be written is sent next. The ADP5587 acknowledges
the register address byte by pulling the data line low. The data
byte to be written is sent next. The ADP5587 acknowledges the
data byte by pulling the data line low, and a stop condition
completes the sequence.
Figure 17 shows a typical read sequence for reading back an
internal register. The cycle begins with a start condition
followed by the chip write address. The ADP5587 acknowledges
the chip write address byte by pulling the data line low. The
address of the register from which data is to be read is sent next.
The ADP5587 acknowledges the register address byte by pulling
the data line low. The cycle continues with a repeat start
followed by the chip read address. The ADP5587 acknowledges
the chip read address byte by pulling the data line low. The
ADP5587 places the contents of the previously addressed
register on the bus for readback. There is no acknowledge
following the readback data byte, and a stop condition
completes the cycle.
SUBADDRESS
CHIP ADDRESS
1
ST 0 1 1 0 1 0 0 0 0 0 SP
0 = WRITE
ADP5587 ACK
ADP5587 ACK
ADP5587 RECEIVES D ATA
ADP5587 ACK
0
08612-012
1
DEFAULT WRITE ADDRESS IS 0x68. OPTION 1 WRITE ADDRESS IS 0x60.
Figure 16. I
2
C Write Sequence
SUBADDRESSCHIP ADDRESS
1
CHIP ADDRESS
2
ST 0 1 1 0 1 0 0 0 0 0 0 0 0 0 1 1 0 ST 0 1 1 0 1 0 0 0 1 SP
1 = READ
ADP5587 NO ACK
ADP5587 SENDS DATA
ADP5587 ACK
ADP5587 ACK
ADP5587 ACK
0 = WRITE
0 1
08612-013
1
DEFAULT WRITE ADDRESS IS 0x68. OPTION 1 WRITE ADDRESS IS 0x60.
2
DEFAULT READ ADDRESS IS 0x69. OPTION 1 READ ADDRESS IS 0x61.
Figure 17. I
2
C Read and Write Sequences
READ START ADDR
CHIP ADDRESS CHIP ADDRESS
1
ST 0 1 1 0 1 0 0 0 0 0 0 0 0 0 1 1 0 ST 0 1 1 0 1 0 0 0 0
1 = READ
ADP5587 ACK
ADP5587 SENDS DATA 1
ADP5587 ACK
ADP5587 ACK
ADP5587 ACK
0 = WRITE
0 1
ADP5587 NO ACK
1
ADP5587 SENDS DATA N
...
ST
STOP
START
08612-014
1
DEFAULT READ ADDRESS IS 0x69. OPTION 1 READ ADDRESS IS 0x61.
Figure 18. I
2
C Read Auto-Increment