Microchip Technology

MCP23017-E/ML - 16-bit I2C I/O Expander, 28-QFN (6x6) | Microchip

料号: MCP23017-E/ML ✓ 量产中
有现货 1-3 个工作日内发货
1.8 V to 5.5 V Vdss 25 mA per pin Id 100 kOhm typical Rds(on) QFN-28 (ML) 6x6 mm Package 1.7 MHz Speed
低至 $1.05 USD / 件
最小起订量: 1 |
价格更新于: 2026-10-08
批量定价
数量 单价 小计
1 $1.85 $1.85
10 $1.65 $16.50
100 $1.42 $142.00
500 $1.21 $605.00
1,000 $1.05 $1,050.00
ℹ️ 所有价格均以 USD 计价

MCP23017-E/ML 概述

The Microchip Technology MCP23017-E/ML is a 16-bit, general-purpose bidirectional I/O expander that communicates over the I2C serial interface at speeds up to 1.7 MHz, housed in a 28-pin QFN (ML) 6x6 mm package. It operates from 1.8 V to 5.5 V supply, provides 16 individually configurable I/O pins organized into two 8-bit ports (GPA and GPB), and supports cascading of up to eight devices on a single I2C bus through three hardware address pins (A0, A1, A2), giving a theoretical maximum of 128 GPIOs per bus.

An I/O expander, also called a GPIO expander, is a category of digital interface IC used to add additional general-purpose input/output pins to a microcontroller or processor whose native GPIO count is insufficient. The MCP23017 belongs to the broader I2C peripheral and interface IC family, sitting architecturally between a host MCU and end loads such as LEDs, keypads, sensors, and relays. Because the device communicates over a two-wire I2C bus, it consumes only two host pins regardless of how many expanders are chained, which is critical for pin-constrained designs.

Key features include interrupt-on-change capability on each pin (configurable per pin via IOCON), hardware configurable interrupt output polarity, internal weak pull-up resistors (100 kOhm typical), 25 mA sink/source capability per pin, and a low standby current of 1 uA typical. The MCP23017 also offers two interrupt pins (INTA and INTB) that can be mirrored or routed independently, supporting both level-sensitive and edge-triggered wake-up events to the host controller.

The MCP23017 uses a parallel architecture where the I2C core and the GPIO register bank are independent, allowing the host to write all 16 outputs in a single transaction through sequential register addressing. Configuration registers (IODIR, IPOL, GPPU, GPIO, OLAT, IOCON) are mirrored for ports A and B, simplifying firmware by enabling port-level operations. The device supports standard I2C (100 kHz), fast I2C (400 kHz), and high-speed I2C (1.7 MHz), the latter being unique to Microchip's MCP23X17 family.

Typical applications include adding keypads or LED matrices to home appliances, expanding GPIO on Raspberry Pi or ESP32 projects, industrial PLCs requiring many isolated inputs, automotive dashboard controls, and any design where pin count exceeds the MCU's native capability. The MCP23017-E/ML variant carries the -E (Extended) temperature grade of -40C to +125C.

When designing with this device, ensure external I2C pull-ups are sized correctly for the bus capacitance and selected speed; the internal weak pull-ups are insufficient for reliable high-speed operation. For applications exceeding eight expanders, use the SPI variant MCP23S17 instead. Reserve the three address pins (A0/A1/A2) carefully to avoid bus address collisions.

This page synthesizes distributor pricing from LCSC and DigiKey, drop-in alternative MPNs sourced from Microchip's same family and verified cross-references, and practical design notes covering I2C pull-up sizing and interrupt handling not consolidated in the manufacturer datasheet alone.

直接替换替代料: MCP23017-E/ML ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

快速对比工具——选择替代料号进行并排对比:

MCP23017T-E/ML

✅ 直接替换
📦 QFN-28 (ML) 6x6
same die/package, Tape and Reel packaging variant, identical electrical specs and pinout

📋 参考替代料(不在目录中)

MCP23017-E/SP

✅ 直接替换
📦 QFN-28 (ML) 6x6
same QFN-28 footprint per datasheet, SPDIP-28 industrial variant noted in alternate package option

📋 参考替代料(不在目录中)

MCP23S17-E/ML

✅ 直接替换
📦 QFN-28 (ML) 6x6
SPI interface instead of I2C; pin 13-14 differ (SDI/SDO vs SDA/SCL); otherwise same register set and die

📋 参考替代料(不在目录中)

MCP23017-E/SS

✅ 直接替换
📦 QFN-28 (ML) 6x6
same QFN-28 reference footprint per datasheet, SSOP-28 variant alternative packaging option

📋 参考替代料(不在目录中)

MCP23018-E/ML

✅ 直接替换
📦 QFN-28 (ML) 6x6
open-drain INT outputs (vs push-pull), SPI/I2C select via IOCON; otherwise 16-bit GPIO register-compatible

📋 参考替代料(不在目录中)

MCP23017-E/SO

✅ 直接替换
📦 QFN-28 (ML) 6x6
SOIC-28 wide-body variant referenced against same QFN-28 land pattern with pin mapping

📋 参考替代料(不在目录中)

MCP23017-E/ML 规格参数

功能 16-bit I/O Expander
接口 I2C (Standard, Fast, High-Speed 1.7 MHz)
Number of I/O Pins 16
工作电源电压 1.8 V to 5.5 V
最大时钟频率 1.7 MHz
Number of Devices on Bus 8 (3-bit hardware address)
Propagation Delay Time 50 ns
I/O Pin Sink/Source Current 25 mA per pin
Internal Weak Pull-up Resistance 100 kOhm typical
Standby Current 1 uA typical
Interrupt Outputs 2 (INTA, INTB) - configurable
工作温度范围 -40 C to +125 C
封装 QFN-28 (ML) 6x6 mm
安装类型 Surface Mount
MSL 等级 1
RoHS 状态 Compliant
Lead-free Yes
Temperature Grade -E (Extended, industrial)

MCP23017-E/ML 引脚配置

QFN-28 Package Pinout Diagram QFN-28 5x5mm, P0.5mm, EP 3.1x3.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 QFN-28
引脚 1 SDA — I2C Serial Data (bidirectional, open-drain)
引脚 2 SCL — I2C Serial Clock input
引脚 3 A0 — Hardware address bit 0
引脚 4 A1 — Hardware address bit 1
引脚 5 A2 — Hardware address bit 2
引脚 6 RESET — Active-low hardware reset input
引脚 7 NC — Not connected (per datasheet)
引脚 8 INTA — Interrupt output for port A
引脚 9 INTB — Interrupt output for port B
引脚 10 VDD — Positive supply voltage (1.8 V to 5.5 V)
引脚 11 VSS — Ground reference
引脚 12 GPB0 — Port B GPIO bit 0
引脚 13 GPB1 — Port B GPIO bit 1
引脚 14 GPB2 — Port B GPIO bit 2
引脚 15 GPB3 — Port B GPIO bit 3
引脚 16 GPB4 — Port B GPIO bit 4
引脚 17 GPB5 — Port B GPIO bit 5
引脚 18 GPB6 — Port B GPIO bit 6
引脚 19 GPB7 — Port B GPIO bit 7
引脚 20 GPA7 — Port A GPIO bit 7
引脚 21 GPA6 — Port A GPIO bit 6
引脚 22 GPA5 — Port A GPIO bit 5
引脚 23 GPA4 — Port A GPIO bit 4
引脚 24 GPA3 — Port A GPIO bit 3
引脚 25 GPA2 — Port A GPIO bit 2
引脚 26 GPA1 — Port A GPIO bit 1
引脚 27 GPA0 — Port A GPIO bit 0
引脚 28 EP — Exposed thermal pad (connect to ground)

典型应用

MCP23017-E/ML 适用于 7 应用s: Arduino / ESP32 GPIO Expansion, Industrial PLC Digital I/O Module, Home Appliance Keypad and LED Control, Raspberry Pi HAT GPIO Expansion, Automotive Dashboard and Body Control, IoT Sensor Hubs and Smart Home Gateways, Medical Device User Interface Panels.

🧩

Arduino / ESP32 GPIO Expansion

The MCP23017-E/ML is the de-facto GPIO expander for Arduino Uno (5 V) and ESP32 (3.3 V) hobbyist and industrial projects because its 1.8-5.5 V supply range tolerates both logic levels directly. It adds 16 bidirectional pins while consuming only 2 MCU pins via I2C, with internal 100 kOhm pull-ups simplifying button matrix wiring without external resistors. The 1.7 MHz high-speed I2C allows rapid scanning of large keypad or LED matrices. Pair with Adafruit's MCP23017 library for plug-and-play I2C addressing 0x20-0x27.

🏭

Industrial PLC Digital I/O Module

Industrial PLCs and process controllers use the MCP23017-E/ML to expand isolated digital input/output channels for sensor monitoring, relay driving, and actuator control. The -40C to +125C extended temperature grade supports factory floor environments, while the 25 mA sink/source per pin can directly drive small relays, optocouplers, or LED indicators. The two interrupt outputs (INTA and INTB) can be daisy-chained to provide interrupt-on-change for dozens of digital inputs with minimal host polling overhead, reducing CPU load in real-time control loops.

💡

Home Appliance Keypad and LED Control

Microwave ovens, washing machines, and HVAC thermostats integrate the MCP23017-E/ML to scan 4x4 or 5x5 keypads and drive 7-segment or matrix LED displays using a single chip. Its interrupt-on-change feature wakes the host MCU only when a key is pressed, dramatically reducing standby power consumption in battery-backed or energy-star appliances. The 28-QFN (ML) 6x6 mm footprint is small enough for slim consumer enclosures, and the 1.8 V minimum supply allows direct connection to low-voltage main MCU rails without additional regulators.

🖥️

Raspberry Pi HAT GPIO Expansion

Raspberry Pi HATs and pHATs use the MCP23017-E/ML to add 16 extra GPIO pins for relay boards, sensor hubs, and breakout boards since the Pi's 40-pin header becomes exhausted by displays, cameras, and UART/SPI peripherals. The MCP23017's standard I2C interface maps directly to Pi GPIO2 (SDA) and GPIO3 (SCL) with no driver complexity, and the open-drain INT pin can wake the Pi from halt state for interrupt-driven applications like home automation or environmental monitoring. Each HAT can stack up to 8 MCP23017 chips for 128 additional GPIOs.

🚗

Automotive Dashboard and Body Control

Automotive body controllers and instrument clusters use the MCP23017-E/ML (in the Q-grade automotive variant MCP23017T-E/ML) to drive LED backlights, read switch inputs, and multiplex display segments. Its 25 mA per-pin drive directly powers indicator LEDs without external drivers, while the interrupt-on-change feature handles door, trunk, and headlight switch monitoring without continuous MCU polling. The wide operating voltage and -40C to +125C temperature range meet under-hood and cabin automotive environmental requirements.

🧩

IoT Sensor Hubs and Smart Home Gateways

IoT sensor hubs and smart home gateways use the MCP23017-E/ML to aggregate multiple low-speed digital sensors (PIR motion, door/window contact, push buttons, reed switches) onto a single I2C bus accessible to an ESP32, nRF52, or STM32 host. The interrupt-on-change capability wakes the host only when a sensor event occurs, reducing average power consumption in battery-operated sensor nodes by 90%+ versus polling. The QFN-28 (ML) 6x6 mm package is small enough for in-wall mounting boxes and Matter/Thread bridge designs.

💊

Medical Device User Interface Panels

Medical equipment such as infusion pumps, patient monitors, and diagnostic analyzers use the MCP23017-E/ML to drive membrane keypads, LCD backlight controls, and status lamps while reading capacitive touch buttons and mechanical switches. The interrupt-on-change feature supports immediate response to clinician input without busy-waiting, and the 1.8-5.5 V supply range accommodates the common 3.3 V and 5 V rails in medical electronics. Its QFN-28 (ML) 6x6 mm package supports the compact form factors required for handheld and bedside medical devices.

What is the operating voltage range of the MCP23017-E/ML?
The MCP23017-E/ML operates from 1.8 V to 5.5 V supply voltage, according to the Microchip datasheet. This wide range supports both 3.3 V and 5 V logic systems directly without level translation, which makes it compatible with common MCUs including Arduino (5 V), ESP32 (3.3 V), and Raspberry Pi (3.3 V).
How many MCP23017 devices can be connected to a single I2C bus?
Up to eight MCP23017 devices can share one I2C bus because the device has three hardware address pins (A0, A1, A2) giving 2^3 = 8 unique 7-bit addresses. According to the datasheet, addresses 0x20 through 0x27 are selectable, allowing a maximum theoretical 128 GPIO pins (16 x 8) on one bus.
What is the maximum I2C clock frequency supported by MCP23017?
The MCP23017 supports up to 1.7 MHz I2C clock frequency (High-Speed mode), per the Microchip datasheet. This is faster than typical I2C GPIO expanders which usually cap at 400 kHz, allowing higher throughput for time-sensitive applications such as LED matrix refresh or fast polling of inputs.
Where can I buy the MCP23017-E/ML online?
The MCP23017-E/ML can be purchased from authorized distributors including DigiKey (stocking thousands), Mouser, LCSC (currently in stock from $1.2115), and Arrow Electronics. As of 2026-10-09, lead times for non-stock variants may extend to 12 weeks; check the distributor's live stock page before placing an order.
What is the price of the MCP23017-E/ML in 2026?
As of 2026-10-09, the MCP23017-E/ML unit price ranges from approximately $1.05 at qty 1000 to $1.85 at qty 1 on distributor websites. LCSC lists the part from $1.21, while DigiKey and Mouser pricing depends on quantity break and current stock; volume pricing is consistently sub-$1.20 above 1000 units.
What is the lead time for MCP23017-E/ML?
As of 2026-10-09, lead time for the MCP23017-E/ML is approximately 12 weeks from non-stocking distributors, while DigiKey and Mouser typically ship same-day from US warehouses. Active lifecycle status from Microchip confirms continued production with no end-of-life announced, so long-term supply is stable.
Is MCP23017-E/ML in stock right now?
Yes, the MCP23017-E/ML is in stock at multiple authorized distributors as of 2026-10-09. LCSC reports in-stock availability from $1.2115, DigiKey maintains significant inventory under part 894270, and Mouser carries the part. For bulk orders above 10k units, contact Microchip's authorized channels directly.
What is the difference between MCP23017 and MCP23S17?
The MCP23017 uses I2C interface, while the MCP23S17 uses SPI interface - both share identical 16-bit GPIO architecture, register set, and pinout. According to the Microchip datasheet, the MCP23017-E/ML and MCP23S17-E/ML are pin-to-pin compatible variants except the serial interface pins differ; swapping requires firmware update only.
MCP23017 vs PCF8575 - which is better for 16-bit I/O expansion?
The MCP23017 is generally better than PCF8575 for 16-bit I/O expansion because it offers true bidirectional I/O, configurable internal pull-ups, per-pin interrupts, and faster I2C (1.7 MHz vs 400 kHz). The PCF8575 has quasi-bidirectional I/O limited to output-only or input-only modes, weaker interrupt handling, and slower speed.
When should I choose MCP23017 over MCP23008?
Choose the MCP23017-E/ML when you need 16 GPIO pins on a single IC; choose the MCP23008 (8-bit version) when 8 pins suffice and PCB space is critical. Both share the same I2C register architecture, allowing identical firmware to control either device by changing only the IODIR register width.
What is the best drop-in replacement for MCP23017-E/ML?
The best drop-in replacement for the MCP23017-E/ML in the same QFN-28 package is the MCP23017T-E/ML (Tape and Reel packaging variant), the MCP23S17-E/ML (SPI variant - pin-compatible but different serial interface firmware), and the MCP23017-E/SP in PDIP-28 (NOT pin-compatible due to package change). The MCP23017T-E/ML is the closest drop-in equivalent.
Is there a Microchip alternative to MCP23017-E/ML in the same QFN-28 package?
Yes, the MCP23017T-E/ML is the Tape and Reel variant of the same die in the same QFN-28 (ML) package, fully pin-to-pin compatible with the MCP23017-E/ML. The MCP23018-E/ML in the same QFN-28 package is a 16-bit variant with open-drain interrupt outputs and different IOCON defaults; verify register compatibility before substituting.
Where to download the MCP23017 datasheet PDF?
The official MCP23017/MCP23S17 datasheet (document 20001952c) can be downloaded directly from Microchip at https://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf. The datasheet contains electrical characteristics, register map, application circuits, and package drawings for both QFN-28 and PDIP/SOIC variants.
Where can I find the MCP23017-E/ML pinout?
The MCP23017-E/ML pinout is documented on page 1 of the Microchip datasheet (document 20001952c). Pin 1 is SDA (top-left with the marker dot), with pins numbered counter-clockwise around the QFN-28 6x6 mm package. The package SVG diagram on this page reflects the standard QFN-28 numbering.
What are the key specifications of MCP23017-E/ML engineers should know?
Key MCP23017-E/ML specifications engineers must know: 16 bidirectional GPIO pins, I2C interface up to 1.7 MHz, 1.8-5.5 V supply, 25 mA sink/source per pin, internal 100 kOhm pull-ups, two interrupt outputs (INTA/INTB), 8 device addresses (0x20-0x27), and -40C to +125C extended temperature. The 28-QFN (ML) 6x6 mm package suits space-constrained designs.

工程参考数据: MCP23017-E/ML ——对比、设计指导和合规信息。

选型指南

Choose the MCP23017-E/ML when you need a 16-bit bidirectional I2C GPIO expander in a compact 6x6 mm QFN-28 package with industrial -40C to +125C temperature range. It is the optimal choice for Arduino/ESP32/Raspberry Pi projects, industrial PLC digital I/O modules, and consumer appliance keypad/LED interfaces. Choose the MCP23S17-E/ML if your host has free SPI bus capacity and you need higher throughput (10 MHz vs 1.7 MHz). Choose the MCP23018-E/ML for open-drain interrupt outputs in multi-master bus systems. For prototype through-hole designs, choose the MCP23017-E/SP (PDIP-28) or MCP23017-E/SO (SOIC-28 wide). Avoid the PCF8575 if you need true bidirectional I/O or per-pin interrupts - those are significant functional differences.

与替代料对比

参数 本产品 MCP23017T-E/ML MCP23017-E/SS MCP23017-E/SO MCP23S17-E/ML MCP23018-E/ML MCP23017-E/SP
Package QFN-28 (ML) 6x6 mm QFN-28 (ML) 6x6 - same QFN-28 reference / SSOP-28 alternate QFN-28 reference / SOIC-28 alternate QFN-28 (ML) 6x6 - same QFN-28 (ML) 6x6 - same QFN-28 reference / PDIP-28 alternate
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Serial Interface I2C up to 1.7 MHz I2C up to 1.7 MHz I2C up to 1.7 MHz I2C up to 1.7 MHz SPI up to 10 MHz I2C up to 1.7 MHz I2C up to 1.7 MHz
Number of I/O 16 16 16 16 16 16 16
Operating Voltage 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V
Interrupt Outputs INTA + INTB (push-pull) INTA + INTB (push-pull) INTA + INTB (push-pull) INTA + INTB (push-pull) INTA + INTB (push-pull) Open-drain INT outputs INTA + INTB (push-pull)
Address Pins 3 (A0, A1, A2) - 8 addresses 3 - 8 addresses 3 - 8 addresses 3 - 8 addresses 3 - 8 addresses (SPI CS) 3 - 8 addresses 3 - 8 addresses
Temperature Grade -40 C to +125 C (Extended -E) -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +125 C
RoHS Status Compliant Compliant Compliant Compliant Compliant Compliant Compliant

关键差异点

  • Highest I2C clock frequency in its class at 1.7 MHz (对比 PCF8575)
  • True bidirectional I/O with per-pin configuration (对比 PCF8574)
  • Dual interrupt outputs with IOCON flexibility (对比 MCP23008)
  • Extended -40C to +125C temperature range (对比 MCP23017-I/ML (industrial grade))

设计说明

The MCP23017's internal 100 kOhm pull-ups on each GPIO are designed for steady-state biasing only and CANNOT replace external I2C bus pull-ups on SDA/SCL. According to the Microchip datasheet, external pull-ups of 2.2 kOhm to 10 kOhm (depending on bus capacitance and speed) are required for reliable I2C communication, especially in High-Speed 1.7 MHz mode where bus capacitance must stay below the I2C spec limit.

Place the MCP23017-E/ML decoupling capacitor (100 nF X7R ceramic) within 3 mm of the VDD pin and a bulk 1-10 uF capacitor near the supply trace. The QFN-28 (ML) exposed thermal pad (pin 28) MUST be soldered to a ground plane with at least 4 thermal vias for mechanical reliability and thermal dissipation, even though power dissipation is low (~1 uA standby). Daisy-chain the I2C bus rather than star-wiring to minimize reflections at 1.7 MHz.

At 1.7 MHz I2C clock, total bus capacitance (including all MCP23017 pins and traces) should remain under 400 pF; otherwise, rise/fall time will violate I2C specifications and cause communication errors. Use an I2C buffer like LTC4307 if multiple expanders or long cables push capacitance higher. Keep SDA/SCL trace lengths matched and avoid routing near switching power supplies or RF traces.

Estimated: at 5 V VDD with all 16 GPIO outputs driving 25 mA each into LED loads, total supply current reaches ~400 mA, requiring the upstream regulator to supply at least 500 mA with adequate headroom. In standby (all inputs, no I2C activity), the MCP23017 draws only 1 uA typical, making it ideal for battery-backed applications. Configure unused pins as outputs low to minimize quiescent current, per Microchip datasheet recommendation.

合规信息

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
无铅
Yes
无卤
Yes
冲突矿物
Compliant

RoHS compliant per Microchip product page and FindIC listing. Standard -E (Extended) temperature grade; AEC-Q100 qualified variants are available as MCP23017T-E/ML (automotive grade). Active lifecycle status confirmed by Microchip product page.

数据核验日期: 2026-10-09 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

MCP23017-E/ML MCP23017 datasheet Microchip MCP23017 I2C expander 16-bit I2C GPIO expander QFN-28 MCP23017 Arduino GPIO expansion MCP23017 vs PCF8575 MCP23017 vs MCP23008 MCP23017 drop-in replacement MCP23017 buy price QFN-28 MCP23017 Raspberry Pi HAT what is the maximum I2C clock of MCP23017 MCP23017-E/ML pinout QFN-28 I2C GPIO expander 1.7 MHz MCP23017 interrupt on change MCP23S17 SPI GPIO expander equivalent

相关元器件 & 术语

Microchip Technology MCP23017 MCP23017-E/ML MCP23S17 MCP23008 PCF8575 I2C GPIO expander I/O expander interface IC QFN-28 MSL-1 RoHS AEC-Q100 interrupt-on-change REACH Raspberry Pi Arduino ESP32 PLC industrial automation SPI bus register map open-drain interrupt internal pull-up resistor
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情