EmbeddedRelated.com
MCP23S17-E/SP

MCHPMCP23S17-E/SP

Microchip Technology
SPI-interface 16-bit I/O expander alternative when SPI is preferred over I2C.
6,163 in stock

Overview

The MCP23S17-E/SP is a 16-bit I/O expander that utilizes a high-speed 10 MHz SPI interface to provide additional GPIO pins for microcontrollers. It operates across a wide voltage range of 1.8V to 5.5V and features two 8-bit ports with configurable interrupt outputs and push-pull drive capabilities. This specific variant comes in a 28-pin SPDIP package, making it ideal for through-hole prototyping and breadboarding.

Why Choose This Part

The SPI interface allows for much higher clock speeds (up to 10 MHz) compared to I2C alternatives, reducing the latency for bit-banging or high-frequency switching. It also features three hardware address pins, allowing up to eight devices to share the same SPI chip-select line. The inclusion of a Power-On Reset (POR) and configurable interrupt pins simplifies firmware overhead by alerting the host only when input states change.

Applications

User Interface Expansion
Adding support for matrix keypads, rotary encoders, and multiple pushbuttons without exhausting primary MCU pins.
Status Indicator Arrays
Driving up to 16 individual LEDs or segment displays using the 25mA sink/source capability per pin.
Industrial System Monitoring
Interfacing with multiple digital sensors and switches in environments requiring wide temperature ranges from -40C to 125C.
Legacy System Integration
Connecting modern low-voltage MCUs to 5V peripheral logic thanks to its 1.8V to 5.5V supply range and 5V tolerance.

Key Specifications

Features POR
Interface SPI
Output Type Push-Pull
Mounting Type Through Hole
Number of I/O 16
Package / Case 28-DIP (0.300", 7.62mm)
Clock Frequency 10 MHz
Interrupt Output Yes
Voltage - Supply 1.8V ~ 5.5V
Operating Temperature -40degC ~ 125degC
Supplier Device Package 28-SPDIP
Current - Output Source/Sink 25mA

Getting Started

For rapid prototyping, plug the SPDIP package directly into a standard breadboard and connect to an MCU SPI bus (MOSI, MISO, SCK, CS). Configure the hardware address pins (A0, A1, A2) to GND or VDD to set the device's bus address. Use Microchip's MCC or standard SPI libraries to initialize the IODIR registers for setting pins as inputs or outputs.

MCP23S17-E/ Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Package Stock
MCP23S17-E/SP (this part) DIP-28 6,163
MCP23S17-E/SS SSOP-28 12,153
MCP23S17-E/SO SOIC-28 47,281

Also Consider

MCP23017-E/SP MCHPMicrochip Technology - This is the I2C version of the same 16-bit expander, useful if you want to save pins by using a two-wire bus instead of SPI.