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

MCP23008 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
MCP23008
Microchip
Microchip Technology Microchip
MCP23008 Datasheet PDF : 44 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
MCP23008/MCP23S08
1.0 DEVICE OVERVIEW
The MCP23X08 device provides 8-bit, general
purpose, parallel I/O expansion for I2C bus or SPI
applications. The two devices differ in the number of
hardware address pins and the serial interface:
• MCP23008 – I2C interface; three address pins
• MCP23S08 – SPI interface; two address pins
The MCP23X08 consists of multiple 8-bit configuration
registers for input, output and polarity selection. The
system master can enable the I/Os as either inputs or
outputs by writing the I/O configuration bits. The data
for each input or output is kept in the corresponding
Input or Output register. The polarity of the Input Port
register can be inverted with the Polarity Inversion
register. All registers can be read by the system master.
The interrupt output can be configured to activate
under two conditions (mutually exclusive):
1. When any input state differs from its
corresponding input port register state, this is
used to indicate to the system master that an
input state has changed.
2. When an input state differs from a preconfigured
register value (DEFVAL register).
The Interrupt Capture register captures port values at
the time of the interrupt, thereby saving the condition
that caused the interrupt.
The Power-on Reset (POR) sets the registers to their
default values and initializes the device state machine.
The hardware address pins are used to determine the
device address.
1.1 Pin Descriptions
TABLE 1-1: PINOUT DESCRIPTION
Pin
Name
PDIP/
SOIC
QFN
SSOP
Pin
Type
Function
SCL/SCK 1
SDA/SI
2
A2/SO
3
A1
4
A0
5
RESET
6
NC/CS
7
INT
8
VSS
9
GP0
10
GP1
11
GP2
12
GP3
13
GP4
14
GP5
15
GP6
16
GP7
17
VDD
18
N/C
19
1
I Serial clock input.
20
2
I/O Serial data I/O (MCP23008)/Serial data input (MCP23S08).
1
3
I/O Hardware address input (MCP23008)/
Serial data output (MCP23S08).
A2 must be biased externally.
2
4
I Hardware address input. Must be biased externally.
3
5
I Hardware address input. Must be biased externally.
4
6
I External reset input. Must be biased externally.
5
7
I No connect (MCP23008)/External chip select input (MCP23S08).
7
8
O Interrupt output. Can be configured for active-high, active-low or
open-drain.
17
9
P Ground.
9
12
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
10
13
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
11
14
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
12
15
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
13
16
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
14
17
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
15
18
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
16
19
I/O Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or
internal weak pull-up resistor.
18
20
P Power.
6, 8 10, 11 — —
© 2007 Microchip Technology Inc.
DS21919D-page 5

Share Link: 

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