MAX7312ATG+T Maxim Integrated Products, MAX7312ATG+T Datasheet - Page 9
![IC I/O EXPANDER I2C 16B 24TQFN](/photos/6/50/65029/24-tqfn_21-0201a_sml.jpg)
MAX7312ATG+T
Manufacturer Part Number
MAX7312ATG+T
Description
IC I/O EXPANDER I2C 16B 24TQFN
Manufacturer
Maxim Integrated Products
Datasheet
1.MAX7312ATG.pdf
(16 pages)
Specifications of MAX7312ATG+T
Interface
I²C, SMBus
Number Of I /o
16
Interrupt Output
Yes
Frequency - Clock
400kHz
Voltage - Supply
2 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Mounting Type
Surface Mount
Package / Case
24-TQFN Exposed Pad
Includes
POR
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eight of the MAX7312’s nine registers are configured to
operate 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.
Figure 8. Read from Register
Figure 9. Read from Input Registers
SCL
READ FROM PORT 1
DATA INTO PORT 1
READ FROM PORT 2
DATA INTO PORT 2
INT
S
S
TRANSFER OF DATA CAN BE STOPPED AT ANY TIME BY A STOP CONDITION.
1
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.
SLAVE ADDRESS
2
SLAVE ADDRESS
with Interrupt and Hot-Insertion Protection
3
2-Wire-Interfaced 16-Bit I/O Port Expander
4
5
R/W
t
_______________________________________________________________________________________
6
IV
R/W
7
0 A
ACKNOWLEDGE
8
FROM SLAVE
1
9
A
t
IR
7
COMMAND BYTE
ACKNOWLEDGE
FROM SLAVE
PORT 1 DATA
A S
ACKNOWLEDGE
FROM MASTER
0
A
SLAVE ADDRESS
7
ACKNOWLEDGE
FROM SLAVE
RECEIVER BECOMES SLAVE TRANSMITTER
PORT 2 DATA
MASTER TRANSMITTER BECOMES
MASTER RECEIVER AND SLAVE
R/W
To read the device data, the bus master must first send
the MAX7312 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 MAX7312 address with the R/W bit
set to 1. Data from the register defined by the com-
mand byte is then sent from the MAX7312 to the master
(Figures 8, 9).
1 A
ACKNOWLEDGE
FROM MASTER
0
UPPER BYTE OF REGISTER
DATA FROM LOWER OR
MSB
A
7
DATA
PORT 1 DATA
LSB
ACKNOWLEDGE
FROM SLAVE
A
ACKNOWLEDGE
FROM MASTER
0
A
7
UPPER BYTE OF REGISTER
Reading Port Registers
DATA FROM LOWER OR
MSB
PORT 2 DATA
DATA
NONACKNOWLEDGE
LSB
FROM MASTER
0
1
NA P
P
9