DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

MAX7301(2003) 데이터 시트보기 (PDF) - Maxim Integrated

부품명
상세내역
제조사
MAX7301 Datasheet PDF : 18 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
4-Wire-Interfaced, 2.5V to 5.5V, 20-Port and
28-Port I/O Expander
Table 1. Port Configuration Map
REGISTER
Port Configuration for P7, P6, P5, P4
Port Configuration for P11, P10, P9, P8
Port Configuration for P15, P14, P13, P12
Port Configuration for P19, P18, P17, P16
Port Configuration for P23, P22, P21, P20
Port Configuration for P27, P26, P25, P24
Port Configuration for P31, P30, P29, P28
ADDRESS
CODE (HEX)
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
D7 D6
P7
P11
P15
P19
P23
P27
P31
REGISTER DATA
D5 D4 D3 D2
P6
P5
P10
P9
P14
P13
P18
P17
P22
P21
P26
P25
P30
P29
D1 D0
P4
P8
P12
P16
P20
P24
P28
Table 2. Port Configuration Matrix
MODE
Output
Input
Input
FUNCTION
PORT
REGISTER
(0x20–0x5F)
(0xA0–0xDF)
PIN BEHAVIOR
DO NOT USE THIS SETTING
GPIO Output
Register bit = 0 Active-low logic output
Register bit = 1 Active-high logic output
GPIO Input
Without Pullup
GPIO Input with Pullup
Register bit =
input logic level
Schmitt logic input
Schmitt logic input with pullup
ADDRESS
CODE (HEX)
0x09 to 0x0F
PORT
CONFIGURATION
BIT PAIR
UPPER LOWER
0
0
0x09 to 0x0F
0
1
0x09 to 0x0F
1
0
0x09 to 0x0F
1
1
Serial Interface
The MAX7301 communicates through an SPI-compati-
ble 4-wire serial interface. The interface has three
inputs, Clock (SCLK), Chip Select (CS), and Data In
(DIN), and one output, Data Out (DOUT). CS must be
low to clock data into or out of the device, and DIN
must be stable when sampled on the rising edge of
SCLK. DOUT provides a copy of the bit that was input
15.5 clocks earlier, or upon a query it outputs internal
register data, and is stable on the rising edge of SCLK.
Note that the SPI protocol expects DOUT to be high
impedance when the MAX7301 is not being
accessed; DOUT on the MAX7301 is never high
impedance. See www.maxim-ic.com/an 1879 for
ways to convert DOUT to tri-state, if required.
SCLK and DIN may be used to transmit data to other
peripherals, so the MAX7301 ignores all activity on
SCLK and DIN except between the fall and subsequent
rise of CS.
Control and Operation Using the
4-Wire Interface
Controlling the MAX7301 requires sending a 16-bit
word. The first byte, D15 through D8, is the command
address (Table 3), and the second byte, D7 through
D0, is the data byte (Table 4 through Table 8).
Connecting Multiple MAX7301s
to the 4-Wire Bus
Multiple MAX7301s may be daisy-chained by connect-
ing the DOUT of one device to the DIN of the next, and
driving SCLK and CS lines in parallel (Figure 3). Data at
DIN propagates through the internal shift registers and
appears at DOUT 15.5 clock cycles later, clocked out
on the falling edge of SCLK. When sending commands
to multiple MAX7301s, all devices are accessed at the
same time. An access requires (16 n) clock cycles,
where n is the number of MAX7301s connected togeth-
er. To update just one device in a daisy-chain, the user
can send the No-Op command (0x00) to the others.
Writing Device Registers
The MAX7301 contains a 16-bit shift register into which
DIN data are clocked on the rising edge of SCLK, when
CS is low. When CS is high, transitions on SCLK have
no effect. When CS goes high, the 16 bits in the Shift
register are parallel loaded into a 16-bit latch. The 16
bits in the latch are then decoded and executed.
6 _______________________________________________________________________________________

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]