Opens in a new tab

MCP23S08-E/SO

8-bit SPI I/O expander, 10MHz, 3 addr pins, interrupt, SOIC-18

11585

Effective Inventory

Image for reference only

Manufacturer Part:

MCP23S08-E/SO

Package:

18-SOIC (7.5 x 10.3 x 2.0 mm, SO package, 1.27mm pitch)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The MCP23S08-E/SO from Microchip is an 8-bit SPI I/O expander with configurable interrupt output, 10MHz SPI interface, and sequential operation mode in an 18-pin SOIC package.

Key Specifications

Function 8-Bit SPI I/O Expander
Interface SPI (up to 10 MHz)
I/O Pins 8 (bidirectional, individually configurable)
Supply Voltage 1.8V to 5.5V
SPI Clock Up to 10 MHz
Interrupt Output Yes (configurable: active-high/low, open-drain/push-pull)
Hardware Address Pins 3 (A0-A2, up to 8 devices on one SPI bus)
Operating Modes Sequential (byte-by-byte) or Byte mode
Package 18-SOIC (7.5mm width)
Operating Temperature -40 to +125 C

Features

  • 8 bidirectional I/O pins with configurable pull-ups
  • 10MHz SPI interface for fast I/O access
  • Configurable interrupt on change for each pin
  • 3 hardware address pins for 8 devices per bus
  • Sequential read/write for efficient register access
  • Input polarity inversion register

Applications

  • Expanding MCU I/O capability via SPI
  • Keypad scanning with interrupt-on-change
  • LED matrix control
  • Industrial digital I/O expansion
Product Introduction: MCP23S08-E/SO Product Introduction

The MCP23S08-E/SO from Microchip is an 8-bit general-purpose I/O expander designed to add remote I/O capability to an MCU via an SPI interface. The device provides 8 bidirectional I/O pins that can be individually configured as inputs or outputs, with optional internal 100kOhm pull-up resistors on input pins. The SPI interface supports clock rates up to 10MHz for fast I/O read/write access, and the sequential operation mode allows reading or writing multiple registers in a single SPI transaction by keeping the CS pin low and clocking additional bytes. The MCP23S08 features a configurable interrupt output (INT pin) that can be triggered on input pin change, with independent interrupt-on-change enable and default comparison registers for each pin. The interrupt output is configurable as active-high or active-low, and as open-drain or push-pull, providing flexibility for different system architectures. The three hardware address pins (A0-A2) allow up to 8 MCP23S08 devices to share the same SPI chip select, for a total of 64 additional I/O pins on a single SPI bus. The input polarity register allows inverting the logic level of any input pin without external components, useful for interfacing with active-low signals. The MCP23S08 is the SPI variant of the MCP23008 (I2C version), offering faster communication speed for applications that require rapid I/O access. The extended -40 to +125C temperature range supports automotive and industrial applications.

Working Principle: MCP23S08-E/SO Working Principle

The MCP23S08-E/SO operates as an SPI-slave I/O expander with 8 bidirectional I/O pins. Key subsystems include: (1) SPI Interface – a standard SPI slave interface with CS (chip select), SCK (clock), SI (slave in/MOSI), and SO (slave out/MISO) pins; the CS pin must be low for communication; each SPI transaction consists of a control byte (opcode bit + A2-A0 address + R/W bit) followed by a register address byte and one or more data bytes; in sequential mode, the register address auto-increments after each byte, allowing multi-register transfers without releasing CS; (2) I/O Port – the 8 I/O pins (GP0-GP7) are controlled by several registers: IODIR (direction: 0=output, 1=input), GPIO (read/write data), OLAT (output latch), GPPU (pull-up enable), IPOL (input polarity inversion); (3) Interrupt Logic – each input pin can be configured for interrupt-on-change via the GPINTEN register; when the pin state differs from the DEFVAL register value, the INT pin is asserted; the INTF register identifies which pin(s) caused the interrupt; reading the GPIO or INTCAP register clears the interrupt; (4) Address Pins – the A0-A2 pins set the device’s SPI address (0-7), allowing up to 8 devices to share the same CS line; the address is included in the control byte of each SPI transaction; (5) Configuration Register – the IOCON register controls operational modes: sequential operation enable, slew rate control, interrupt polarity, open-drain interrupt, and hardware address enable.

Pin Description: MCP23S08-E/SO Pin Definition and Functions
Pin Name Function
1 GP0 I/O pin 0
2 GP1 I/O pin 1
3 GP2 I/O pin 2
4 GP3 I/O pin 3
5 GP4 I/O pin 4
6 GP5 I/O pin 5
7 GP6 I/O pin 6
8 GP7 I/O pin 7
9 VSS Ground
10 CS SPI chip select (active low)
11 SCK SPI clock
12 SI SPI data in (MOSI)
13 SO SPI data out (MISO)
14 A0 Hardware address bit 0
15 A1 Hardware address bit 1
16 A2 Hardware address bit 2
17 INT Interrupt output (configurable)
18 VDD Supply voltage (1.8V to 5.5V)
Application Scenarios: In which products and applications is MCP23S08-E/SO used
  • Keypad scanning: 8 I/O pins as 4×4 matrix inputs with interrupt-on-change waking MCU from sleep
  • LED matrix: 8 outputs driving LED columns at 10MHz SPI for fast refresh of multiplexed display
  • Industrial I/O: expand MCU from 32 to 40 I/O pins with 1 MCP23S08, interrupt on limit switch change
  • Multi-device: 4x MCP23S08 on same CS (different A0-A2) for 32 additional I/O pins, sequential read for fast scan
Alternative Models: What chips are recommended as replacements for MCP23S08-E/SO
Manufacturer Part Number Package Notes
Microchip MCP23008-E/SO SOIC-18 I2C version of same device
Microchip MCP23S17-E/SS SSOP-28 16-bit SPI I/O expander
NXP PCAL6416APW TSSOP-24 16-bit I2C I/O expander
TI SN74S1059ADBR SSOP-24 8-bit SPI I/O expander

Recommend Parts

TMP275AIDR

0.5C I2C temp sensor, 12-bit, 2.7-5.5V, alert output, 8-SOIC

Brand: TI

Package: 8-SOIC (4.90 x 3.91 x 1.50 mm)

IN STOCK: 3681pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IL485E

NVE IL485E IsoLoop isolated RS-485 transceiver, 2.5kVrms isolation, 35Mbps, 16-SOIC WB

Brand: nve

Package: SOIC-16 WB

IN STOCK: 5280pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFS4227TRLPBF

IRFS4227TRLPBF – 200V N-Channel HEXFET PDP Switch Power MOSFET, 26 mΩ RDS(on), D2PAK (TO-263)

Brand: infineon

Package: D2PAK (TO-263)

IN STOCK: 4334pcs

Cargo cycle: 3-7 Days

The minimum order is 1

CD4070BM96

Quad 2-input XOR gate, 3-18V CMOS, 65ns at 10V, SOIC-14

Brand: TI

Package: SOIC-14 (8.75 x 3.9 x 1.5mm)

IN STOCK: 4245pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AB1526

Bluetooth 5.0 Dual Mode Audio SoC, TWS, AAC, Dual-mic ENC, Integrated Charger, BGA

Brand: airoha

Package: BGA

IN STOCK: 25000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LP2980IM5-5.0

50mA micropower ultra-low-dropout regulator, 5V, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.1 mm)

IN STOCK: 2557pcs

Cargo cycle: 3-7 Days

The minimum order is 1