{"product_id":"mcp23s17-16-bit-i-o-expander-spi","title":"MCP23S17 16-Bit I\/O Expander SPI","description":"\u003cp\u003e\u003cspan\u003eProvides a 16 GPIO using SPI bus at up to 10MHz.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MCP23S17 provides a 16-bit general purpose bidirectional I\/O port using the SPI bus.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMCP23S17 16-bit I\/O Expander with SPI bus\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MCP23S17 16-BIT I\/O EXPANDER WITH SPI:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e16 bidirectional I\/O lines\u003c\/li\u003e\n\u003cli\u003eSPI bus operates up to 10MHz\u003c\/li\u003e\n\u003cli\u003e3 address lines for up to 8 devices on same SPI bus\u003c\/li\u003e\n\u003cli\u003e2 configurable interrupt outputs\u003c\/li\u003e\n\u003cli\u003e25mA per pin \/ 150mA per package current capability\u003c\/li\u003e\n\u003cli\u003e28-pin 0.3″ PDIP package is breadboard friendly\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11403 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg\" alt=\"MCP23S17 Pinout\" width=\"232\" height=\"205\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg 232w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout-212x187.jpg 212w\" data-lazy-sizes=\"(max-width: 232px) 100vw, 232px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 232px) 100vw, 232px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg 232w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout-212x187.jpg 212w\"\u003e\u003c\/p\u003e\n\u003cp\u003eIt’s not unusual to run out of I\/O pins on a microcontroller and the MCP23S17 is a way to increase the number of high speed GPIO available and has fairly good library support.\u003c\/p\u003e\n\u003ch3\u003eSPI Bus\u003c\/h3\u003e\n\u003cp\u003eSince it interfaces using the SPI bus, the MCP23017 uses only 4 pins on the MCU and up to 8 chips can be operated off the same SPI bus for a total of up to 128 I\/O lines.\u003c\/p\u003e\n\u003cp\u003eThree address pins (A0-A2) are used for setting the address of the chip. These pins must be tied high or low to set the address and not left floating. If all three pins are tied to ground, the base address is 0x20 and can go up to 0x27 if they are all tied to Vcc. If more than 1 chip is used on an SPI bus, each must be set to a unique address.\u003c\/p\u003e\n\u003cp\u003eThe SPI bus can operate at up to 10MHz for very fast manipulation of the I\/O lines for high speed applications. Unlike the I2C version of the chip, the maximum speed is the same for both 3.3V and 5V operation.\u003c\/p\u003e\n\u003cp\u003eIf an I2C version of this part is preferred, the MCP23017 which is the same chip, but uses the I2C bus can operate at up to 1.7MHz bus speed at 5V or 400kHz bus speed at 3.3V.\u003c\/p\u003e\n\u003ch3\u003eI\/O Ports\u003c\/h3\u003e\n\u003cp\u003eThe 16 GPIO lines are configured as two 8-bit ports (PORTA and PORTB). Each pin can also be individually defined as an input or output for complete flexibility.\u003c\/p\u003e\n\u003cp\u003eWhen pins are configured as inputs, an internal 100K pullup resistor can be enabled which is handy for inputs such as switches that require a pullup to Vcc when the switch is open and pull to ground when pressed. This removes the need to add external pullup resistors in some applications.\u003c\/p\u003e\n\u003cp\u003eAnother nice feature is that the input pins can be selectively inverted. For instance, a button press that would normally return a logic LOW can be inverted so it returns a HIGH.\u003c\/p\u003e\n\u003cp\u003eEach GPIO pin can handle up to 25mA, but the total current for all pins must be kept under 150mA. If driving something like 16 LEDs, each LED current needs to be kept down around 9mA if they may all be on at the same time to avoid overheating the chip.\u003c\/p\u003e\n\u003ch3\u003eInterrupts\u003c\/h3\u003e\n\u003cp\u003eInterrupt capability is a nice feature since the MCU does not have to continuously poll the device looking for any change on the inputs.\u003c\/p\u003e\n\u003cp\u003eEach of the two ports has a configurable interrupt output that can be used independently or the two interrupts can work together.  Input pins can be set to interrupt the MCU upon a state change.\u003c\/p\u003e\n\u003cp\u003eAnother nice feature is that the interrupt outputs can be configurated as active LOW, active HIGH or OPEN-DRAIN.\u003c\/p\u003e\n\u003ch3\u003eReset\u003c\/h3\u003e\n\u003cp\u003eThe reset pin is active LOW and must be externally biased. If not using the reset pin, it can be tied to Vcc. It can also be be put under MCU control by connecting it to a digital output pin on the MCU. The pin is normally HIGH and momentarily driven LOW to reset the MCP23S17.\u003c\/p\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11404 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg\" alt=\"MCP23S17 Switch and LED Circuit\" width=\"431\" height=\"307\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg 431w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-300x214.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-263x187.jpg 263w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-400x285.jpg 400w\" data-lazy-sizes=\"(max-width: 431px) 100vw, 431px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 431px) 100vw, 431px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg 431w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-300x214.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-263x187.jpg 263w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-400x285.jpg 400w\"\u003eThese parts are easy to use and have decent library support on most MCU platforms, though not quite as good as the MCP23017 I2C version of the part.\u003c\/p\u003e\n\u003cp\u003eThe simple example shown here sets up one pin (GPA0) as an input to detect a button press.  A second pin (GPA1) is setup as an output to light an LED while the button is being pressed.\u003c\/p\u003e\n\u003cp\u003eHookup of the chip is straight forward.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003ePin 9 Vdd – Connect to 3.3V or 5V to match the MCU\u003c\/li\u003e\n\u003cli\u003ePin 10 Vss – Connect to ground\u003c\/li\u003e\n\u003cli\u003ePin 11 CS – Connect to SPI CS on MCU\u003c\/li\u003e\n\u003cli\u003ePin 12 SCK – Connect to SPI SCK on MCU\u003c\/li\u003e\n\u003cli\u003ePin 13 SI – Connect to SPI MOSI on MCU\u003c\/li\u003e\n\u003cli\u003ePin 14 SO – Connect to SPI MISO on MCU\u003c\/li\u003e\n\u003cli\u003ePins 15, 16, 17 A0-A2 – Connect to Ground to set SPI address to 0x20\u003c\/li\u003e\n\u003cli\u003ePin 18 RESET – Connect to Vdd using a 10K or so pullup resistor\u003c\/li\u003e\n\u003cli\u003ePin 21 GPA0- Connect one side of pushbutton, other side goes to ground\u003c\/li\u003e\n\u003cli\u003ePin 22 GPA1 – Connect to LED cathode.  Anode of the LED connects to Vdd through 220 to 470 ohm current limit resistor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use.jpg\"\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11405 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg\" alt=\"MCP23S17 16-Bit GPIO with SPI Interface - In Use\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use.jpg 800w\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eIn this example, we are using the Majenko MCP23S17 library which can be downloaded from GetHub: \u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/github.com\/MajenkoLibraries\/MCP23S17\" rel=\"noopener\" target=\"_blank\"\u003ehttps:\/\/github.com\/MajenkoLibraries\/MCP23S17\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eOnce the  library is downloaded, you can add it using the IDE\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eInclude Library \/ Add .ZIP Library\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eand navigate to where you downloaded it.\u003c\/p\u003e\n\u003cp\u003eOnce the program is downloaded to the MCU and running, pressing the pushbutton should cause the LED to light as long as the button is depressed.\u003c\/p\u003e\n\u003cp\u003eAn interesting exercise left up to the user is to modify this setup to use interrupts to notify the MCU that the button state has changed rather than constantly polling the MCP23S17 to see what the current state is.\u003c\/p\u003e\n\u003ch3\u003eMCP23S17 16-Bit I\/O Expander Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e * MCP23S17 Test Program\u003c\/span\u003e\n\u003cspan\u003e *\u003c\/span\u003e\n\u003cspan\u003e * Set one pin as input and detect a button push\u003c\/span\u003e\n\u003cspan\u003e * Set one pin as output and turn on LED when button is pushed\u003c\/span\u003e\n\u003cspan\u003e * \u003c\/span\u003e\n\u003cspan\u003e * Vdd = 3.3V or 5V to match your microcontroller (Vcc)\u003c\/span\u003e\n\u003cspan\u003e * \u003c\/span\u003e\n\u003cspan\u003e * Connect pin #9 (Vdd) of the expander to Vcc (IC power)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #10 (Vss) of the expander to ground (IC ground)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #11 (CS) of the expander to SPI CS (Uno 10)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #12 (SCK) of the expander to SPI SCK (Uno 13)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #13 (SI)of the expander to SPI MOSI (Uno 11)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #14 (SO)of the expander to SPI MISO (Uno 12)\u003c\/span\u003e\n\u003cspan\u003e * Connect pins #15, 16 and 17 (A0-2) of the expander to ground\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #18 (RESET) through a ~10kohm resistor to Vcc\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #21 (GPA0) to pushbutton, other side to ground\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #22 (GPA1) to LED cathode, other side to Vcc through 470ohm resistor\u003c\/span\u003e\n\u003cspan\u003e *\/\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eSPI\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e          \u003cspan\u003e\/\/ Arduino SPI library\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003eMCP23S17\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e     \u003cspan\u003e\/\/ Majenko MCP23S17 Library\u003c\/span\u003e\n\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003euint8_t\u003c\/span\u003e \u003cspan\u003echipSelect\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003eMCP23S17\u003c\/span\u003e \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\u0026amp;\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eSPI\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003echipSelect\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Uses default address of 0\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ use default address 0\u003c\/span\u003e\n  \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT_PULLUP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Switch input with pullup resistor enabled\u003c\/span\u003e\n  \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ LED output\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \n  \u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e==\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e  \u003cspan\u003e\/\/ Button is pressed\u003c\/span\u003e\n    \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Turn on LED\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e\n    \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Turn off LED\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e100\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"873\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperational Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vdd\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.8- 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Max SPI Clock Speed\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVdd =2.7 to 5.5\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e10MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e   Output Current\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePer I\/O Pin\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTotal package output current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e150mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eFootprint\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0.3″ DIP-28\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eType\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eMicrochip\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMicrochip\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/20001952C.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003eMCP23017\/MCP23S17\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674473029867,"sku":"","price":9.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MCP23S17-16-Bit-GPIO-with-SPI-Interface.jpg?v=1723007358","url":"https:\/\/keszooxstore.com\/products\/mcp23s17-16-bit-i-o-expander-spi","provider":"Keszoox","version":"1.0","type":"link"}