Opens in a new tab

MCP23S17-E/SP

16-bit SPI I/O Expander, 3 Addr Pins, 2 INT, 1.8-5.5V, SPDIP-28

5678

Effective Inventory

Image for reference only

Manufacturer Part:

MCP23S17-E/SP

Package:

SPDIP-28 (300 mil, 37.3 x 7.6 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The MCP23S17-E/SP from Microchip Technology is a 16-bit SPI I/O expander with configurable interrupt output, 3 hardware address pins, and operating voltage from 1.8 V to 5.5 V in a 28-pin DIP package.

Key Specifications

Type 16-bit SPI I/O Expander
I/O Channels 16 (PORTA + PORTB, 8 each)
Interface SPI (up to 10 MHz)
Hardware Address Pins 3 (A0, A1, A2), up to 8 devices
Interrupt Pins 2 (INTA, INTB)
Supply Voltage 1.8 V to 5.5 V
Current per Pin 25 mA (source/sink)
Package SPDIP-28 (300 mil)
Operating Temperature -40°C to +125°C

Features

  • 16 bidirectional I/O pins across two 8-bit ports
  • SPI interface supporting up to 10 MHz clock
  • 3 address pins allow 8 devices on the same SPI bus
  • 2 independent interrupt outputs with configurable source
  • Input polarity inversion register
  • External reset input

Applications

  • Expanding MCU I/O in embedded systems
  • LED matrix and display driving
  • Keyboard scanning and input expansion
  • Industrial control I/O modules
  • Robotics and hobby electronics
Product Introduction: MCP23S17-E/SP Product Introduction

The MCP23S17-E/SP from Microchip Technology is a 16-bit general-purpose parallel I/O expansion device designed for SPI bus applications. It provides 16 bidirectional I/O pins divided into two 8-bit ports (PORTA and PORTB), each with configurable interrupt-on-change capability. Three hardware address pins (A0, A1, A2) allow up to eight devices to share the same SPI chip select, providing up to 128 I/O pins from a single chip select. The device supports SPI clock rates up to 10 MHz for fast data transfer. Each I/O pin can source or sink 25 mA. The SPDIP-28 through-hole package makes it ideal for prototyping and hobby electronics.

Working Principle: MCP23S17-E/SP Working Principle

The MCP23S17-E/SP communicates with the host MCU via a standard SPI interface (SCK, MOSI, MISO, CS). Each SPI transaction consists of an opcode byte (device address + read/write bit), a register address byte, and one or more data bytes. The 22 internal registers control I/O direction (IODIRA/B), GPIO state (GPIOA/B), pull-up resistors (GPPUA/B), interrupt configuration (GPINTENA/B, INTCONA/B), and polarity inversion (IPOLA/B). When an input pin changes state, the corresponding interrupt pin (INTA or INTB) asserts if interrupt-on-change is enabled for that pin. The INTCAP register captures the port state at the time of the interrupt. The sequential operation mode allows reading or writing multiple registers in a single SPI transaction by auto-incrementing the register address.

Pin Description: MCP23S17-E/SP Pin Definition and Functions
Pin Name Type Function
1 GPB0 I/O Port B bit 0
2-8 GPB1-GPB7 I/O Port B bits 1-7
9 VDD Power Power supply (1.8-5.5V)
10 VSS Ground Ground
11 CS Input SPI chip select (active low)
12 SCK Input SPI clock
13 SI Input SPI serial data input
14 SO Output SPI serial data output
15 A0 Input Hardware address bit 0
16 A1 Input Hardware address bit 1
17 A2 Input Hardware address bit 2
18 RESET Input Active low reset
19 INTB Output Port B interrupt output
20 INTA Output Port A interrupt output
21-28 GPA0-GPA7 I/O Port A bits 0-7
Application Scenarios: In which products and applications is MCP23S17-E/SP used
  • Expanding Arduino/Raspberry Pi GPIO for LED arrays
  • Keyboard matrix scanning with interrupt detection
  • Industrial PLC I/O module expansion
  • Robotics sensor and actuator interface expansion
  • Hardware prototyping with through-hole DIP package
Alternative Models: What chips are recommended as replacements for MCP23S17-E/SP
Manufacturer Part Number Package Notes
Microchip MCP23017T-E/SS SSOP-28 I2C version, SMD package
Microchip MCP23S18-E/MJ QFN-28 Open-drain INT, SPI, QFN
NXP PCAL6524PW TSSOP-24 24-bit I2C I/O expander
Texas Instruments TCA6424ARGJR QFN-24 24-bit I2C I/O expander
onsemi NCV7342MW0R2G QFN-24 Automotive I/O expander

Recommend Parts

0751.0505

Schurter fuse, 0751.0505

Brand: schurter

Package: See datasheet

IN STOCK: 6768pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TL062CDR

Low-power JFET-input dual op-amp, 1MHz GBW, 30pA Ibias, SOIC-8, ±3.5V to ±18V

Brand: TI

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

IN STOCK: 11576pcs

Cargo cycle: 3-7 Days

The minimum order is 1

P89LPC922FN

8-bit 80C51 MCU, 8KB Flash, 256B RAM, 20-SSOP

Brand: NXP

Package: SSOP-20 (7.2 x 5.3 mm)

IN STOCK: 12628pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AC0603JR-070RL

Chip Resistor, 0Ω (Zero Ohm Jumper), ±5%, 0603 (1608 Metric), 1/10W (100mW)

Brand: Yageo

Package: 0603 (1608 Metric)

IN STOCK: 100000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LMR34206FSC5RNXRQ1

42V 2A sync buck, 5V fixed, 2.2MHz, 18uA Iq, AEC-Q100, SOT-563

Brand: TI

Package: SOT-563 (1.6 x 1.2 x 0.55mm)

IN STOCK: 6500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AO3402

30V N-channel trench MOSFET, SOT-23, 4A, RDS(on) 52m ohm max @ 10V, Qg 10nC, 2.5V gate drive capable, -55C to +150C.

Brand: aosmd

Package: SOT-23 (2.9 x 1.6 x 1.25mm)

IN STOCK: 14066pcs

Cargo cycle: 3-7 Days

The minimum order is 1