beautypg.com

Rainbow Electronics MAX7358 User Manual

Page 17

background image

MAX7356/MAX7357/MAX7358

1-to-8 I

2

C Bus Switches/Multiplexers with Bus

Lock-Up Detection, Isolation, and Notification

______________________________________________________________________________________

17

2 seconds. The interrupt signal asserts again once a
new lock-up is detected. The interrupt signal does not
activate the reset function.

Serial Interface

Serial Addressing

The MAX7356/MAX7357/MAX7358 operate as a slave
that sends and receives data through an I

2

C interface.

The interface uses a serial-data line (SDA) and a serial-
clock line (SCL) to achieve bidirectional communication
between master(s) and slave(s). The master initiates all
data transfers to and from the MAX7357 or MAX7358
and generates the SCL clock that synchronizes the
data transfer.

SDA operates as both an input and an open-drain out-
put. A pullup resistor (4.7k

Ω, typ) is required on SDA.

SCL operates only as an input. A pullup resistor (4.7k

Ω,

typ) is required on SCL if there are multiple masters on
the 2-wire interface, or if the master in a single-master
system has an open-drain SCL output.

Each transmission consists of a START condition sent
by a master, followed by the MAX7356/MAX7357/
MAX7358’s 7-bit slave address plus R/W bit, and then
optionally 1 or more data bytes, and finally a STOP con-
dition (Figure 10).

START and STOP Conditions

Both SCL and SDA remain high when the interface is
not busy. The master signals the beginning of a trans-
mission with a START (S) condition by transitioning SDA
from high to low while SCL is high. When the master
has finished communicating with the slave, the master
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 11).

Bit Transfer

One data bit is transferred during each clock pulse.
The data on SDA must remain stable while SCL is high
(Figure 12).

Acknowledge

The acknowledge bit is a clocked 9th bit the recipient
uses to handshake receipt of each byte of data (Figure
13). Each byte transferred effectively requires 9 bits.
The master generates the 9th clock pulse, and the
recipient pulls down SDA during the acknowledge
clock pulse, so the SDA line is stable low during the
high period of the clock pulse. When the master is
transmitting to the MAX7356/MAX7357/MAX7358, the
MAX7356/MAX7357/MAX7358 generate the acknowl-

START

0

A

0

1

0

0

1

1

0

S

0

0

L

L

L

L

L

L

L

L

L

L

L

L

L

L

L

1

1

W

ACKNOWLEDGE FROM

THE TROUBLED DEVICE

LOCK-UP

OCCURS

FIRST DATA BYTE

SECOND DATA BYTE

Figure 10. Bus Lock-Up During a 3-Byte Write Command

SDA

SCL

S

P

START

CONDITION

STOP

CONDITION

Figure 11. Start and Stop Conditions

SDA

SCL

DATA STABLE

DATA VALID

CHANGE OF

DATA ALLOWED

Figure 12. Bit Transfer

CLOCK PULSE FOR

ACKNOWLEDGMENT

NOT ACKNOWLEDGE

ACKNOWLEDGE

1

2

8

9

SDA

SCL

START

CONDITION

Figure 13. Acknowledge