MAX7325
I
2
C Port Expander with 8 Push-Pull
and 8 Open-Drain I/Os
13
Maxim Integrated
SCL
MAX7325 SLAVE ADDRESSS110
A
P
1
PORTS
INT OUTPUT
R/W
PORT SNAPSHOT
t
IV
t
PH
t
IR
AD0D1D2D3D4D5D6D7
PORT SNAPSHOT
t
PSU
t
IP
D7 D6 D5 D4 D3 D2 D1 D0 N
PORT SNAPSHOT
INT REMAINS HIGH UNTIL STOP CONDITION
I0
I1
I2I3I4I5
I6
I7
F0
F1
F2F3F4F5
F6
F7
PORT INPUTS INTERRUPT FLAGS
S = START CONDITION SHADED = SLAVE TRANSMISSION
P = STOP CONDITION N = NOT ACKNOWLEDGE
ACKNOWLEDGE
FROM MASTER
ACKNOWLEDGE
FROM MAX7325
Figure 7. Reading Open-Drain Ports of the MAX7325 (2 Data Bytes)
SCL
MAX7325 SLAVE ADDRESS
SA
P
1
ACKNOWLEDGE FROM MAX7325
PORT SNAPSHOT DATA
PORT SNAPSHOT TAKEN
A
P0P1P2P3
DATA 1
P4P5P6P7
D0D1D2D3D4D5D6D7
PORT SNAPSHOT TAKEN
ACKNOWLEDGE
FROM MASTER
R/W
Figure 8. Reading Push-Pull Ports of MAX7325
acknowledge. The new snapshot data is the current
port data transmitted to the master, and therefore, port
changes occuring during the transmission are detect-
ed. INT remains high until the STOP condition.
The master can read 2 bytes from the open-drain ports
of the MAX7325 and subsequently issues a STOP con-
dition (Figure 7). In this case, the MAX7325 transmits
the current port data, followed by the change flags. The
change flags are then cleared, and transition detection
is reset. INT goes high (high impedance if an external
pullup resistor is not fitted) during the slave acknowl-
edge. The new snapshot data is the current port data
transmitted to the master, and therefore, port changes
occuring during the transmission are detected. INT
remains high until the STOP condition.
A read from the push-pull ports of the MAX7325 starts
with the master transmitting the group’s slave address
with the R/W bit set high. The MAX7325 acknowledges
the slave address, and samples the logic state of the
output ports during the acknowledge bit. The master can
read one or more bytes from the push-pull ports of the
MAX7325 and then issues a STOP condition (Figure 8).
The MAX7325 transmits the current port data, read
back from the actual port outputs (not the port output
latches) during the acknowledge. If a port is forced to a
logic state other than its programmed state, the read-
back reflects this. If driving a capacitive load, the read-
back port level verification algorithms may need to take
the RC rise/fall time into account.
MAX7325
I
2
C Port Expander with 8 Push-Pull
and 8 Open-Drain I/Os
14
Maxim Integrated
Typically, the master reads one byte from the push-pull
ports of the MAX7325, then issues a STOP condition
(Figure 8). However, the master can read two or more
bytes from the group B ports of the MAX7325, then
issues a STOP condition. In this case, the MAX7325
resamples the port outputs during each acknowledge
and transmits the new data each time.
Writing the MAX7325
A write to either output port groups of the MAX7325
starts with the master transmitting the group’s slave
address with the R/W bit set low. The MAX7325
acknowledges the slave address and samples the
ports during the acknowledge bit. INT goes high (high
impedance if an external pullup resistor is not fitted)
during the slave acknowledge only when it writes to the
open-drain ports. The master can now transmit one or
more bytes of data. The MAX7325 acknowledges these
subsequent bytes of data and updates the correspond-
ing group’s ports with each new byte until the master
issues a STOP condition (Figure 9).
Applications Information
Port Input and I
2
C Interface Level
Translation from Higher or
Lower Logic Voltages
The MAX7325’s SDA, SCL, AD0, AD2, RST, INT, O8–O15,
and P0–P7 are overvoltage protected to +6V. This
allows the MAX7325 to operate from a lower supply
voltage, such as +3.3V, while the I
2
C interface and/or
any of the eight I/O ports are driven as inputs from a
higher logic level, such as +5V.
The MAX7325 can operate from a higher supply volt-
age, such as +3V, while the I
2
C interface and/or some
of the I/O ports P0–P7 are driven from a lower logic
level, such as +2.5V. For V+ < 1.8V, apply a minimum
voltage of 0.8 x V+ to assert a logic-high on any input.
For a V+ 1.8V, apply a voltage of 0.7 x V+ to assert a
logic-high. For example, a MAX7325 operating from a
+5V supply may not recognize a +3.3V nominal logic-
high. One solution for input-level translation is to drive
MAX7325 I/Os 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 Signal-Level Translation
The open-drain output architecture allows for level trans-
lation to higher or lower voltages than the MAX7325’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 condi-
tion. 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 push-pull output ports has protection
diodes to V+ and GND. When a port output is driven to
a voltage higher than V+ or lower than GND, the appro-
priate protection diode clamps the output to a diode
drop above V+ or below GND. When the MAX7325 is
powered down (V+ = 0V), every output port’s protection
SCL
SDA
SLAVE ADDRESS
S0
12345678
AAA
DATA 1 DATA 2
DATA TO INTERRUPT MASK DATA TO INTERRUPT MASK
START CONDITION R/W ACKNOWLEDGE
FROM SLAVE
t
PV
DATA 2 VALIDDATA 1 VALID
INTERNAL WRITE
TO PORT
DATA OUT
FROM PORT
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
t
PV
Figure 9. Writing to the MAX7325
MAX7325
I
2
C Port Expander with 8 Push-Pull
and 8 Open-Drain I/Os
15
Maxim Integrated
diodes to V+ and GND continue to appear as a diode
clamp from each output to GND (Figure 10).
Each of the I/O ports P0–P7 has a protection diode to
GND (Figure 11). When a port is driven to a voltage
lower than GND, the protection diode clamps the port
to a diode drop below GND.
Each of the I/O ports P0–P7 also has a 40k (typ)
pullup resistor that can be enabled or disabled. When a
port input 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
MAX7325 is powered down (V+ = 0V), each I/O port
appears as a 40k resistor in series with a diode con-
nected to 0V. Input ports are protected to +6V under
any of these circumstances (Figure 11).
Driving LED Loads
When driving LEDs from one of the outputs, a resistor
must be fitted in series with the LED to limit the LED
current to no more than 20mA. Connect the LED cath-
ode to the MAX7325 port, and the LED anode to V+
through the series current-limiting resistor, R
LED
. Set
the port output low to illuminate the LED. Choose the
resistor value according to the following formula:
R
LED
= (V
SUPPLY
- V
LED
- V
OL
) / I
LED
where:
R
LED
is the resistance of the resistor in series with the
LED ().
V
SUPPLY
is the supply voltage used to drive the LED
(V).
V
LED
is the forward voltage of the LED (V).
V
OL
is the output low voltage of the MAX7325 when
sinking I
LED
(V).
I
LED
is the desired operating current of the LED (A).
For example, to operate a 2.2V red LED at 10mA from a
+5V supply:
R
LED
= (5 - 2.2 - 0.1) / 0.01 = 270
Driving Load Currents Higher than 20mA
The MAX7325 can be used to drive loads, such as relays
that draw more than 20mA, by paralleling outputs. Use at
least one output per 20mA of load current; for example, a
5V 330mW relay draws 66mA, and therefore, requires
four paralleled outputs. Any combination of outputs can
be used as part of a load-sharing design because any
combination of ports can be set or cleared at the same
time by writing to the MAX7325. Do not exceed a total
sink current of 100mA for the device.
The MAX7325 must be protected from the negative-
voltage transient generated when switching off induc-
tive loads (such as relays), by connecting a
reverse-biased diode across the inductive load.
Choose the peak current for the diode to be greater
than the inductive load’s operating current.
Power-Supply Considerations
The MAX7325 operates with a supply voltage of +1.71V
to +5.5V. Bypass the supply to GND with a ceramic
capacitor of at least 0.047µF as close as possible to the
device. For the TQFN version, additionally connect the
exposed pad to GND.
P0–P7
PULLUP
ENABLE
INPUT
OUTPUT
40k
MAX7325
V+
V+
Figure 11. MAX7325 Open-Drain I/O Port Structure
OUTPUT
V+
GNDGND
V+
O8–O15
MAX7325
Figure 10. MAX7325 Push-Pull Output Port Structure

MAX7325AEG+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Interface - I/O Expanders I2C Port Expander w/8 P-P Out & 8 I/O
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet