參數(shù)資料
型號: MCP23008
廠商: Microchip Technology Inc.
英文描述: 8-Bit I/O Expander with Serial Interface
中文描述: 8位的I / O串行接口擴展
文件頁數(shù): 4/40頁
文件大?。?/td> 498K
代理商: MCP23008
MCP23008/MCP23S08
DS21919B-page 4
2005 Microchip Technology Inc.
1.2
Power-on Reset (POR)
The on-chip POR circuit holds the device in reset until
V
DD
has reached a high enough voltage to deactivate
the POR circuit (i.e., release the device from reset).
The maximum V
DD
rise time is specified in
Section 2.0
“Electrical Characteristics”
.
When the device exits the POR condition (releases
reset), device operating parameters (i.e., voltage,
temperature, serial bus frequency, etc.) must be met to
ensure proper operation.
1.3
Serial Interface
This block handles the functionality of the I
2
C
(MCP23008) or SPI (MCP23S08) interface protocol.
The MCP23X08 contains eleven registers that can be
addressed through the serial interface block (Table 1-2):
TABLE 1-2:
Address
REGISTER ADDRESSES
Access to:
IODIR
IPOL
GPINTEN
DEFVAL
INTCON
IOCON
GPPU
INTF
INTCAP (Read-only)
GPIO
OLAT
1.3.1
The Sequential Operation (SEQOP) bit (IOCON
register) controls the operation of the address pointer.
The address pointer can either be enabled (default) to
allow the address pointer to increment automatically
after each data transfer, or it can be disabled.
When
operating
in
(IOCON.SEQOP =
0
), the address pointer automati-
cally increments to the next address after each byte
is clocked.
When operating in
Byte mode
(IOCON.SEQOP =
1
),
the MCP23X08 does not increment its address
counter after each byte during the data transfer. This
gives the ability to continually read the same address
by providing extra clocks (without additional control
bytes). This is useful for polling the GPIO register for
data changes.
SEQUENTIAL OPERATION BIT
Sequential
mode
1.3.2
I
2
C INTERFACE
1.3.2.1
The I
2
C Write operation includes the control byte and
register address sequence, as shown in the bottom of
Figure 1-1. This sequence is followed by eight bits of
data from the master and an Acknowledge (ACK) from
the MCP23008. The operation is ended with a STOP
or RESTART condition being generated by the master.
Data is written to the MCP23008 after every byte
transfer. If a STOP or RESTART condition is
generated during a data transfer, the data will not be
written to the MCP23008.
Byte writes and sequential writes are both supported
by the MCP23008. The MCP23008 increments its
address counter after each ACK during the data
transfer.
I
2
C Write Operation
1.3.2.2
The I
2
C Read operation includes the control byte
sequence, as shown in the bottom of Figure 1-1. This
sequence is followed by another control byte (includ-
ing the START condition and ACK) with the R/W bit
equal to a logic 1 (R/W =
1
). The MCP23008 then
transmits the data contained in the addressed register.
The sequence is ended with the master generating a
STOP or RESTART condition.
I
2
C Read Operation
1.3.2.3
For sequential operations (Write or Read), instead of
transmitting a STOP or RESTART condition after the
data transfer, the master clocks the next byte pointed to
by the address pointer (see
Section 1.3.1 “Sequential
Operation Bit”
for details regarding sequential
operation control).
The sequence ends with the master sending a STOP or
RESTART condition.
The MCP23008 address pointer will roll over to
address zero after reaching the last register address.
Refer to Figure 1-1.
I
2
C Sequential Write/Read
1.3.3
SPI INTERFACE
1.3.3.1
SPI Write Operation
The SPI Write operation is started by lowering CS. The
Write command (slave address with R/W bit cleared) is
then clocked into the device. The opcode is followed by
an address and at least one data byte.
1.3.3.2
SPI Read Operation
The SPI Read operation is started by lowering CS. The
SPI read command (slave address with R/W bit set) is
then clocked into the device. The opcode is followed by
an address, with at least one data byte being clocked
out of the device.
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
相關PDF資料
PDF描述
MCP23S08 8-Bit I/O Expander with Serial Interface
MCP2551 High-Speed CAN Transceiver
MCP3001 2.7V 10 BIT A/D CONVERTER WITH SPI SERIAL INTERFACE
MCP3002 MCP300X 10-Bit Analog-to-Digital Converters
MCP3004 MCP300X 10-Bit Analog-to-Digital Converters
相關代理商/技術參數(shù)
參數(shù)描述
MCP23008_07 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Bit I/O Expander with Serial Interface
MCP23008-E/ML 功能描述:接口-I/O擴展器 8bit Input/Output Exp I2C interface RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
MCP23008-E/P 功能描述:接口-I/O擴展器 In/Out I2C int RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
MCP23008-E/SO 功能描述:接口-I/O擴展器 In/Out I2C int RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
MCP23008-E/SO 制造商:Microchip Technology Inc 功能描述:I/O Expander IC