MAX7322
I
2
C Port Expander with
4 Push-Pull Outputs and 4 Inputs
______________________________________________________________________________________ 13
data is the current port data transmitted to the master,
so any input port changes occurring during the trans-
mission are detected. INT remains high until the STOP
condition.
Writing to the MAX7322
A write to the MAX7322 starts with the master transmit-
ting the MAX7322’s slave address with the R/W bit set
low. The MAX7322 acknowledges the slave address,
and samples the ports (takes a snapshot) during
acknowledge. INT deasserts during the slave acknowl-
edge. The master proceeds to transmit 1 or more bytes
of data. The MAX7322 acknowledges these subse-
quent bytes of data and updates the four output ports
and the 4-bit 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 MAX7322’s SDA, SCL, AD0, AD2, input RST, INT,
and input ports I2–I5 are overvoltage protected to +6V
independent of V+. This allows the MAX7322 to operate
from a lower supply voltage, such as +3.3V, while the
I
2
C interface and/or some of the four input ports are dri-
ven from a higher logic level, such as +5V.
The MAX7322 can operate from a higher supply volt-
age, such as +3V, while the I
2
C interface and/or some
of the four input ports I2–I5 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 exam-
ple, a MAX7322 operating from a +5V supply may not
recognize a +3.3V nominal logic-high. One solution for
input-level translation is to drive the MAX7322 inputs
from open-drain outputs. Use a pullup resistor to V+ or
a higher supply to ensure a high logic voltage of
greater than 0.7 x V+.
SCL
SDA
START CONDITION R/W ACKNOWLEDGE
FROM SLAVE
SLAVE ADDRESS
S0
12345678
AAA
t
PV
DATA 1 DATA 2
DATA 2 VALIDDATA 1 VALID
INTERNAL WRITE
TO PORT
DATA OUT
FROM PORT
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
t
PV
DATA TO INTERRUPT MASK DATA TO INTERRUPT MASK
S = START CONDITION
P = STOP CONDITION
SHADED = SLAVE TRANSMISSION
N = NOT ACKNOWLEDGE
Figure 8. Writing to the MAX7322
Port Structures
Each of the four output ports O0, O1, O6, and O7 has
protection diodes to V+ and to GND (Figure 9). When a
port output is driven to a voltage lower than GND, the
appropriate protection diode clamps the output to a
diode drop above V+ or below GND. When the
MAX7322 is powered down (V+ = 0), each output port
appears as a diode clamp to GND (Figure 9).
Each of the four input ports I2–I5 has a protection diode
to GND (Figure 10). When a port input is driven to a
voltage lower than GND, the protection diode will
clamp the input to a diode drop below GND.
Each of the four inputs ports I2–I5 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 MAX7322 is
powered down (V+ = 0), each input port appears as a
40kΩ pullup resistor in series with a diode connected to
zero. Input ports are protected to +6V under any of
these circumstances (Figure 10).
Driving LED Loads
When driving LEDs from one of the four output ports
O0, O1, O6, or O7, a resistor must be connected in
series with the LED to limit the LED current to no more
than 20mA. Connect the LED cathode to the MAX7322
port, and the LED anode to V+ through the series cur-
rent-limiting resistor, R
LED
. Set the port output low to
light 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 MAX7322 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.07) / 0.010 = 270Ω
Driving Load Currents Higher than 20mA
The MAX7322 can be used to drive loads, such as
relays, that draw more than 20mA by paralleling out-
puts. Use at least one output per 20mA of load current;
for example, a 5V 330mW relay draws 66mA, and
therefore, requires all four paralleled outputs. Any com-
bination of outputs can be used as part of a load-shar-
ing design, because any combination of ports can be
set or cleared at the same time by writing to the
MAX7322. Do not exceed a total sink current of 100mA
for the device.
The MAX7322 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 induc-
tive load’s operating current.
Power-Supply Considerations
The MAX7322 operates with a supply voltage of
+1.71V to +5.5V over the -40°C to +125°C temperature
range. Bypass the supply to GND with a ceramic
capacitor of at least 0.047µF as close to the device as
possible. For the TQFN version, additionally connect
the exposed pad to GND.
MAX7322
I
2
C Port Expander with
4 Push-Pull Outputs and 4 Inputs
14 ______________________________________________________________________________________
PORTS
I2–I5
PULLUP
ENABLE
INPUT
40kΩ
MAX7322
V+
V+
Figure 10. MAX7322 Input Port Structure
OUTPUT
V+V+
PORTS
O0, O1, O6, O7
MAX7322
Figure 9. MAX7322 Push-Pull Output Port Structure
MAX7322
I
2
C Port Expander with
4 Push-Pull Outputs and 4 Inputs
______________________________________________________________________________________ 15
TOP VIEW
16
15
14
13
12
11
10
9
1
2
3
4
5
6
7
8
AD0
V+
SDA
SCL
INT
O7
O6
I5
I4
MAX7322
QSOP
+
RST
AD2
I2
O0
O1
I3
GND
Pin Configurations (continued)
Chip Information
PROCESS: BiCMOS
MAX7322
I2
O7
O6
I5
I4
V+
3.3V
μC
SCL
SDA
SCL
AD0
O1
O0
SDA
I3
GND
INPUT
INPUT
AD2
INT
OUTPUT
OUTPUT
OUTPUT
OUTPUT
INPUT
INPUT
RST
INT
RST
0.047μF
Typical Application Circuit
I
2
C
CONTROL
O7
I4
I5
O6
I3
I2
O1
O0
INT
I/O
PORTS
POWER-
ON RESET
INPUT
FILTER
RST
SDA
SCL
AD2
AD0
MAX7322
Functional Diagram

MAX7322ATE+T

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

Products related to this Datasheet