MSP430 Launchpad controlling an MCP23S17 with heavy use of interrupts Connects to an MCP23S17 and relays the state of DIP switches on its port B to LEDs on its port A. The CPU is turned off at any opportunity to save power. Interrupts are used to transmit and receive data and be notified when new data is available. SPI bus A is used via pins 3, 4, and 6 (P1.{1,2,4}) One interrupt from slave used on pin 5 (P1.3) The Launchpad's green LED is used on pin 14 (P1.6)
Anonymous1157/msp430_mcp23s17
A much improved MSP430g2553+MCP23S17 proof-of-concept with lots more behavior in interrupts!
CBSD-3-Clause