English
Language : 

MAX14578E_12 Datasheet, PDF (19/23 Pages) Maxim Integrated Products – USB Battery Charger Detectors
MAX14578E/MAX14578AE
USB Battery Charger Detectors
ADDRESS = 0x58
0 = WRITE
REGISTER ADDRESS = 0x01
S
0
1
0
1
1
0
0
0
A
REGISTER 0x01 WRITE DATA
d7 d6 d5 d4 d3 d2 d1 d0 A
P
Figure 9. Format for I2C Write
0 0 0 0 0 0 0 1A
S = START BIT
P = STOP BIT
A = ACK
N = NACK
d_ = DATA BIT
ADDRESS = 0x58
0 = WRITE
REGISTER ADDRESS = 0x01
S
0
1
0
1
1
0
0
0
A
REGISTER 0x01 WRITE DATA
0 0 0 0 0 0 0 1A
REGISTER 0x02 WRITE DATA
d7 d6 d5 d4 d3 d2 d1 d0 A
d7 d6 d5 d4 d3 d2 d1 d0 A/N
P
Figure 10. Format for Writing to Multiple Registers
Format for Writing
A write to the MAX14578E comprises the transmission
of the slave address with the R/W bit set to zero, fol-
lowed by at least one byte of information. The first byte
of information is the register address or command byte.
The register address determines which register of the
MAX14578E is to be written by the next byte, if received.
If a STOP (P) condition is detected after the register
address is received, the MAX14578E takes no further
action beyond storing the register address (Figure 9).
Any bytes received after the register address are data
bytes. The first data byte goes into the register selected
by the register address, and subsequent data bytes go
into subsequent registers (Figure 10). If multiple data
bytes are transmitted before a STOP condition, these
bytes are stored in subsequent registers because the
register addresses autoincrements.
Format for Reading
The MAX14578E is read using the internally stored reg-
ister address as an address pointer, the same way the
stored register address is used as an address pointer
for a write. The pointer autoincrements after each data
byte is read using the same rules as for a write. Thus, a
read is initiated by first configuring the register address
by performing a write (Figure 11). The master can now
read consecutive bytes from the MAX14578E, with the
first data byte being read from the register address
pointed by the previously written register address. Once
the master sends a NACK, the MAX14578E stops send-
ing valid data.
Maxim Integrated
  19