Datasheet
Writing to the MAX7323
A write to the MAX7323 starts with the master transmit-
ting the MAX7323’s slave address with the R/W bit set
low. The MAX7323 acknowledges the slave address,
and samples the input ports during acknowledge. INT
goes high (high impedance if an external pullup resistor
is not fitted) during the slave acknowledge. The master
can now transmit 1 or more bytes of data. The MAX7323
acknowledges these subsequent bytes of data and updates
the interrupt mask register with each new byte until the
master issues a STOP condition (Figure 8).
Applications Information
Port Input and I
2
C Interface Level
Translation from Higher or Lower
Logic Voltages
The MAX7323’s SDA, SCL, AD0, AD2, RST, INT, and
P2–P5 are overvoltage protected to +6V independent of
V+. This allows the MAX7323 to operate from a lower
supply voltage, such as +3.3V, while the I
2
C interface
and/or some of the four I/O ports are driven from a higher
logic level, such as +5V.
The MAX7323 can operate from a higher supply volt-
age, such as +3V, while the I
2
C interface and/or some
of the four I/O ports P2–P5 are driven from a lower
logic level, such as +2.5V. Apply a minimum voltage
of 0.7 x V+ to assert a logic-high on any input. For
example, a MAX7323 operating from a +5V supply may
not recognize a +3.3V nominal logic-high. One solution
for input-level translation is to drive the MAX7323 inputs
from open-drain outputs. Use a pullup resistor to V+ or a
higher supply to ensure a high logic voltage greater than
0.7 x V+.
Port-Output Port-Level Translation
The open-drain output architecture allows for level
translation to higher or lower voltages than the MAX7323’s
supply. Use an external pullup resistor on any output to
convert the high-impedance logic-high condition to a
positive voltage level. The resistor can be connected to
any voltage up to +6V, and the resistor value chosen
to ensure no more than 20mA is sunk in the logic-low
condition. For interfacing CMOS inputs, a pullup resistor
value of 220kΩ is a good starting point. Use a lower
resistance to improve noise immunity, in applications
where power consumption is less critical, or where a
faster rise time is needed for a given capacitive load.
Each of the four output ports O0, O1, O6, and O7 has
protection diodes to GND (Figure 9). When a port is
driven to a voltage lower than GND, the protection diode
clamps the output to a diode drop below GND.
Each of the four I/O ports P2–P5 also has a 40kΩ (typ)
pullup resistor that can be enabled or disabled. When
a port is driven to a voltage higher than V+, the body
diode of the pullup enable switch conducts and the
40kΩ pullup resistor is enabled. When the MAX7323
is powered down (V+ = 0), each I/O port appears as
a 40kΩ resistor in series with a diode connected to
zero. Each port is protected to +6V under any of these
circumstances (Figure 10).
Figure 8. Writing to the MAX7323
SCL
SDA
START CONDITION R/W
SLAVE ADDRESS
S 0
1 2 3 4 5 6 7 8
A A A
t
PV
DATA 1 DATA 2
t
PV
DATA TO PORT DATA TO PORT
t
PV
DATA 2 VALIDDATA 1 VALID
INTERNAL WRITE
TO PORT
DATA OUT
FROM PORT
t
PV
S = START CONDITION SHADED = SLAVE TRANSMISSION
P = STOP CONDITION N = NOT ACKNOWLEDGE
www.maximintegrated.com
Maxim Integrated
│
12
MAX7323 I
2
C Port Expander with 4 Push-Pull
Outputs and 4 Open-Drain I/Os