# MCP23S17 16-Bit I/O Expander with SPI Interface

- **Manufacturer**: Microchip Technology
- **Type**: Chip
- **Year**: 2005
- **URL (German)**: https://pinoutdb.org/component/mcp23s17
- **URL (English)**: https://pinoutdb.org/en/component/mcp23s17
- **Description**: 16-bit general purpose parallel I/O port expander with high-speed 10 MHz SPI interface, hardware address pins for sharing the same SPI bus, and interrupt outputs.
- **Datasheets & Links**:
  - [Microchip MCP23S17 Datasheet (PDF)](https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP23017-Data-Sheet-DS20001952.pdf) (datasheet)

## View: DIP-28 / SOIC-28 Top View (Package: dip)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | GPB0 | Digital | Port B I/O Pin 0 [GPIO] |
| 2 | GPB1 | Digital | Port B I/O Pin 1 [GPIO] |
| 3 | GPB2 | Digital | Port B I/O Pin 2 [GPIO] |
| 4 | GPB3 | Digital | Port B I/O Pin 3 [GPIO] |
| 5 | GPB4 | Digital | Port B I/O Pin 4 [GPIO] |
| 6 | GPB5 | Digital | Port B I/O Pin 5 [GPIO] |
| 7 | GPB6 | Digital | Port B I/O Pin 6 [GPIO] |
| 8 | GPB7 | Digital | Port B I/O Pin 7 [GPIO] |
| 9 | VDD | Power | Positive Supply Voltage (1.8V to 5.5V) [Power] |
| 10 | VSS | Ground | Ground Reference (0V) [Ground] |
| 11 | ~CS | Digital | SPI Chip Select (Active Low) [SPI] |
| 12 | SCK | Digital | SPI Serial Clock Input (max 10MHz) [SPI] |
| 13 | SI | Digital | SPI Serial Data Input (MOSI) [SPI] |
| 14 | SO | Digital | SPI Serial Data Output (MISO) [SPI] |
| 15 | A0 | Digital | SPI Hardware Address Bit 0 — sets LSB of device address encoded in SPI opcode; GND = 0, VDD = 1; up to 8 devices on one SPI bus (addresses 0x00–0x07) [SPI] |
| 16 | A1 | Digital | SPI Hardware Address Bit 1 — sets middle address bit; GND = 0, VDD = 1 [SPI] |
| 17 | A2 | Digital | SPI Hardware Address Bit 2 — sets MSB of configurable address bits; GND = 0, VDD = 1 [SPI] |
| 18 | ~RESET | Digital | Active Low Reset Input [Reset] |
| 19 | INTB | Digital | Port B Interrupt Output [Interrupt] |
| 20 | INTA | Digital | Port A Interrupt Output [Interrupt] |
| 21 | GPA0 | Digital | Port A I/O Pin 0 [GPIO] |
| 22 | GPA1 | Digital | Port A I/O Pin 1 [GPIO] |
| 23 | GPA2 | Digital | Port A I/O Pin 2 [GPIO] |
| 24 | GPA3 | Digital | Port A I/O Pin 3 [GPIO] |
| 25 | GPA4 | Digital | Port A I/O Pin 4 [GPIO] |
| 26 | GPA5 | Digital | Port A I/O Pin 5 [GPIO] |
| 27 | GPA6 | Digital | Port A I/O Pin 6 [GPIO] |
| 28 | GPA7 | Digital | Port A I/O Pin 7 [GPIO] |


---
Source: PinoutDatabase (https://pinoutdb.org). Verify against the manufacturer datasheet before production use.
