Opens in a new tab

MCP23017-E

16-bit I2C I/O expander, 1.8-5.5V, interrupt-on-change, pull-ups, industrial temp, SOIC-28

10500

Effective Inventory

Image for reference only

Manufacturer Part:

MCP23017-E

Package:

SOIC-28 (150 mils body width)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The MCP23017-E is a 16-bit I/O expander with I2C interface from Microchip Technology. This device provides 16 bits of general-purpose parallel I/O expansion via a simple I2C serial interface, allowing designers to add additional I/O pins to microcontroller-based systems with minimal wiring. Operating from 1.8V to 5.5V, the MCP23017-E features configurable I/O direction, pull-up resistors, and interrupt-on-change capability, making it ideal for applications requiring additional GPIO pins.

Key Specifications

Manufacturer Microchip Technology
I/O Ports 16 (2 x 8-bit ports)
Interface I2C (up to 1.7 MHz)
Supply Voltage 1.8V to 5.5V
Operating Temperature -40°C to +125°C
Package SSOP-28 / QFN-28 / DIP-28 (E/UN variant: SOIC-28)
Interrupt Output Open-drain, configurable polarity
Address Pins 3 (up to 8 devices on bus)
Output Current 25 mA per pin
Features Interrupt-on-change, pull-up resistors

Features

  • 16-bit remote I/O expansion via I2C interface
  • I2C clock frequency up to 1.7 MHz (High-Speed mode)
  • Three hardware address pins (up to 8 devices on bus)
  • Configurable I/O direction per pin
  • Programmable pull-up resistors (100kΩ typical)
  • Interrupt-on-change with configurable polarity
  • Open-drain interrupt output pin
  • Polarity inversion register
  • Low standby current: 1 µA typical
  • Wide operating voltage: 1.8V to 5.5V
  • Extended temperature range: -40°C to +125°C
  • AEC-Q100 qualified (automotive grade)

    Applications

    • GPIO expansion for microcontrollers
    • Keypad and switch matrix interfaces
    • LED and display control
    • Industrial sensor and actuator interfaces
    • Server and telecom equipment
    • Consumer electronics and home automation
Product Introduction: MCP23017-E Product Introduction

The MCP23017-E is a 16-bit I/O expander with I2C interface from Microchip Technology, designed to provide additional general-purpose I/O pins to microcontroller systems via a simple two-wire serial interface. The device consists of two 8-bit ports (Port A and Port B), each with individually configurable direction, pull-up resistors, and interrupt settings. The I2C interface supports Standard (100 kHz), Fast (400 kHz), and High-Speed (1.7 MHz) modes, accommodating various system speed requirements. Three hardware address pins allow up to eight MCP23017 devices to share the same I2C bus, providing up to 128 additional I/O pins with minimal bus loading. The ‘E’ suffix indicates the extended industrial temperature range of -40°C to +125°C and AEC-Q100 automotive qualification. Key features include interrupt-on-change capability that can detect level changes on any input pin and generate an interrupt signal, programmable internal pull-up resistors that eliminate the need for external components, and polarity inversion registers that allow software control of input logic polarity. The MCP23017 is widely used in applications where microcontroller GPIO is limited, such as keypad scanning, LED driving, sensor interfacing, and industrial control systems.

Working Principle: MCP23017-E Working Principle

The MCP23017-E operates as an I2C slave device that provides 16 bits of general-purpose I/O through a serial interface. The I2C interface receives commands from a bus master (typically a microcontroller) to configure and read/write the I/O ports. Internally, the device contains a set of registers that control the behavior of each I/O pin: the IODIR registers configure pin direction (input or output), the GPIO registers hold the current pin values, the GPPU registers enable or disable internal pull-up resistors, and the IPOL registers control input polarity inversion. The interrupt system works by comparing the current input state against a previously latched value stored in the INTCAP registers. When a pin state change is detected on an enabled interrupt pin, the INT output pin is asserted (active-low by default, but configurable to active-high via the IOCON register). The interrupt is cleared by reading the INTCAP or GPIO register, and the captured value at the time of the interrupt is preserved in the INTCAP register. The three address pins (A0, A1, A2) set the 3-bit hardware address, allowing up to 8 devices on the same I2C bus without address conflicts. The internal 100kΩ pull-up resistors can be individually enabled per pin through the GPPU registers. When configured as outputs, each pin can source/sink up to 25 mA, sufficient to drive LEDs directly or interface with most logic families.

Pin Description: MCP23017-E Pin Definition and Functions
Pin Name Type Function
1 GPB0 I/O Port B bit 0
2 GPB1 I/O Port B bit 1
3 GPB2 I/O Port B bit 2
4 GPB3 I/O Port B bit 3
5 GPB4 I/O Port B bit 4
6 GPB5 I/O Port B bit 5
7 GPB6 I/O Port B bit 6
8 GPB7 I/O Port B bit 7
9 VDD Power Positive supply voltage (1.8V to 5.5V)
10 VSS Ground Ground
11 NC – No internal connection
12 SCL Input I2C serial clock input
13 SDA I/O I2C serial data I/O
14 INTA Output Interrupt output Port A (open-drain)
15 INTB Output Interrupt output Port B (open-drain)
16 RESET Input Active-low reset input
17 A2 Input Hardware address bit 2
18 A1 Input Hardware address bit 1
19 A0 Input Hardware address bit 0
20 GPA0 I/O Port A bit 0
21 GPA1 I/O Port A bit 1
22 GPA2 I/O Port A bit 2
23 GPA3 I/O Port A bit 3
24 GPA4 I/O Port A bit 4
25 GPA5 I/O Port A bit 5
26 GPA6 I/O Port A bit 6
27 GPA7 I/O Port A bit 7
28 NC – No internal connection
Application Scenarios: In which products and applications is MCP23017-E used
  • GPIO expansion for microcontroller-based systems
  • Keypad and switch matrix scanning interfaces
  • LED indicator and segment display driving
  • Industrial sensor and actuator control modules
  • Server management and telecom equipment
  • Consumer electronics and home automation systems
Alternative Models: What chips are recommended as replacements for MCP23017-E
Manufacturer Part Number Package Notes
Microchip MCP23008-E/SO SOIC-18 8-bit I2C I/O expander
Microchip MCP23S17-E/SO SOIC-28 16-bit SPI I/O expander
NXP PCF8574 SOIC-16 8-bit I2C I/O expander alternative
TI TCA9535 SOIC-24 16-bit I2C I/O expander
ON Semiconductor CAT9555 SOIC-24 16-bit I2C GPIO expander

Recommend Parts

ISO1176TDWR

Isolated RS-485 transceiver, 40Mbps, integrated transformer driver, SOIC-16

Brand: TI

Package: SOIC-16 (DW, wide-body, 10.3 x 10.3 mm)

IN STOCK: 6874pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4020PBF

200V N-Channel HEXFET Power MOSFET, 31A, 68 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 14149pcs

Cargo cycle: 3-7 Days

The minimum order is 1

NRF52832-QFAA-T

Nordic BLE SoC, ARM Cortex-M4 @ 64MHz, 64KB Flash, 32KB RAM, QFN-48

Package: See datasheet

IN STOCK: 10958pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

Package: SOT-23-3 (TO-236, SC-59)

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1