1721964897143

MCP23S08T-E/ML

MCP23X08 devices provide 8-bit, general-purpose, parallel I/O expansion for I2C bus or SPI applications. The two devices differ in the number of hardware address pins and serial interfaces: • MCP23008-I2C interface; three address pins • MCP23S08-SPI interface; two address pins MCP23X08 consist of multiple 8-bit configuration registers for input, output, and polarity selection. The system host can enable I/O as input or output by writing I/O configuration bits. The data for each input or output is stored in a corresponding input or output register. The polarity of the input port register can be inverted with a polarity inversion register. The system host can read all registers. The interrupt output can be configured to activate (mutually exclusive) in two cases: 1. when any input state is different from its corresponding input port register state, this is used to indicate to the system host that the input state has changed. 2. When the input state is different from the preconfigured register value (DEFVAL register). The interrupt capture register captures the port value at the time of the interrupt, thereby saving the condition that caused the interrupt. Power-on reset (POR) sets registers to their default values and initializes the device state machine. The hardware address pin is used to determine the device address