参数资料
型号: MCP23X08EV
厂商: Microchip Technology
文件页数: 1/10页
文件大小: 0K
描述: BOARD EVALUATION FOR MCP23X08
产品培训模块: GPIO Expanders
标准包装: 1
主要目的: 接口,GPIO 扩展器
已用 IC / 零件: MCP23008,MCP23S08
已供物品: 板,文档
AN1043
Unique Features of the MCP23X08/17 GPIO Expanders
Author:
Pat Richards
Microchip Technology Inc.
I/O PORT DESCRIPTION
The I/O port is highly configurable for maximum
flexibility. Figure 1 is a simplified block diagram of an
INTRODUCTION
GPIO expanders provide easy I/O expansion using
standard serial interfaces. GPIO products are used to
increase the I/O on an MCU or provide remote I/O
using a serial interface.
This application note discusses the feature set and use
of the MCP23X08/17 (8-bit and 16-bit) GPIO Expand-
ers.
The MCP23X08 are 8-bit GPIO Expanders:
? MCP23008: I 2 C? Interface
? MCP23S08: SPI Interface
The MCP23X17 are 16-bit GPIO Expanders:
? MCP23017: I 2 C Interface
? MCP23S17: SPI Interface
The functions and features of the MCP23X08 and
MCP23X17 are basically the same, except where
otherwise noted.
FEATURES
This application note discusses some of the features of
the MCP23X08/17 and how they may be used in an
application:
? I/O Port Description
? 8/16-Bit Mode (MCP23X17 only)
? Interrupt Features
- Mapping Interrupts
- Mirroring Interrupts (MCP23X17 only)
- Servicing Interrupts
? Internal Address Pointer Control
? Hardware Address Pin on SPI
? 2006 Microchip Technology Inc.
I/O port pin. The port can either drive logic levels on the
pin, or read logic levels from the pad. The level on the
pad can be read at any time, regardless if the pin is
configured as an input or an output.
The IODIR register controls the direction of the pins
(input or output). More specifically, the IODIR registers
simply enables/disables the output driver. When the
driver is activated (IODIR = 0), the pad is driven to the
state in the latch register (OLAT). When deactivated
(IODIR = 1), the driver is high impedance.
The I/O port has multiple, individual configurations.
Each pin can …
? … be configured as an input. The output driver is
disabled (high impedance)
? … be configured as an output. The output driver
is enabled and the value in the latch is driven on
the pin.
? … enable a weak pull-up resistor
? … emulate an open-drain configuration. This is
accomplished by clearing the output latch (OLAT)
bit to a zero and using the direction register
(IODIR) to set the level on the pin. A pull-up
resistor is required to pull the pin to voltage when
the pin is an input
- To drive a 0: configure the pin as an output
(IODIR = 0) so the port drives whatever is in
OLAT (logic 0 in this case)
- To float a 1: set the pin as an input
(IODIR = 1). The output driver is disabled
and the pull-up resistor pulls the pin to a
logic 1
DS01043A-page 1
相关PDF资料
PDF描述
MCP23X17EV BOARD EVAL FOR MCP23X17
MCP2515DM-PTPLS BOARD DAUGHTER PICTAIL MCP2515
MCP3905EV BOARD DEMO FOR MCP3905
MCP402XEV BOARD EVAL FOR MCP402X
MCP42XXEV BOARD EVALUATION MCP42XX
相关代理商/技术参数
参数描述
MCP23X17EV 功能描述:其他开发工具 MCP23X17 EVAL BRD RoHS:否 制造商:Parallax 产品:ELEV-8 Hex Upgrade Kits 类型:Robotics 工具用于评估:ELEV-8 Quadcopter 工作电源电压:
MCP-24 制造商:Taiyo Electric Ind. 功能描述:
MCP-240-00002-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:SPARE PARTS - Trays
MCP-240-00031-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:2U, REAR WINDOW ACCESSORY KITS, SC825'S (RISER CARD SOLUTION - Bulk
MCP-240-00032-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:2U, REAR WINDOW ACCESSORY KITS, SC825'S (RISER CARD SOLUTION - Bulk