Opens in a new tab

MCP23017-E/ML

Microchip 16-bit I2C I/O expander, 1.8V~5.5V, QFN-28, dual interrupt, 1.7MHz I2C

13087

Effective Inventory

Image for reference only

Manufacturer Part:

MCP23017-E/ML

Package:

QFN-28 (4mm x 4mm, 0.5mm pitch, ML suffix)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

Product Overview

The MCP23017-E/ML from Microchip is a 16-bit I/O expander with I2C interface in a 4mm x 4mm QFN-28 package. It provides 16 bidirectional GPIO pins across two 8-bit ports (GPA and GPB) with configurable interrupt outputs, supporting I2C clock speeds up to 1.7MHz for fast host communication in embedded systems requiring additional I/O.

Key Specifications

Interface I2C (100kHz, 400kHz, 1.7MHz)
I/O Count 16 bits (2 x 8-bit ports: GPA, GPB)
Operating Voltage 1.8V ~ 5.5V
Per-Pin Sink/Source Current 25mA
Standby Current 1uA max
Address Pins 3 (A0, A1, A2, up to 8 devices per bus)
Interrupt Outputs 2 (INTA, INTB, configurable)
Operating Temperature -40C ~ +125C (E grade)
Package QFN-28 (4mm x 4mm, 0.5mm pitch)

Features

  • 16 bidirectional I/O pins with pull-up/pull-down configuration
  • Three hardware address pins for up to 8 devices on one I2C bus
  • Dual configurable interrupt outputs with mirror option
  • Input polarity inversion register for active-low signals
  • External reset input (RESET#) and power-on reset
  • Open-drain interrupt output option for wired-OR configurations

Applications

  • Expanding MCU GPIO for keypad and button arrays
  • LED display and indicator multiplexing
  • Industrial control relay and sensor interface expansion
  • Home automation I/O module
  • Robotics peripheral control
Product Introduction: MCP23017-E/ML Product Introduction

The MCP23017-E/ML from Microchip is a 16-bit remote bidirectional I/O port expander that communicates via the I2C serial interface. It provides 16 GPIO pins organized as two 8-bit ports (GPA0-GPA7 and GPB0-GPB7), each defaulting to input mode after reset. The device supports I2C clock speeds up to 1.7MHz in high-speed mode, enabling rapid polling or configuration by the host MCU. Three address pins (A0, A1, A2) allow up to eight MCP23017 devices to share the same I2C bus, providing up to 128 additional I/O pins. Each I/O pin can sink or source up to 25mA, sufficient for directly driving LEDs or small relays. Two dedicated interrupt output pins (INTA and INTB) can be configured for active-high, active-low, or open-drain operation, with an interrupt mirror option that ORs both port interrupts onto a single pin.

Working Principle: MCP23017-E/ML Working Principle

The MCP23017-E/ML communicates as an I2C slave device with a 7-bit address composed of a fixed 0100000 prefix plus the three hardware address bits (A2, A1, A0). The host MCU reads and writes to internal registers via I2C to configure port direction, pull-ups, polarity, and interrupt behavior. The IODIRA and IODIRB registers set each pin as input (1) or output (0). The GPIOA/GPIOB registers read input pin states or set output pin levels. When an input pin changes state and its corresponding interrupt-on-change bit is enabled, the device asserts the INTA or INTB output. The interrupt capture register (INTCAP) records the pin state at the moment of the interrupt, allowing the host to determine which pin changed even if the state has since reverted. The OLAT register latches output data independently of the GPIO read register, preventing read-modify-write conflicts.

Pin Description: MCP23017-E/ML Pin Definition and Functions
Pin Name Function
1 GPB0 Bidirectional I/O Port B Bit 0
2 GPB1 Bidirectional I/O Port B Bit 1
3 GPB2 Bidirectional I/O Port B Bit 2
4 GPB3 Bidirectional I/O Port B Bit 3
5 GPB4 Bidirectional I/O Port B Bit 4
6 GPB5 Bidirectional I/O Port B Bit 5
7 GPB6 Bidirectional I/O Port B Bit 6
8 GPB7 Bidirectional I/O Port B Bit 7
9 VDD Power Supply
10 VSS Ground
11 NC No Connect
12 SCL I2C Clock Input
13 SDA I2C Data I/O
14 NC No Connect
15 A0 Hardware Address Input 0
16 A1 Hardware Address Input 1
17 A2 Hardware Address Input 2
18 RESET# External Reset Input
19 INTB Port B Interrupt Output
20 INTA Port A Interrupt Output
21~28 GPA0~GPA7 Bidirectional I/O Port A Bits 0~7
Application Scenarios: In which products and applications is MCP23017-E/ML used
  • Keypad expansion: Scan 4×4 or larger matrix keypads using 8+8 GPIO pins with interrupt-driven key detection
  • LED multiplexing: Drive multiplexed 7-segment displays or LED matrices with 16 output pins and 25mA per pin
  • Industrial I/O: Add relay drivers, digital sensor inputs, and limit switch monitors to PLCs and motor controllers
  • Home automation: Build I/O modules for light switches, blinds, and HVAC damper control over I2C backplane
  • Robotics: Interface servos, encoders, bump sensors, and motor drivers through a single I2C bus expander
Alternative Models: What chips are recommended as replacements for MCP23017-E/ML
Model Brand I/O Count Interface Package
PCF8575 TI 16-bit I2C 400kHz SOIC-24
SX1509 Silicon Labs 16-bit I2C 400kHz QFN-28
MCP23S17-E/ML Microchip 16-bit SPI 10MHz QFN-28
MAX7317AUG+ ADI 10-bit SPI 25MHz TSSOP-24
TCA9535PWR TI 16-bit I2C 400kHz TSSOP-24

Recommend Parts

IRFS4310ZTRLPBF

IRFS4310ZTRLPBF – 100V N-Channel HEXFET Power MOSFET, 7 mΩ RDS(on), D2PAK (TO-263AB)

Brand: infineon

Package: D2PAK (TO-263AB)

IN STOCK: 11137pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MSASJ105BB5475MFNA01

4.7uF 6.3V X5R MLCC, 0402, Taiyo Yuden

Brand: gigadevice

Package: 0402 (1005 Metric, 1.0 x 0.5 x 0.5 mm)

IN STOCK: 9701pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRF3415PBF

150V N-channel power MOSFET, 43A, 41mΩ RDS(on), TO-220AB package

Brand: infineon

Package: TO-220AB

IN STOCK: 2940pcs

Cargo cycle: 3-7 Days

The minimum order is 1

105017-1001

USB Type-C receptacle connector, 24-pin, SMD

Brand: Amphenol

Package: SMD (8.9 x 7.3 x 3.2 mm, right angle)

IN STOCK: 5335pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRLB3034PBF

IRLB3034PBF – 40V N-Channel StrongIRFET Power MOSFET (Logic Level), 1.7 mΩ (max) @ 10V; 2.0 mΩ @ 4.5V RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 9724pcs

Cargo cycle: 3-7 Days

The minimum order is 1

XC6SLX75-2FGG484I

Spartan-6 LX75 FPGA, 74637 logic cells, 132 DSP, 3096KB BRAM, 408 I/O, FBGA-484 23x23mm, -2 speed, industrial -40~100C, AMD Xilinx

Brand: xilinx

Package: FGG484 (484-ball fine-pitch BGA, 23x23mm body, 1.0mm ball pitch, 22×22 ball array, 6 I/O banks, lead-free)

IN STOCK: 890pcs

Cargo cycle: 3-7 Days

The minimum order is 1