MAX7302
SMBus/I
2
C Interfaced 9-Port,
Level-Translating GPIO and LED Driver with CLA
10 ______________________________________________________________________________________
Slave Address
The MAX7302 is set to one of four I
2
C slave addresses,
using the address input AD0 (see Table 5) and is
accessed over an I
2
C or SMBus serial interface up to
400kHz. The MAX7302 slave address is determined on
each I
2
C transmission, regardless of whether or not the
transmission is actually addressing the device. The
MAX7302 distinguishes whether address input AD0 is
connected to SDA, SCL, V
DD
, or GND during the trans-
mission. Therefore, the MAX7302 slave address can be
configured dynamically in an application without tog-
gling the device supply.
I/O Port Registers
The port I/O registers set the I/O ports, one register per
port (see Tables 6 and 7). Ports can be independently
configured as inputs or outputs (D7), push-pull or open
drain (D6). Port P1 can only be configured as an input or
an open-drain output. The push-pull bit (D6) setting for
the port I/O register P1 is ignored.
I/O Input Port
Configure a port as an input by writing a logic-high to
the MSB (bit D7) of the port I/O register (see Table 6).
See Figure 1 for input port structure. To obtain the logic
level of the port input, read the port I/O register bit, D0.
This readback value is the instantaneous logic level at
the time of the read request if debounce is disabled for
the port (port I/O register bit D2 = 0), or the debounced
result if debounce is enabled for the port (port I/O reg-
ister bit D2 = 1).
I/O Output Port
Configure a port as an output by writing a logic-low to the
MSB (bit D7) of the port I/O register. See Figures 2 and 3
for output port structure. The device reads back the logic
level, PWM, or the blink setting of the port (see Table 7).
The MAX7302 monitors the logic level of ports configured
as CLA outputs (see the Configurable Logic Array (CLA)
section).
Port Supplies and Level Translation
The port supply, V
LA
, provides the logic supplies to all
push-pull I/O ports. Ports P2–P9 can be configured as
push-pull I/O ports (see Figure 3). V
LA
powers the logic-
high port output voltage sourcing the logic-high port load
current. V
LA
provides level translation capability for the
outputs and operates over a 1.62V to 5.5V voltage inde-
pendent of the MAX7302 power-supply voltage, V
DD
.
Each port set as an input can be configured to switch
midrail of either the V
DD
or the V
LA
port supplies.
Whenever the port supply reference is changed from V
DD
to V
LA
, or vice versa, read the port register to clear any
transition flag on the port.
REGISTER BIT DESCRIPTION
VALUE
FUNCTION
D7 Port I/O set bit 1 Sets the I/O port as an input.
0 Refers the input to the V
LA
supply voltage.
D6
Port supply
reference
1 Refers the input to the V
DD
supply voltage.
0 Disables the transition interrupt.
D5
Transition interrupt
enable
1 Enables the transition interrupt.
D4, D3 Reserved bits 0 Do not write to these registers.
0 Disables debouncing of the input port.
D2 Debounce
1 Enables debouncing of the input port.
0 No transition has occurred since the last port read.
D1
Port transition state
(read only)
1 A transition has occurred since the last port read.
0 Port input is logic-low.
D0
Port status
(read only)
1 Port input is logic-high.
Table 6. Port I/O Registers (I/O Port Set as an Input, Registers 0x01/0x41 to 0x09/049)
AD0
CONNECTION
A6 A5 A4 A3 A2 A1 A0
R
W
1GND
V
DD
SCL
SDA
001100
1001101
1001110
1001111
0
1
0
1
0
1
0
1
DEVICE ADDRESS
Table 5. Slave Address Selection
MAX7302
SMBus/I
2
C Interfaced 9-Port,
Level-Translating GPIO and LED Driver with CLA
______________________________________________________________________________________ 11
DEBOUNCE LOGIC
TRANSITION
DETECTION
TRANSITION
DETECTION
I/O
PORT_ [4:3]
0
1
PORT_ [2]
(DEBOUNCE)
INTERRUPT
LOGIC
INT
INT2
INT9
INT
PORT_ [5]
INTERRUPT
ENABLE
PORT_ [0]
(PORTIN)
PORT_ [6]
(THRESHOLD
SELECT)
V
DD
V
LA
Figure 1. Input Port Structure
REGISTER BIT DESCRIPTION
VALUE
FUNCTION
D7 Port I/O set bit 0 Sets the I/O port as an output.
0 Sets the output type to open drain.
D6
Output port set to
push-pull
or open drain
1 Sets the output type to push-pull.
0 Sets the output to PWM mode.
D5
PWM/blink enable
1 Sets the output to blink mode.
D4 Duty-cycle bit 4 0/1 MSB of the 5-bit duty-cycle setting. See Tables 9 and 11.
D3 Duty-cycle bit 3 0/1 Bit 3 of the 5-bit duty-cycle setting. See Tables 9 and 11.
D2 Duty-cycle bit 2 0/1 Bit 2 of the 5-bit duty-cycle setting. See Tables 9 and 11.
D1 Duty-cycle bit 1 0/1 Bit 1 of the 5-bit duty-cycle setting. See Tables 9 and 11.
D0 Duty-cycle bit 0 0/1 LSB of the 5-bit duty-cycle setting. See Tables 9 and 11.
Table 7. Port I/O Registers (I/O Port Set as an Output, Registers 0x01 to 0x09)
MAX7302
SMBus/I
2
C Interfaced 9-Port,
Level-Translating GPIO and LED Driver with CLA
12 ______________________________________________________________________________________
Ports P2–P9 are overvoltage protected to V
LA
. This is true
even for a port used as an input with a V
DD
port logic-
input threshold. Port P1 is overvoltage protected to 5.5V,
independent of V
DD
and V
LA
(see Figure 3). To mix logic
outputs with more than one voltage swing on a group of
ports using the same port supply, set the port supply volt-
age (V
LA
) to be the highest output voltage. Use push-pull
outputs and port P1 for the highest voltage ports, and use
open-drain outputs with external pullup resistors for the
lower voltage ports. When P2–P9 are acting as inputs ref-
erenced to V
DD
, make sure the V
LA
voltage is greater
than V
DD
- 0.3V.
Port Lock Registers
Use the port lock registers to lock any combination of
port I/O register functionality (see Table 8). The port
lock registers are unlocked on power-up or by configur-
ing the RSTPOR bit to reset to POR value. The bits in
the port lock register can only be written to once. After
setting a bit to logic-high, the bit can only be cleared
by powering off the device.
When a bit position in the port lock register is set, the
corresponding port I/O registers cannot change. When a
port I/O register is locked as an output, none of its output
register settings can change. When a port I/O register is
locked as an input, only bits D0 and D1 can change, and
the locked input behaviour options, such as debounce
and transition detection, operate as normal.
Input Debounce
The MAX7302 samples the input ports every 31ms if
input debouncing is enabled for an input port (D2 = 1
of the port I/O register). The MAX7302 compares each
new sample with the previous sample. If the new sam-
ple and the previous sample have the same value, the
corresponding internal register updates.
When the port input is read through the serial interface,
the MAX7302 does not return the instantaneous value
of the logic level from the port because debounce is
active. Instead, the MAX7302 returns the stored
debounced input signal.
SELECT
V+ V
LA
INPUT
PORT P1
OUTPUT
P1 P2–P9
SELECT
V+ V
LA
INPUT
PORT
P2–P9
OUTPUT
Figure 3. Port I/O Structure
I/O
PORT_ [5]
0
1
CLOCK
5-BIT PWM
4-BIT BLINK3-BIT PRESCALER
PORT_ [3:0]
PORT_ [4:0]
CONFIG26 [4:2]
Figure 2. Output Port Structure

MAX7302ATE+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Interface - I/O Expanders 9-Port Level-Trans GPIO & LED Driver
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union