MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
________________________________________________________________ Maxim Integrated Products 1
19-2698; Rev 3; 2/05
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
General Description
The MAX7310 provides 8-bit parallel input/output port
expansion for SMBus™-compatible and I2C-compatible
applications. The MAX7310 consists of an input port
register, an output port register, a polarity inversion reg-
ister, a configuration register, a bus timeout register,
and an SMBus/I2C-compatible serial interface. The sys-
tem master can invert the MAX7310 input data by writ-
ing to the active-high polarity inversion register. The
system master can enable or disable bus timeout by
writing to the bus timeout register.
Any of the eight I/O ports may be configured as input or
output. An active-low reset input sets the eight I/Os as
inputs. Three address select pins configure one of 56
slave ID addresses.
The MAX7310 is available in 16-pin thin QFN, TSSOP,
and QSOP packages and is specified over the -40°C to
+125°C automotive temperature range.
Applications
Servers
RAID Systems
Industrial Control
Medical Equipment
Instrumentation, Test Measurement
Features
400kHz 2-Wire Interface
2.3V to 5.5V Operation
Low Standby Current (1.7µA typ)
Bus Timeout for Lock-Up-Free Operation
56 Slave ID Addresses
Polarity Inversion
Eight I/O Pins that Default to Inputs on Power-Up
5V Tolerant Open-Drain Output on I/O0
4mm x 4mm, 0.8mm Thin QFN Package
-40°C to +125°C Operation
Ordering Information
PART
TEMP RANGE
PIN-
PACKAGE
PKG
CODE
MAX7310AUE
-40°C to +125°C
16 TSSOP
MAX7310AEE
-40°C to +125°C
16 QSOP
MAX7310ATE
-40°C to +125°C
16 Thin QFN
T1644-4
16
15
14
13
12
11
10
9
1
2
3
4
5
6
7
8
TOP VIEW
TSSOP/QSOP
SCL
SDA
AD0
AD1
AD2
I/O0
I/O1
GND
V+
RESET
I/O7
I/O6
I/O5
I/O4
I/O3
I/O2
THIN QFN
I/O4
12
13
14
15
16
8
7
6
5
11 10 9
1234
I/O7
I/O6
I/O5
I/O3
I/O2
GND
I/O1
V+
SCL
SDA
AD0
AD1
AD2
I/O0
RESET
MAX7310ATE
MAX7310
Pin Configurations
SMBus is a trademark of Intel Corp.
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
2 _______________________________________________________________________________________
ABSOLUTE MAXIMUM RATINGS
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
V+ to GND ................................................................-0.3V to +6V
I/O1–I/O7 as an Input.......................(VSS - 0.3V) to (VDD + 0.3V)
I/O0 as an Input..............................................(VSS - 0.3V) to +6V
SCL, SDA, AD0, AD1, AD2, RESET ...............(VSS - 0.3V) to +6V
DC Current on I/O0 ........................................................ +400µA
DC Current on I/O1 to I/O7 ............................................. ±50mA
Maximum GND and V+ Current........................................180mA
Continuous Power Dissipation (TA= +70°C)
16-Pin TSSOP (derate 5.7mW/°C above +70°C) .........457mW
16-Pin QSOP (derate 8.3mW/°C above +70°C)...........667mW
16-Pin Thin QFN (derate 16.9mW/°C above +70°C) ...1349mW
Operating Temperature Range .........................-40°C to +125°C
Junction Temperature......................................................+150°C
Storage Temperature Range .............................-65°C to +150°C
Lead Temperature (soldering, 10s) .................................+300°C
DC ELECTRICAL CHARACTERISTICS
(V+ = 2.3V to 5.5V, GND = 0, RESET = V+, TA= -40°C to +125°C, unless otherwise noted. Typical values are at V+ = 3.3V, TA= +25°C.)
(Note 1)
PARAMETER SYM B O L CONDITIONS MIN TYP MAX UNITS
Supply Voltage V+ 2.3 5.5 V
V+ = 2.3V 19 30
V+ = 3.3V 29 40Supply Current I+
All outputs floating,
all inputs at V+ or GND,
fSCL = 400kHz V+ = 5.5V 65 80
µA
V+ = 2.3V 1.5 3.4
V+ = 3.3V 1.7 3.9Standby Current
All outputs floating,
all inputs at V+ or GND,
fSCL = 0 V+ = 5.5V 2.1 5
µA
Power-On Reset Voltage 1.6 2.1 V
SCL, SDA
Input Voltage Low VIL 0.8 V
Input Voltage High VIH 2V
Low-Level Output Voltage VOIL ISINK = 6mA 0.4 V
Leakage Current IL-1 +1 µA
Input Capacitance CI10 pF
I/Os
Input Voltage Low VIL 0.8 V
Input Voltage High VIH 2V
Input Leakage Current ILAll inputs at V+ or GND -1 +1 µA
V+ = 2.3V, VOL = 0.5V 8 14
V+ = 3.3V, VOL = 0.5V 12.5 22
Low-Level Output Current IOL
V+ = 5.5V, VOL = 0.5V 19 30
mA
V+ = 3.3V, VOH = 2.4V 6.5 11
High Output Current for I/O1–I/O7 IOH V+ = 5.5V, VOH = 4.5V 12.5 18 mA
AD0, AD1, AD2, AND RESET
Input Voltage Low 0.8 V
Input Voltage High 2V
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
_______________________________________________________________________________________ 3
Note 1: All parameters are 100% production tested at TA= +25°C. Specifications over temperature are guaranteed by design.
Note 2: Minimum SCL clock frequency is limited by the MAX7310 bus timeout feature, which resets the serial bus interface if either
SDA or SCL is held low for a 30ms minimum.
Note 3: A master device must internally provide a hold time of at least 300ns for the SDA signal (referred to the VIL of the SCL signal) in
order to bridge the undefined region of SCL’s falling edge.
Note 4: tFmeasured between 90% to 10% of V+.
Note 5: Input filters on the SDA and SCL inputs suppress noise spikes less than 50ns.
DC ELECTRICAL CHARACTERISTICS (continued)
(V+ = 2.3V to 5.5V, GND = 0, RESET = V+, TA= -40°C to +125°C, unless otherwise noted. Typical values are at V+ = 3.3V, TA= +25°C.)
(Note 1)
PARAMETER SYM B O L CONDITIONS MIN TYP MAX UNITS
Leakage Current -1 +1 µA
Input Capacitance 10 pF
AC ELECTRICAL CHARACTERISTICS
(V+ = 2.3V to 5.5V, GND = 0, RESET = V+, TA = -40°C to +125°C, unless otherwise noted.) (Note 1)
PARAMETER SYM B O L CONDITIONS MIN TYP MAX UNITS
SCL Clock Frequency fSCL (Note 2) 400 kHz
BUS Timeout tTIMEOUT 30 60 ms
Bus Free Time Between STOP
and START Condition tBUF Figure 2 1.3 µs
Hold Time (Repeated) START
Condition tHD
,
STA Figure 2 0.6 µs
Repeated START Condition Setup
Time tSU
,
STA Figure 2 0.6 µs
STOP Condition Setup Time tSU
,
STO Figure 2 0.6 µs
Data Hold Time tHD
,
DAT Figure 2 (Note 3) 0.9 µs
Data Setup Time tSU
,
DAT Figure 2 0.1 µs
SCL Low Period tLOW Figure 2 1.3 µs
SCL High Period tHIGH Figure 2 0.7 µs
SCL/SDA Fall Time (Transmitting) tFFigure 2 (Note 4) 250 ns
Pulse Width of Spike Supressed tSP (Note 5) 50 ns
PORT TIMING
Output Data Valid tPV Figure 9 1 µs
Input Data Setup Time tPS Figure 10 29 µs
Input Data Hold Time tPH Figure 10 0 µs
RESET
Reset Pulse Width 100 ns
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
4 _______________________________________________________________________________________
Typical Operating Characteristics
(TA = +25°C, unless otherwise noted.)
Detailed Description
The MAX7310 general-purpose input/output (GPIO)
peripheral provides up to eight I/O ports, controlled
through an I2C-compatible serial interface. The
MAX7310 consists of an input port register, an output
port register, a polarity inversion register, a configura-
tion register, and a bus timeout register. An active-low
reset input sets the eight I/O lines as inputs. Three
slave ID address select pins (AD0, AD1, and AD2)
choose one of 56 slave ID addresses (Figure 1).
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
_______________________________________________________________________________________________________ 5
Pin Description
PIN
TSSOP/
QSOP
THIN
QFN NAME FUNCTION
1 15 SCL Serial Clock Line
2 16 SDA Serial Data Line
3 1 AD0 Address Input 0
4 2 AD1 Address Input 1
5 3 AD2 Address Input 2
6 4 I/O0 Input/Output Port 0 (Open Drain)
7 5 I/O1 Input/Output Port 1
8 6 GND Supply Ground
9–14 7–12 I/O2–I/O7 Input/Output Port 2—Input/Output Port 7
15 13 RESET External Reset (Active Low). Pull RESET low to configure I/O pins as inputs. Set RESET
high for normal operation.
16 14 V+ Supply Voltage. Bypass with a 0.047µF capacitor to GND.
PAD Exposed
pad Exposed Pad on Package Underside. Connect to GND.
Figure 1. MAX7310 Block Diagram
AD0
AD1
AD2
SCL
SDA
SMBus
CONTROL
INPUT
FILTER
POWER-ON
RESET
RESET
GND
V+
INPUT/
OUTPUT
PORTS
WRITE PULSE
READ PULSE
I/O0
I/O1
I/O2
I/O3
I/O4
I/O5
I/O6
I/O7
8 BIT
N
MAX7310
MAX7310
Table 1 is the register address table. Tables 2–6 list
register 0 through register 4 information.
Serial Interface
Serial Addressing
The MAX7310 operates as a slave that sends and
receives data through a 2-wire interface. The interface
uses a serial data line (SDA) and a serial clock line
(SCL) to achieve bidirectional communication between
master(s) and slave(s). A master, typically a microcon-
troller, initiates all data transfers to and from the
MAX7310, and generates the SCL clock that synchro-
nizes the data transfer (Figure 2).
Each transmission consists of a start condition sent by
a master, followed by the MAX7310 7-bit slave address
plus an R/Wbit, a register address byte, one or more
data bytes, and finally a stop condition (Figure 3).
Start and Stop Conditions
Both SCL and SDA remain high when the interface is
not busy. A master signals the beginning of a transmis-
sion with a start (S) condition by transitioning SDA from
high to low while SCL is high. When the master has fin-
ished communicating with the slave, it issues a stop (P)
condition by transitioning SDA from low to high while
SCL is high. The bus is then free for another transmis-
sion (Figure 3).
Bit Transfer
One data bit is transferred during each clock pulse.
The data on SDA must remain stable while SCL is high
(Figure 4).
Acknowledge
The acknowledge bit is a clocked 9th bit, which the
recipient uses as a handshake receipt of each byte of
data (Figure 5). Thus, each byte transferred effectively
requires 9 bits. The master generates the 9th clock
pulse, and the recipient pulls down SDA during the
acknowledge clock pulse, such that the SDA line is sta-
ble low during the high period of the clock pulse. When
the master is transmitting to the MAX7310, the
MAX7310 generates the acknowledge bit since the
MAX7310 is the recipient. When the MAX7310 is trans-
mitting to the master, the master generates the
acknowledge bit.
Slave Address
The MAX7310 has a 7-bit-long slave address (Figure
6). The 8th bit following the 7-bit slave address is the
R/Wbit. Set this bit low for a write command and high
for a read command.
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
6 _______________________________________________________________________________________
Figure 2. 2-Wire Serial Interface Timing Diagrams
SCL
SDA
START CONDITIONSTOP CONDITION
REPEATED START CONDITION
START CONDITION
tSU, DAT
tHD, DAT
tLOW
tHD, STA
tHIGH
tRtF
tSU, STA
tHD, STA
tSU, STO
tBUF
Figure 3. Start and Stop Conditions
SDA
SCL S
START
CONDITION
P
STOP
CONDITION
The first bits (MSBs) of the MAX7310 slave address are
always zero. Slave address bits AD2, AD1, and AD0
choose 1 of 56 slave ID addresses (Table 7).
Registers
The register address byte is the first byte to follow the
address byte during a read/write transmission. The reg-
ister address byte acts as a pointer to determine which
register is written or read.
The input port register is a read-only port. It reflects the
incoming logic levels of the I/O ports, regardless of
whether the pin is defined as an input or an output by
the configuration register. Writes to the input port regis-
ter are ignored.
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
_______________________________________________________________________________________ 7
SDA
SCL
DATA LINE STABLE; DATA VALID CHANGE OF DATA ALLOWED
Figure 4. Bit Transfer
Figure 6. Slave Address
SCL
SDA 0 A2 A1 A0 ACK
MSB LSB
FIXED PROGRAMMABLE
A5 A4 A3 R/W
SCL
SDA
BY TRANSMITTER
CLOCK PULSE FOR ACKNOWLEDGMENT
START CONDITION
SDA
BY RECEIVER
12 89
S
Figure 5. Acknowledge
MAX7310
The output port register sets the outgoing logic levels of
the I/O ports, defined as outputs by the configuration
register. Reads from the output port register reflect the
value that is in the flip-flop controlling the output selec-
tion, not the actual I/O value, which may differ if the out-
put is overloaded.
The polarity inversion register enables polarity inversion
of ports defined as inputs by the configuration register.
Set the bit in the polarity inversion register (write with a
1) to invert the corresponding port pin’s polarity. Clear
the bit in the polarity inversion register (write with a
zero) to retain the corresponding port pin’s original
polarity.
The configuration register configures the directions of
the ports. Set the bit in the configuration register to
enable the corresponding port pin as an input with a
high-impedance output driver. Clear the bit in the con-
figuration register to enable the corresponding port pin
as an output.
Set bit T0 to enable the bus timeout function and low to
disable the bus timeout function. Enabling the timeout
feature resets the serial bus interface when SCL stops
either high or low during a read or write access to the
MAX7310. If either SCL or SDA is low for more than
30ms min and 60ms max after the start of a valid serial
transfer, the interface resets itself. Resetting the serial
bus interface sets up SDA as an input. The MAX7310
then waits for another start condition.
Standby
The MAX7310 goes into standby when all pins are set
to V+ or GND. Standby supply current is typically
1.7µA.
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
8 _______________________________________________________________________________________
Table 3. Register 1—Output Port Register
BIT O7 O6 O5 O4 O3 O2 O1 O0
Default 0 0 0 0 0 0 0 0
Table 4. Register 2—Polarity Inversion Register
BIT I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 I/O0
Default 1 1 1 10000
Table 5. Register 3—Configuration Register
BIT I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 I/O0
Default 1 1 1 11111
Table 6. Register 4—Timeout Register
BIT T7 T6 T5 T4 T3 T2 T1 T0
Default x x x x x x x 1
Table 1. Register Address
REGISTER
ADDRESS
(hex)
FUNCTION PROTOCOL
0x00 Input port register Read byte.
0x01 Output port register Read/write byte.
0x02 Polarity inversion
register Read/write byte.
0x03 Configuration
register Read/write byte.
0x04 Timeout register Read/write byte.
0xFF Reserved register
Factory reserved.
Do not write to this
register.
Table 2. Register 0—Input Port Register
BIT I7 I6 I5 I4 I3 I2 I1 I0
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
_______________________________________________________________________________________ 9
Table 7. MAX7310 Address Map
AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0
GNDSCLGND0001000
GNDSCLV+0001001
GNDSDAGND0001010
GNDSDAV+0001011
V+SCLGND0001100
V+SCLV+0001101
V+SDAGND0001110
V+SDAV+0001111
GNDGNDSCL0010000
GNDGNDSDA0010001
GNDV+SCL0010010
GNDV+SDA0010011
V+GNDSCL0010100
V+GNDSDA0010101
V+V+SCL0010110
V+V+SDA0010111
GND GND GND 0 0 1 1 0 0 0
GNDGNDV+0011001
GNDV+GND0011010
GNDV+V+0011011
V+GNDGND0011100
V+GNDV+0011101
V+V+GND0011110
V+V+V+0011111
SCL SCL SCL 0 1 0 0 0 0 0
SCLSCLSDA0100001
SCLSDASCL0100010
SCLSDASDA0100011
SDASCLSCL0100100
SDASCLSDA0100101
SDASDASCL0100110
SDA SDA SDA 0 1 0 0 1 1 1
SCLSCLGND0101000
SCLSCLV+0101001
SCLSDAGND0101010
SCLSDAV+0101011
SDASCLGND0101100
SDASCLV+0101101
SDASDAGND0101110
SDASDAV+0101111
MAX7310
Applications Information
Power-Supply Consideration
The MAX7310 operates from a supply voltage of 2.3V to
5.5V. Bypass the power supply to GND with a 0.047µF
capacitor as close to the device as possible. For the
QFN version, connect the underside exposed pad to
GND.
Chip Information
TRANSISTOR COUNT: 10,256
PROCESS: BiCMOS
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
10 ______________________________________________________________________________________
Table 7. MAX7310 Address Map (continued)
AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0
SCLGNDSCL0110000
SCLGNDSDA0110001
SCLV+SCL0110010
SCLV+SDA0110011
SDAGNDSCL0110100
SDAGNDSDA0110101
SDAV+SCL0110110
SDAV+SDA0110111
SCLGNDGND0111000
SCLGNDV+0111001
SCLV+GND0111010
SCLV+V+0111011
SDAGNDGND0111100
SDAGNDV+0111101
SDAV+GND0111110
SDAV+V+0111111
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
______________________________________________________________________________________ 11
OUTPUT
PORT
REGISTER INPUT
PORT
REGISTER
POLARITY
INVERSION
REGISTER
CONFIGURATION
REGISTER
DATA FROM
SHIFT REGISTER
DATA FROM
SHIFT REGISTER
DATA FROM
SHIFT REGISTER
WRITE PULSE
READ PULSE
ESD-PROTECTION DIODE
I/O0
OUTPUT PORT
REGISTER DATA
INPUT PORT
REGISTER DATA
POLARITY
REGISTER DATA
GND
WRITE
CONFIGURATION
PULSE
WRITE POLARITY
PULSE
D
FF
CK
Q
Q
D
FF
CK
Q
Q
D
FF
CK
Q
Q
D
FF
CK
Q
Q
Figure 7. Simplified Schematic of I/O0
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
12 ______________________________________________________________________________________
OUTPUT
PORT
REGISTER INPUT
PORT
REGISTER
POLARITY
INVERSION
REGISTER
CONFIGURATION
REGISTER
DATA FROM
SHIFT REGISTER
DATA FROM
SHIFT REGISTER
DATA FROM
SHIFT REGISTER
WRITE PULSE
READ PULSE
ESD-PROTECTION DIODE
ESD-PROTECTION DIODE
I/O1 TO I/O7
OUTPUT PORT
REGISTER DATA
INPUT PORT
REGISTER DATA
POLARITY
REGISTER DATA
GND
V+
WRITE
CONFIGURATION
PULSE
WRITE POLARITY
PULSE
D
FF
CK
Q
Q
D
FF
CK
Q
Q
D
FF
CK
Q
Q
D
FF
CK
Q
Q
Figure 8. Simplified Schematic of I/O1–I/O7
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
______________________________________________________________________________________ 13
13245 867
SAAA
0A5A4A3A2A1A0 DATA 1
SLAVE ADDRESS DATA TO PORT
START CONDITION ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
tPV
DATA 1 VALID
9
10 000
COMMAND BYTE
P
DATA OUT
FROM PORT
WRITE TO
PORT
SDA
SCL
000 0
R/W
Figure 9. Write to Output Port Register Through Write-Byte Protocol
S1 A A0 A2 A1 A0 DATA 4
SLAVE ADDRESS DATA FROM PORT
START CONDITION
NOTE 1: THIS FIGURE ASSUMES THE COMMAND HAS PREVIOUSLY BEEN PROGRAMMED WITH 0x00.
NOTE 2: TRANSFER OF DATA CAN BE STOPPED AT ANY MOMENT BY A STOP CONDITION. WHEN THIS OCCURS,
DATA PRESENT AT THE LAST ACKNOWLEDGED PHASE IS VALID (OUTPUT MODE). INPUT DATA IS LOST.
R/W ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM MASTER
STOP
CONDITION
DATA 1
DATA FROM PORT
P
tPS
tPH
DATA 4DATA 3DATA 2
DATA INTO
PORT
WRITE FROM
PORT
SDA NA
NO ACKNOWLEDGE
FROM MASTER
A5 A4 A3 1
Figure 10. Read Input Port Register Through Receive-Byte Protocol
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
14 ______________________________________________________________________________________
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
24L QFN THIN.EPS
C
1
2
21-0139
PACKAGE OUTLINE
12, 16, 20, 24L THIN QFN, 4x4x0.8mm
C
2
2
21-0139
PACKAGE OUTLINE
12, 16, 20, 24L THIN QFN, 4x4x0.8mm
MAX7310
2-Wire-Interfaced 8-Bit I/O Port Expander
with Reset
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 15
© 2005 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc.
TSSOP4.40mm.EPS
QSOP.EPS
E
1
1
21-0055
PACKAGE OUTLINE, QSOP .150", .025" LEAD PITCH
Package Information (continued)
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)