MAX14578AE Maxim, MAX14578AE Datasheet - Page 19

no-image

MAX14578AE

Manufacturer Part Number
MAX14578AE
Description
The MAX14578E/MAX14578AE are USB charger detectors compliant with USB Battery Charging Revision 1
Manufacturer
Maxim
Datasheet
Figure 9. Format for I
Figure 10. Format for Writing to Multiple Registers
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
S
d7
S
d7
0
d6
______________________________________________________________________________________
0
2
d6
1
C Write
REGISTER 0x01 WRITE DATA
d5
1
REGISTER 0x01 WRITE DATA
d5
0
d4
ADDRESS = 0x58
0
d4
1
ADDRESS = 0x58
d3
1
Format for Writing
d3
1
d2
1
d2
0
USB Battery Charger Detectors
d1
0
d1
0
d0
0 = WRITE
0
d0
0
0 = WRITE
A
0
A
A
A
P
bytes are stored in subsequent registers because the
register addresses autoincrements.
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.
d7
0
0
d6
0
0
d5
0
REGISTER 0x02 WRITE DATA
REGISTER ADDRESS = 0x01
0
REGISTER ADDRESS = 0x01
d4
0
S = START BIT
P = STOP BIT
A = ACK
N = NACK
d_ = DATA BIT
0
d3
0
0
d2
0
0
d1
0
Format for Reading
0
d0
1
1
A/N
A
A
P
19

Related parts for MAX14578AE