MAXIM MAX7318 User Manual

Page 1
现货库存、技术资料、百科信息、热点资讯,精彩尽在鼎好!
General Description
The MAX7318 2-wire-interfaced expander provides 16­bit parallel input/output (I/O) port expansion for SMBus™ and I2C™ applications. The MAX7318 con­sists of input port registers, output port registers, polari­ty inversion registers, configuration registers, a bus timeout register, and an I2C-compatible serial interface logic compatible with SMBus. The system master can invert the MAX7318 input data by writing to the active­high polarity inversion register.
Any of the 16 I/O ports can be configured as an input or output. A power-on reset (POR) initializes the 16 I/Os as inputs. Three address select pins configure one of 64 slave ID addresses.
The MAX7318 supports hot insertion. All port pins, the INT output, SDA, SCL, and the slave address inputs AD0–2 remain high impedance in power-down (V+ = 0V) with up to 6V asserted upon them.
The MAX7318 is available in 24-pin SO, SSOP, TSSOP, and thin QFN packages and is specified over the -40°C to +125°C automotive temperature range.
For applications requiring an SMBus timeout function, refer to the MAX7311 data sheet.
Applications
Servers RAID Systems Industrial Control Medical Equipment PLCs Instrumentation and Test Measurement
Features
400kbps I2C-Compatible Serial Interface
2V to 5.5V Operation
5.5V Overvoltage-Tolerant I/Os
Supports Hot Insertion
16 I/O Pins that Default to Inputs on Power-Up
100kPullup on Each I/OOpen-Drain Interrupt Output (INT)
Noise Filter on SCL/SDA Inputs
64 Slave ID Addresses Available
Low Standby Current (5.4µA typ)
Polarity Inversion
4mm
4mm, 0.8mm Thin QFN Package
-40°C to +125°C Operation
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
________________________________________________________________ Maxim Integrated Products 1
Ordering Information
19-3381; Rev 2; 4/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.
SMBus is a trademark of Intel Corp.
I
2
C is a trademark of Philips Corp.
Purchase of I
2
C components from Maxim Integrated Products, Inc., or one of its sublicensed Associated Companies, conveys a license under the Philips I
2
C Patent Rights to use these compo-
nents in an I
2
C system, provided that the system conforms to the
I
2
C Standard Specification as defined by Philips.
Pin Configurations
TOP VIEW
1
INT
AD1
2
AD2
3
4
I/O1
5
I/O2
6
I/O3
7
8
9
I/O5
10
I/O6
11
I/O7
12
TSSOP/SSOP/SO
MAX7318
I/O15
I/O14
MAX7318ATG
I/O1
I/O2
THIN QFN
I/O13
I/O3
I/O12
I/O4
AD0
V+
24
SDA
23
SCL
22
AD0I/O0
21
I/O15
20
I/O14
19
I/O13
18
I/O12I/O4
17
16
I/O11
15
I/O10
14
I/O9
13
I/O8GND
18 17 16 15 14 13
19
SCL
20
SDA
21
V+
INT
22
AD1
23
AD2
24
12 3456
I/O0
I/O11
I/O5
12
I/O10
11
I/O9
10
I/O8
GND
9
I/O7
8
I/O6
7
MAX7318AWG -40°C to +125°C 24 Wide SO
MAX7318AAG -40°C to +125°C 24 SSOP
MAX7318ATG -40°C to +125°C
MAX7318AUG -40°C to +125°C 24 TSSOP
PART TEMP RANGE PIN-PACKAGE
24 Thin QFN
4mm)
(4mm
PKG
CODE
T2444-4
Page 2
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
2 _______________________________________________________________________________________
ABSOLUTE MAXIMUM RATINGS
DC ELECTRICAL CHARACTERISTICS
(V+ = 2V to 5.5V, TA= -40°C to +125°C, unless otherwise noted. Typical values are at V+ = 3.3V, TA= +25°C.) (Note 1)
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/O0–I/O15 as Inputs ....................................(GND - 0.3V) to +6V
SCL, SDA, AD0, AD1, AD2, INT...................(GND - 0.3V) to +6V
Maximum V+ Current......................................................+250mA
Maximum GND Current ...................................................-250mA
DC Input Current on I/O0–I/O15 .......................................±20mA
DC Output Current on I/O0–I/O15 ....................................±80mA
Continuous Power Dissipation (T
A
= +70°C)
24-Pin Wide SO (derate 11.8mW/°C above +70°C) ....941mW
24-Pin SSOP (derate 8.0mW/°C above +70°C) ...........640mW
24-Pin TSSOP (derate 12.2mW/°C above +70°C) .......976mW
24-Pin Thin QFN (derate 20.8mW/°C above +70°C) .1667mW
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
Supply Voltage V+ 2.0 5.5 V
Power-On Reset Voltage V
SCL, SDA
Input Voltage Low V
Input Voltage High
Low-Level Output Voltage V
Leakage Current I
Input Capacitance 10 pF
I/O_
Input Voltage Low V
Input Voltage High V
Input Leakage Current
Internal Pullup Current TA = -40°C to +85°C, VIO = 0 34 100 µA
Low-Level Output Current I
High Output Current I
AD0, AD1, AD2
Input Voltage Low V
Input Voltage High V
PARAMETER SYM B O L CONDITIONS MIN TYP MAX UNITS
+
STBY
POR
IL
V
IH
OL
L
IL
IH
SINK
SOURCE
IL
IH
All I/Os unloaded,
= 400kHz
f
SCL
All I/Os unloaded,
= 0
f
SCL
I
= 6mA 0.4 V
SINK
T
= -40°C to +85°C; includes internal
A
pullup current, V
V+ = 2V, VOL = 0.5V 8.5 17
V+ = 3.3V, VOL = 0.5V 17 32
V+ = 5V, VOL = 0.5V 43
V+ = 3.3V, VOH = 2.4V 29 41
V+ = 5V, VOH = 4.5V 31
IO
= V+
V+ = 2V 24 36
V+ = 3.3V 45 62Supply Current I
V+ = 5.5V 83 124
V+ = 2V 4.8 12.1
V+ = 3.3V 5.4 14.4Standby Current I
V+ = 5.5V 6.4 19.4
1.4 1.7 V
0.3 x V+
0.7 x V+ V
-1 +1 µA
0.8 V
1.8 V
A
0.3 x V+ V
0.7 x V+ V
µA
µA
V
mA
mA
Page 3
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
_______________________________________________________________________________________ 3
Note 1: All parameters are 100% production tested at TA= +25°C. Specifications over temperature are guaranteed by design. Note 2: A master device must internally provide a hold time of at least 300ns for the SDA signal (referred to the V
IL
of the SCL
signal) to bridge the undefined region SCL’s falling edge.
Note 3: C
B
= total capacitance of one bus line in pF.
Note 4: The maximum t
F
for the SDA and SCL bus lines is specified at 300ns. The maximum fall time for the SDA output stage tFis specified at 250ns. This allows series protection resistors to be connected between the SDA and SCL pins and the SDA/SCL bus lines without exceeding the maximum specified t
F
.
Note 5: Input filters on the SDA and SCL inputs suppress noise spikes less than 50ns.
DC ELECTRICAL CHARACTERISTICS (continued)
(V+ = 2V to 5.5V, TA= -40°C to +125°C, unless otherwise noted. Typical values are at V+ = 3.3V, TA= +25°C.) (Note 1)
AC ELECTRICAL CHARACTERISTICS
(V+ = 2V to 5.5V, TA= -40°C to +125°C, unless otherwise noted.) (Note 1)
Leakage Current -1 +1 µA
Input Capacitance 4pF
INT
Low-Level Output Current I
PARAMETER SYM B O L CONDITIONS MIN TYP MAX UNITS
V
OL
= 0.4V 6 mA
OL
SCL Clock Frequency f
Bus Free Time Between STOP and START Conditions
Hold Time (Repeated) START Condition
Repeated START Condition Setup Time
STOP Condition Setup Time t
Data Hold Time t
Data Setup Time t
SCL Low Period t
SCL High Period t
SDA Fall Time t
Pulse Width of Spike Suppressed t
PORT TIMING
Output Data Valid t
Input Data Setup Time 27 µs
Input Data Hold Time s
INTERRUPT TIMING
Interrupt Valid t
Interrupt Reset t
PARAMETER SYM B O L CONDITIONS MIN TYP MAX UNITS
SCL
t
BUF
t
HD,STA
t
SU,STA
SU,STO
HD,DAT
SU,DAT
LOW
HIGH
F
SP
PV
IV
IR
Figure 2 1.3 µs
Figure 2 0.6 µs
Figure 2 0.6 µs
Figure 2 0.6 µs
Figure 2 (Note 2) 0.9 µs
Figure 2 100 ns
Figure 2 1.3 µs
Figure 2 0.7 µs
Figure 2 (Notes 3, 4)
(Note 5) 50 ns
Figure 7 3 µs
Figure 9 30.5 µs
Figure 9 2 µs
V+ < 3.3V 500
V+ 3.3V 250
400 kHz
ns
Page 4
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
4 _______________________________________________________________________________________
Typical Operating Characteristics
(TA = +25°C, unless otherwise noted.)
SUPPLY CURRENT
vs. TEMPERATURE
MAX7318 toc01
TEMPERATURE (°C)
SUPPLY CURRENT (µA)
1007525 500-25
10
20
30
40
50
60
70
80
90
100
0
-50 125
f
SCL
= 400kHz
ALL I/Os UNLOADED
V+ = 3.3V
V+ = 5V
V+ = 2V
STANDBY SUPPLY CURRENT
vs. TEMPERATURE
MAX7318 toc02
TEMPERATURE (°C)
SUPPLY CURRENT (µA)
1007525 500-25
2
4
6
8
10
12
0
-50 125
SCL = V+ ALL I/Os UNLOADED
V+ = 5V
V+ = 3.3V
V+ = 2V
SUPPLY CURRENT
vs. SUPPLY VOLTAGE
MAX7318 toc03
SUPPLY VOLTAGE (V)
SUPPLY CURRENT (µA)
5.04.53.5 4.03.02.5
10
20
30
40
50
60
70
80
90
100
0
2.0 5.5
f
SCL
= 400kHz
ALL I/Os UNLOADED
I/O SINK CURRENT
vs. OUTPUT LOW VOLTAGE
MAX7318 toc04
VOL (V)
I
SINK
(mA)
0.50.40.30.20.1
2
4
6
8
10
12
14
16
18
20
22
24
0
0 0.6
V+ = 2V
TA = +125°C
TA = +25°C
TA = -40°C
I/O SINK CURRENT
vs. OUTPUT LOW VOLTAGE
MAX7318 toc05
VOL (V)
I
SINK
(mA)
0.50.40.30.20.1
5
10
15
20
25
30
35
40
45
50
0
0 0.6
V+ = 3.3V
TA = +125°C
TA = -40°C
TA = +25°C
I/O SINK CURRENT
vs. OUTPUT LOW VOLTAGE
MAX7318 toc06
VOL (V)
I
SINK
(mA)
0.40.30.20.1
5
10
15
20
25
30
35
40
45
50
0
0 0.5
V+ = 5V
TA = +125°C
TA = -40°C
TA = +25°C
I/O OUTPUT LOW VOLTAGE
vs. TEMPERATURE
MAX7318 toc07
TEMPERATURE (°C)
V
OL
(mV)
10075-25 0 25 50
50
100
150
200
250
300
350
400
0
-50 125
V+ = 5V, I
SINK
= 10mA
V+ = 2V, I
SINK
= 10mA
V+ = 2V, I
SINK
= 1mA
V+ = 5V, I
SINK
= 1mA
I/O SOURCE CURRENT
vs. OUTPUT HIGH VOLTAGE
MAX7318 toc08
V+ - VOH (V)
I
SOURCE
(mA)
0.60.50.40.30.20.1
5
10
15
20
25
0
0 0.7
V+ = 2V
TA = +125°C
TA = +25°C
TA = -40°C
I/O SOURCE CURRENT
vs. OUTPUT HIGH VOLTAGE
MAX7318 toc09
V+ - VOH (V)
I
SOURCE
(mA)
0.60.50.3 0.40.20.1
5
10
15
20
25
30
35
40
45
50
0
0 0.7
V+ = 3.3V
TA = +125°C
TA = +25°C
TA = -40°C
Page 5
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
_______________________________________________________________________________________ 5
Pin Description
Typical Operating Characteristics (continued)
(TA = +25°C, unless otherwise noted.)
I/O SOURCE CURRENT
vs. OUTPUT HIGH VOLTAGE
MAX7318 toc10
V+ - VOH (V)
I
SOURCE
(mA)
0.60.50.3 0.40.20.1
5
10
15
20
25
30
35
40
45
50
0
0
V+ = 5V
TA = +125°C
TA = +25°C
TA = -40°C
I/O HIGH VOLTAGE vs. TEMPERATURE
MAX7318 toc11
TEMPERATURE (°C)
V+ - V
OH
(V)
1007550250-25
100
200
300
400
500
0
-50 125
V+ = 5V, I
SOURCE
= 10mA
V+ = 2V, I
SOURCE
= 10mA
PIN
TSSOP/
SSOP/SO
THIN
QFN
122INT Interrupt Output (Open Drain)
2 23 AD1 Address Input 1
3 24 AD2 Address Input 2
4–11 1–8 I/O0–I/O7 Input/Output Port 1
12 9 GND Supply Ground
13–20 10–17 I/O8–I/O15 Input/Output Port 2
21 18 AD0 Address Input 0
22 19 SCL Serial Clock Line
23 20 SDA Serial Data Line
24 21 V+ Supply Voltage. Bypass with a 0.047µF capacitor to GND.
EP Exposed Pad on Package Underside. Connect to GND.
NAME FUNCTION
Page 6
MAX7318
Detailed Description
The MAX7318 general-purpose input/output (GPIO) peripheral provides up to 16 I/O ports, controlled through an I2C-compatible serial interface. The MAX7318 consists of input port registers, output port registers, polarity inversion registers, and configuration registers. Upon power-on, all I/O lines are set as inputs. Three slave ID address select pins, AD0, AD1, and AD2, choose one of 64 slave ID addresses, including the eight addresses supported by the Phillips PCA9555. Table 1 is the register address table. Tables 2–5 show detailed register information.
Serial Interface
Serial Addressing
The MAX7318 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 MAX7318, and generates the SCL clock that synchro­nizes the data transfer (Figure 2).
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
6 _______________________________________________________________________________________
Figure 1. MAX7318 Block Diagram
Figure 2. 2-Wire Serial Interface Timing Diagram
SDA
SCL
t
SU, STO
I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7
I/O8 I/O9 I/O10 I/O11 I/O12 I/O13 I/O14 I/O15
INT
t
BUF
AD0
AD1
AD2
SCL
SDA
N
V+
t
LOW
t
SU, DAT
INPUT
FILTER
POWER-ON
RESET
t
HD, DAT
SMBus
CONTROL
MAX7318
t
SU, STA
GND
8 BIT
WRITE PULSE
READ PULSE
8 BIT
WRITE PULSE
READ PULSE
INPUT/OUTPUT
INPUT/OUTPUT
t
HD, STA
PORT 1
PORT 2
t
t
HD, STA
START CONDITION
HIGH
t
R
t
F
REPEATED START CONDITION
START CONDITIONSTOP CONDITION
Page 7
Each transmission consists of a START condition sent by a master, followed by the MAX7318 7-bit slave address plus R/W bit, a register address byte, 1 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 finished 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 transmission (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 MAX7318, the MAX7318
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
_______________________________________________________________________________________ 7
Figure 3. START and STOP Conditions
Figure 4. Bit Transfer
Figure 5. Acknowledge
SDA
SCL
START CONDITION
SCL
BY TRANSMITTER
SDA
S
START
CONDITION
SDA
SCL
P
STOP
CONDITION
DATA LINE STABLE; DATA VALID
12 89
CHANGE OF DATA ALLOWED
CLOCK PULSE FOR ACKNOWLEDGMENT
S
SDA
BY RECEIVER
Page 8
MAX7318
generates the acknowledge bit since the MAX7318 is the recipient. When the MAX7318 is transmitting to the master, the master generates the acknowledge bit.
Slave Address
The MAX7318 has a 7-bit-long slave address (Figure 6). The 8th bit following the 7-bit slave address is the R/W bit. Set this bit low for a write command and high for a read command.
Slave address pins AD2, AD1, and AD0 choose 1 of 64 slave ID addresses (Table 7).
Data Bus Transaction
The command byte is the first byte to follow the 8-bit device slave address during a write transmission (Table 1, Figure 7). The command byte is used to deter­mine which of the following registers are written or read.
Writing to Port Registers
Transmit data to the MAX7318 by sending the device slave address and setting the LSB to a logic zero. The command byte is sent after the address and deter­mines which registers receive the data following the command byte (Figure 7).
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
8 _______________________________________________________________________________________
Figure 6. Slave Address
Table 1. Command-Byte Register
Figure 7. Writes to Output Registers Through Write-Byte Protocol
PROGRAMMABLE
SDA
A6 A5 A4 A3 A2 A1 A0
MSB LSB
SDA
COMMAND BYTE
ADDRESS (hex)
0x00 Input port 1 Read byte XXXX XXXX
0x01 Input port 2 Read byte XXXX XXXX
0x02 Output port 1 Read/write byte 1111 1111
0x03 Output port 2 Read/write byte 1111 1111
0x04 Port 1 polarity inversion Read/write byte 0000 0000
0x05 Port 2 polarity inversion Read/write byte 0000 0000
0x06 Port 1 configuration Read/write byte 1111 1111
0x07 Port 2 configuration Read/write byte 1111 1111
0xFF Factory reserved. (Do not write to this register.)
ACKR/W
FUNCTION PROTOCOL
POWER-UP
DEFAULT
SCL
123456789
COMMAND BYTE PORT 1 DATA PORT 2 DATA
SDA
S A0000001 76543210A76543210A0A
SLAVE ADDRESS
START
CONDITION
WRITE TO PORT
DATA OUT PORT 1
READ FROM PORT 2
R/W
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
t
PV
ACKNOWLEDGE
FROM SLAVE
t
PV
Page 9
The MAX7318’s eight registers are configured to oper­ate as four register pairs: input ports, output ports, polarity inversion ports, and configuration ports. After sending 1 byte of data to one register, the next byte is sent to the other register in the pair. For example, if the first byte of data is sent to output port 2, then the next byte of data is stored in output port 1. An unlimited number of data bytes can be sent in one write transmis­sion. This allows each 8-bit register to be updated inde­pendently of the other registers.
Reading Port Registers
To read the device data, the bus master must first send the MAX7318 address with the R/W bit set to zero, fol­lowed by the command byte, which determines which register is accessed. After a restart, the bus master must then send the MAX7318 address with the R/W bit set to 1. Data from the register defined by the com­mand byte is then sent from the MAX7318 to the master (Figures 8, 9).
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
_______________________________________________________________________________________ 9
Figure 8. Read from Register
Figure 9. Read from Input Registers
ACKNOWLEDGE
FROM SLAVE
SLAVE ADDRESS SLAVE ADDRESS MSB DATA LSB MSB DATA LSBCOMMAND BYTE
S 0 A A S 1 A A NA P
R/W R/W
TRANSFER OF DATA CAN BE STOPPED AT ANY TIME BY A STOP CONDITION.
ACKNOWLEDGE
FROM SLAVE
MASTER TRANSMITTER BECOMES
MASTER RECEIVER AND SLAVE
RECEIVER BECOMES SLAVE TRANSMITTER
SCL
123456789
DATA FROM LOWER OR
UPPER BYTE OF REGISTER
ACKNOWLEDGE
FROM SLAVE
DATA FROM LOWER OR
UPPER BYTE OF REGISTER
SLAVE ADDRESS PORT 1 DATA PORT 2 DATA PORT 1 DATA PORT 2 DATAS1777700001PA A A A
R/W
ACKNOWLEDGE
FROM SLAVE
READ FROM PORT 1
DATA INTO PORT 1
READ FROM PORT 2
DATA INTO PORT 2
INT
t
IV
TRANSFER OF DATA CAN BE STOPPED ANYTIME BY A STOP CONDITION. WHEN THE STOP CONDITION OCCURS, DATA PRESENT AT THE LAST ACKNOWLEDGE PHASE IS VALID (OUTPUT MODE) AND COMMAND BYTE HAS PREVIOUSLY BEEN SET TO REGISTER 00.
t
IR
ACKNOWLEDGE
FROM MASTER
ACKNOWLEDGE
FROM MASTER
ACKNOWLEDGE
FROM MASTER
NONACKNOWLEDGE
FROM MASTER
Page 10
MAX7318
Data is clocked into a register on the falling edge of the acknowledge clock pulse. After reading the first byte, additional bytes may be read and reflect the content in the other register in the pair. For example, if input port 1 is read, the next byte read is input port 2. An unlimited number of data bytes can be read in one read trans­mission, but the final byte received must not be acknowledged by the bus master.
Interrupt (
INT
)
The open-drain interrupt output, INT, activates when one of the port pins changes states and only when the pin is configured as an input. The interrupt deactivates when the input returns to its previous state or the input register is read (Figure 9). A pin configured as an out­put does not cause an interrupt. Each 8-bit port register is read independently; therefore, an interrupt caused by port 1 is not cleared by a read of port 2’s register.
Changing an I/O from an output to an input may cause a false interrupt to occur if the state of that I/O does not match the content of the input port register.
Input/Output Port
When an I/O is configured as an input, FETs Q1 and Q2 are off (Figure 10), creating a high-impedance input with a nominal 100kpullup to V+. All inputs are overvoltage protected to 5.5V, independent of supply voltage. When a port is configured as an output, either Q1 or Q2 is on, depending on the state of the output port register. When V+ powers up, an internal power-on reset sets all regis­ters to their respective defaults (Table 1).
Input Port Registers
The input port registers (Table 2) are read-only ports. They reflect the incoming logic levels of the pins, regardless of whether the pin is defined as an input or an output by the respective configuration register. A read of the input port 1 register latches the current value of I/O0–I/O7. A read of the input port 2 register latches the current value of I/O8–I/O15. Writes to the input port registers are ignored.
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
10 ______________________________________________________________________________________
Figure 10. Simplified Schematic of I/Os
CONFIGURATION
REGISTER
DATA FROM
SHIFT REGISTER
WRITE
CONFIGURATION
PULSE
DATA FROM
SHIFT REGISTER
WRITE PULSE
READ PULSE
POWER-ON
RESET
DATA FROM
SHIFT REGISTER
WRITE POLARITY
PULSE
D
SET
CLR
Q
Q
SET
D
CLR
OUTPUT PORT
REGISTER
Q
Q
INPUT PORT
REGISTER
SET
D
Q
Q
CLR
SET
D
Q
Q
CLR
POLARITY INVERSION
REGISTER
OUTPUT PORT REGISTER DATA
V
DD
Q1
100k
I/O PIN
Q2
GND
INPUT PORT REGISTER DATA
TO INT
POLARITY REGISTER DATA
Page 11
Output Port Registers
The output port registers (Table 3) set the outgoing logic levels of the I/Os defined as outputs by the respective configuration register. Reads from the out­put port registers reflect the value that is in the flip-flop controlling the output selection, not the actual I/O value.
Polarity Inversion Registers
The polarity inversion registers (Table 4) enable polarity inversion of pins defined as inputs by the respective port configuration registers. Set the bit in the polarity inversion register to invert the corresponding port pin’s polarity. Clear the bit in the polarity inversion register to retain the corresponding port pin’s original polarity.
Configuration Registers
The configuration registers (Table 5) configure the directions of the I/O pins. Set the bit in the respective configuration register to enable the corresponding port as an input. Clear the bit in the configuration register to enable the corresponding port as an output.
Standby
The MAX7318 goes into standby when the I2C bus is idle. Standby supply current is typically 5.4µA.
Applications Information
Hot Insertion
The I/O ports I/O0–I/O15, interrupt output INT, and serial interface SDA, SCL, AD0–2 remain high impedance with up to 6V asserted on them when the MAX7318 is pow­ered down (V+ = 0V). The MAX7318 can therefore be used in hot-swap applications. Note that each I/O’s 100kpullup effectively becomes a 100kpulldown when the MAX7318 is powered down.
Power-Supply Consideration
The MAX7318 operates from a supply voltage of 2V 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 exposed pad to GND.
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
______________________________________________________________________________________ 11
Table 2. Registers 0x00, 0x01—Input Port Registers
Table 3. Registers 0x02, 0x03—Output Port Registers
Table 4. Registers 0x04, 0x05—Polarity Inversion Registers
Table 5. Registers 0x06, 0x07—Configuration Registers
BIT
BIT
Power-up default 1 1111111
BIT
Power-up default 0 0000000
BIT
Power-up default 1 1 1 1 1 1 1 1
I7 I6 I5 I4 I3 I2 I1 I0
I15 I14 I13 I12 I11 I10 I9 I8
O7 O6 O5 O4 O3 O2 O1 O0
O15 O14 O13 O12 O11 O10 O9 O8
I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 I/O0
I/O15 I/O14 I/O13 I/O12 I/O11 I/O10 I/O9 I/O8
I/O7 I/O6 I/O5 I/O4 I/O3 I/O2 I/O1 I/O0
I/O15 I/O14 I/O13 I/O12 I/O11 I/O10 I/O9 I/O8
Page 12
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
12 ______________________________________________________________________________________
Table 6. MAX7318 Address Map
AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0 ADDRESS (hex)
GNDSCLGND0010000 0x20
GNDSCLV+0010001 0x22
GNDSDAGND0010010 0x24
GNDSDAV+0010011 0x26
V+SCLGND0010100 0x28
V+SCLV+0010101 0x2A
V+SDAGND0010110 0x2C
V+SDAV+0010111 0x2E
GNDSCLSCL0011000 0x30
GNDSCLSDA0011001 0x32
GNDSDASCL0011010 0x34
GNDSDASDA0011011 0x36
V+SCLSCL0011100 0x38
V+SCLSDA0011101 0x3A
V+SDASCL0011110 0x3C
V+SDASDA0011111 0x3E
GNDGNDGND0100000 0x40
GNDGNDV+0100001 0x42
GNDV+GND0100010 0x44
GNDV+V+0100011 0x46
V+GNDGND0100100 0x48
V+GNDV+0100101 0x4A
V+V+GND0100110 0x4C
V+V+V+0100111 0x4E
GNDGNDSCL0101000 0x50
GNDGNDSDA0101001 0x52
GNDV+SCL0101010 0x54
GNDV+SDA0101011 0x56
V+GNDSCL0101100 0x58
V+GNDSDA0101101 0x5A
V+V+SCL0101110 0x5C
V+V+SDA0101111 0x5E
Page 13
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
______________________________________________________________________________________ 13
Table 6. MAX7318 Address Map (continued)
Chip Information
TRANSISTOR COUNT: 12,994
PROCESS: BiCMOS
AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0 ADDRESS (hex)
SCLSCLGND1010000 0xA0
SCLSCLV+1010001 0xA2
SCLSDAGND1010010 0xA4
SCLSDAV+1010011 0xA6
SDASCLGND1010100 0xA8
SDASCLV+1010101 0xAA
SDASDAGND1010110 0xAC
SDASDAV+1010111 0xAE
SCLSCLSCL1011000 0xB0
SCLSCLSDA1011001 0xB2
SCLSDASCL1011010 0xB4
SCLSDASDA1011011 0xB6
SDASCLSCL1011100 0xB8
SDASCLSDA1011101 0xBA
SDASDASCL1011110 0xBC
SDASDASDA1011111 0xBE
SCLGNDGND1100000 0xC0
SCLGNDV+1100001 0xC2
SCLV+GND1100010 0xC4
SCLV+V+1100011 0xC6
SDAGNDGND1100100 0xC8
SDAGNDV+1100101 0xCA
SDAV+GND1100110 0xCC
SDAV+V+1100111 0xCE
SCLGNDSCL1101000 0xD0
SCLGNDSDA1101001 0xD2
SCLV+SCL1101010 0xD4
SCLV+SDA1101011 0xD6
SDAGNDSCL1101100 0xD8
SDAGNDSDA1101101 0xDA
SDAV+SCL1101110 0xDC
SDAV+SDA1101111 0xDE
Page 14
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
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
.)
N
1
TOP VIEW
e
FRONT VIEW
INCHES
MIN
DIM
0.093A
0.004
A1
0.014
B
0.009
C
H
E
D
A
B
A1
C
L
e 0.050 1.27
0.291
E H 0.4190.394 10.00 10.65
0.016L
VARIATIONS:
INCHES
MINDIM
D
0.398 0.413 AA10.5010.10 16
D
0.447 0.463 AB11.7511.35 18
D 0.6140.598 15.20 2415.60 AD D 0.7130.697 17.70 2818.10 AE
0∞-8∞
MAX
0.104
0.012
0.019
0.013
0.299
0.050
MAX
0.5120.496D
MILLIMETERS
MAX
MIN
2.35
2.65
0.10
0.30
0.35
0.49
0.23
0.32
7.40 7.60
0.40 1.27
MILLIMETERS
MAX
MIN
12.60 13.00
SOICW.EPS
N MS013
20 AC
SIDE VIEW
PROPRIETARY INFORMATION
TITLE:
PACKAGE OUTLINE, .300" SOIC
REV.DOCUMENT CONTROL NO.APPROVAL
21-0042
1
B
1
Page 15
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander
with Interrupt and Hot-Insertion Protection
______________________________________________________________________________________ 15
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
.)
NOTES:
1. D&E DO NOT INCLUDE MOLD FLASH.
2. MOLD FLASH OR PROTRUSIONS NOT TO EXCEED .15 MM (.006").
3. CONTROLLING DIMENSION: MILLIMETERS.
4. MEETS JEDEC MO150.
5. LEADS TO BE COPLANAR WITHIN 0.10 MM.
12
MILLIMETERS
INCHES
A
A1
B
C
D
E
e
H
L
MAX
MIN
0.068
0.078
0.008
0.002
0.015
0.010
0.008
0.004
SEE VARIATIONS
0.212
0.205
0.0256 BSC
0.301
0.311
0.025
0.037
0∞
L
DIM
HE
N
A
e
B
D
A1
8∞
MIN
1.73 1.99
0.05
0.25
0.09
5.20
0.65 BSC
7.65
0.63
0∞
MAX
0.21
0.38
0.20
5.38
7.90
0.95
8∞
INCHES
MAX
MIN
D
0.239
0.249
D
0.239
0.249
D
0.278
0.289
D
0.317
0.328
0.397
0.407
D
PROPRIETARY INFORMATION
TITLE:
PACKAGE OUTLINE, SSOP, 5.3 MM
MILLIMETERS
MAX
MIN
6.07
6.33
6.07
6.33
7.07
7.33
8.07
8.33
10.07
10.33
21-0056
SSOP.EPS
N
14L 16L
20L
24L
28L
C
REV.DOCUMENT CONTROL NO.APPROVAL
1
C
1
TSSOP4.40mm.EPS
Page 16
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
.)
MAX7318
2-Wire-Interfaced, 16-Bit, I/O Port Expander with Interrupt and Hot-Insertion Protection
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.
16 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
© 2005 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc.
24L QFN THIN.EPS
PACKAGE OUTLINE, 12, 16, 20, 24, 28L THIN QFN, 4x4x0.8mm
PACKAGE OUTLINE, 12, 16, 20, 24, 28L THIN QFN, 4x4x0.8mm
21-0139
21-0139
1
D
2
2
D
2
Loading...