MAX7325
I
2
C Port Expander with 8 Push-Pull
and 8 Open-Drain I/Os
7
Maxim Integrated
The open-drain ports offer latching transition detection
when used as inputs. All input ports are continuously
monitored for changes. An input change sets one of 8
flag bits that identify changed input(s). All flags are
cleared upon a subsequent read or write transaction to
the MAX7325.
A latching interrupt output, INT, is programmed to flag
logic changes on ports used as inputs. Data changes
on any input port forces INT to a logic-low. Changing
the I/O port level through the serial interface does not
cause an interrupt. The interrupt output INT is deassert-
ed when the MAX7325 is next accessed through the
serial interface.
Internal pullup resistors to V+ are selected by the
address select inputs, AD0 and AD2. Pullups are
enabled on the input ports in groups of four (see Table 2).
Use the slave address selection to ensure that I/O ports
used as inputs are logic-high on power-up. I/O ports
with internal pullups enabled default to a logic-high out-
put state. I/O ports with internal pullups disabled
default to a logic-low output state.
Output port power-up logic levels are selected by the
address select inputs, AD0 and AD2. Ports default to
logic-high or logic-low on power-up in groups of four
(see Tables 2 and 3).
Initial Power-Up
On power-up, the transition detection logic is reset, and
INT is deasserted. The transition flags are cleared to indi-
cate no data changes. The power-up default states of the
16 I/O ports are set according to the I
2
C slave address
selection inputs, AD0 and AD2 (Tables 2 and 3). For I/O
ports used as inputs, ensure that the default states are
logic-high so that the I/O ports power up in the high-
impedance state. All I/O ports configured with pullups
enabled also have a logic-high power-up state.
Power-On Reset
The MAX7325 contains an integral power-on-reset
(POR) circuit that ensures all registers are reset to a
known state on power-up. When V+ rises above V
POR
(1.6V max), the POR circuit releases the registers and
2-wire interface for normal operation. When V+ drops to
less than V
POR
, the MAX7325 resets all register con-
tents to the POR defaults (Tables 2 and 3).
RST
Input
The active-low RST input voids any I
2
C transaction
involving the MAX7325, forcing the MAX7325 into the
I
2
C STOP condition. A reset does not affect the inter-
rupt output (INT).
Standby Mode
When the serial interface is idle, the MAX7325 automatical-
ly enters standby mode, drawing minimal supply current.
Slave Address, Power-Up Default Logic
Levels, and Input Pullup Selection
Address inputs AD0 and AD2 determine the MAX7325
slave address, set the power-up I/O state for the ports,
and select which inputs have pullup resistors. Internal
pullups and power-up default states are set in groups
of four (see Table 2).
The MAX7325 slave address is determined on each I
2
C
transmission, regardless of whether the transmission is
actually addressing the MAX7325. The MAX7325 distin-
guishes whether address inputs AD0 and AD2 are con-
nected to SDA or SCL instead of fixed logic levels V+
or GND during this transmission. The MAX7325 slave
address can be configured dynamically in the applica-
tion without cycling the device supply.
On initial power-up, the MAX7325 cannot decode the
address inputs AD0 and AD2 fully until the first I
2
C
transmission. AD0 and AD2 initially appear to be
PART
I
2
C
SLAVE
ADDRESS
INPUTS
INPUT
INTERRUPT
MASK
OPEN-
DRAIN
OUTPUTS
PUSH-
PULL
OUTPUTS
CONFIGURATION
MAX7323 110xxxx Up to 4 Up to 4 4
4 I/O, 4 output-only versions:
4 open-drain I/O ports with latching transition
detection interrupt and selectable pullups.
4 push-pull outputs with selectable power-up default
levels.
MAX7328
MAX7329
0100xxx
0111xxx
Up to 8 Up to 8
8 open-drain I/O ports with nonlatching transition
detection interrupt and pullups on all ports.
Table 1. MAX7319–MAX7329 Family Comparison (continued)
MAX7325
I
2
C Port Expander with 8 Push-Pull
and 8 Open-Drain I/Os
8
Maxim Integrated
connected to V+ or GND. This is important because the
address selection is used to determine the power-up
logic state and whether pullups are enabled. At power-
up, the I
2
C SDA and SCL bus interface lines are high
impedance at the inputs of every device (master or
slave) connected to the bus, including the MAX7325.
This is guaranteed as part of the I
2
C specification.
Therefore, when address inputs AD0 and AD2 are con-
nected to SDA or SCL during power-up, they appear to
be connected to V+.
The power-up logic uses AD0 to select the power-up
state and whether pullups are enabled for ports P0–P3,
and AD2 for ports P4–P7. The rule is that a logic-high,
SDA, or SCL connection selects the pullups and sets
the default logic state to high. A logic-low deselects the
pullups and sets the default logic state to low (Table 2).
The port configuration is correct on power-up for a
standard I
2
C configuration, where SDA or SCL are
pulled up to V+ by the external I
2
C pullup resistors.
There are circumstances where the assumption that
SDA = SCL = V+ on power-up is not true—for example,
in applications in which there is legitimate bus activity
during power-up. If SDA and SCL are terminated with
pullup resistors to a different supply voltage than the
MAX7325’s supply voltage, and if that pullup supply
rises later than the MAX7325’s supply, then SDA or
SCL may appear at power-up to be connected to GND.
In such applications, use the four address combina-
tions that are selected by connecting address inputs
AD0 and AD2 to V+ or GND (shown in bold in Tables 2
and 3). These selections are guaranteed to be correct
at power-up, independent of SDA and SCL behavior. If
one of the other 12 address combinations is used, an
unexpected combination of pullups might be asserted
until the first I
2
C transmission (to any device, not neces-
sarily the MAX7325) is put on the bus, and an unex-
pected combination of ports can initialize as logic-low
outputs instead of inputs or logic-high outputs.
PIN
CONNECTION
DEVICE ADDRESS PORT POWER-UP DEFAULT 40k INPUT PULLUPS ENABLED
AD2 AD0 A6A5A4A3A2A1A0P7P6P5P4P3P2P1P0P7P6P5P4P3P2P1P0
SCLGND110000011110000YYYY————
SCL V+ 110000111111111YYYYYYYY
SCL SCL110001011111111YYYYYYYY
SCL SDA110001111111111YYYYYYYY
SDAGND110010011110000YYYY————
SDA V+ 110010111111111YYYYYYYY
SDA SCL110011011111111YYYYYYYY
SDA SDA110011111111111YYYYYYYY
GNDGND110100000000000————————
GND V+ 110100100001111———— YYYY
GND SCL110101000001111———— YYYY
GNDSDA110101100001111———— YYYY
V+ GND110110011110000YYYY————
V+ V+ 110110111111111YYYYYYYY
V+ SCL110111011111111YYYYYYYY
V+ SDA110111111111111YYYYYYYY
Table 2. MAX7325 Address Map for Ports P0–P7
MAX7325
I
2
C Port Expander with 8 Push-Pull
and 8 Open-Drain I/Os
9
Maxim Integrated
PIN
C O NN EC TIO N
DEVICE ADDRESS OUTPUTS POWER-UP DEFAULT
AD2 AD0 A6 A5 A4 A3 A2 A1 A0 O15 O14 O13 O12 O11 O10 O9 O8
SCLGND101000011110000
SCLV+101000111111111
SCLSCL101001011111111
SCLSDA101001111111111
SDAGND101010011110000
SDAV+101010111111111
SDASCL101011011111111
SDASDA101011111111111
GNDGND101100000000000
GNDV+101100100001111
GNDSCL101101000001111
GNDSDA101101100001111
V+GND101110011110000
V+V+101110111111111
V+SCL101111011111111
V+SDA101111111111111
Table 3. MAX7325 Address Map for Outputs O8–O15
Port Inputs
I/O port inputs switch at the CMOS-logic levels as
determined by the expander’s supply voltage, and are
overvoltage tolerant to +6V, independent of the
expander’s supply voltage.
I/O Port Input Transition Detection
All I/O ports configured as inputs are monitored for
changes since the expander was last accessed through
the serial interface. The state of the ports is stored in an
internal “snapshot” register for transition monitoring. The
snapshot is continuously compared with the actual input
conditions, and if a change is detected for any port input,
INT is asserted to signal a state change. The input ports
are sampled (internally latched into the snapshot register)
and the old transition flags cleared during the I
2
C acknowl-
edge of every MAX7325 read and write access. The previ-
ous port transition flags are read through the serial
interface as the second byte of a 2-byte read sequence.

MAX7325ATG+

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