Microchip MCP230S09 GPIO (SPI)
Jump to navigation
Jump to search
Summary
SPI-controlled GPIO expander with 8 channels, configurable as inputs or outputs with optional pull-up resistors.
Description
The **MCP230S09** component provides 8 GPIO channels accessible over SPI. Each channel can be individually configured as a digital input or output, with optional pull-up resistors. This component is useful for expanding the number of digital I/O pins on a microcontroller, controlling LEDs, buttons, or other digital devices.
Diagram:
Categories
- File:TArduinoSPICategory.png Category SPI – Components controlled via SPI bus.
- File:TArduinoDigitalCategory.png Category Digital – Components handling digital logic signals.
Properties
- SPISpeed – SPI communication speed in Hz (default 8,000,000).
Channel Properties
Each channel (Channel[0] to Channel[7]) has the following properties:
- Auto Config – Automatically configure channel at startup.
- Initial Value – Default digital value (boolean).
- Is Output – Configure the channel as digital output (otherwise input).
- Is Pull Up – Enable internal pull-up resistor for the channel.
Pins
Channel | Digital Input | Digital Output |
---|---|---|
Channel[0] | In (Digital) | Out |
Channel[1] | In (Digital) | Out |
Channel[2] | In (Digital) | Out |
Channel[3] | In (Digital) | Out |
Channel[4] | In (Digital) | Out |
Channel[5] | In (Digital) | Out |
Channel[6] | In (Digital) | Out |
Channel[7] | In (Digital) | Out |
SPI Pins
- Out (SPI) – SPI communication pin.
- Chip Select (digital) – SPI chip select pin for selecting the MCP230S09 device.