MAX6947 Maxim Integrated Products, MAX6947 Datasheet - Page 17

no-image

MAX6947

Manufacturer Part Number
MAX6947
Description
Constant-Current LED Drivers and I/O Expanders
Manufacturer
Maxim Integrated Products
Datasheet
w
Table 10. MAX6946/MAX6947 Slave
Addresses
Both SCL and SDA remain high when the interface is
not busy. A master signals the beginning of a transmis-
sion with a START (S) condition by transitioning SDA
from high to low while SCL is high. When the master fin-
ishes communicating with the slave, it issues a STOP
(P) condition by transitioning SDA from low to high
while SCL is high. The bus is then free for another
transmission (Figure 9).
One data bit is transferred during each clock pulse.
The data on SDA must remain stable while SCL is high
(Figure 10).
Any bytes received after the command byte are data
bytes. The first data byte goes into the internal register
of the MAX6946/MAX6947 selected by the command
byte (Figure 11). If multiple data bytes are transmitted
before a STOP condition is detected, these bytes are
generally stored in subsequent MAX6946/MAX6947
internal registers because the command byte autoin-
crements (Table 1).
Read from the MAX6946/MAX6947 using the
MAX6946/MAX6947s’ internally stored command byte
as an address pointer the same way the stored com-
mand byte 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 (Table 1). Thus, a
read is initiated by first configuring the MAX6946/
MAX6947s’ command byte by performing a write
w
AD0 = GND
AD0 = SDA
AD0 = V
AD0 = SCL
MAX6947
MAX6946
w
10-Port, Constant-Current LED Drivers and
I/O Expanders with PWM Intensity Control
DD
.
______________________________________________________________________________________
Message Format for Reading
Start and Stop Conditions
D
a
SLAVE ADDRESS
010 0000
010 0100
110 0100
110 0000
010 0000
Acknowledge
t
Bit Transfer
a
S
h
(Figures 12 and 13). The master can now read n con-
secutive bytes from the MAX6946/MAX6947 with the
first data byte being read from the register addressed
by the initialized command byte (Figure 14). When per-
forming read-after-write verification, remember to reset
the command byte’s address because the stored com-
mand byte address has been autoincremented after
the write (Table 1).
Figure 9. Start and Stop Conditions
Figure 10. Bit Transfer
Figure 11. Acknowledge
TRANSMITTER
SDA
SCL
SDA
SCL
RECEIVER
CONDITION
SDA BY
SDA BY
START
e
SCL
S
CONDITION
DATA LINE STABLE;
START
S
DATA VALID
e
1
t
CHANGE OF DATA
ALLOWED
2
4
FOR ACKNOWLEDGE
U
CLOCK PULSE
8
.
CONDITION
9
STOP
c
P
17
o
m

Related parts for MAX6947