I'm afraid I don't, but here's the hookups you need for the MCP23S08:
MCP23S08 Netduino
SCK (1) --> 13 (SPCK)
SI (2) --> 11 (MOSI)
SO (3) --> 12 (MISO)
A1 (4) --> GND
A0 (5) --> GND
RESET (6) --> 3.3V
CS (7) --> 10
INT (8) Not connected (optional)
VSS (9) --> GND
VDD (18) --> 3.3V
The MCP23S17 is much the same (except the pin numbers are different) but it has an additional address pin A2 that is connected to ground. The address pins (A0, A1) define the address of the chip, and are used when initializing the chip like so:
// Use "new MCP23S08(CS pin, address)" to initialize an expander MCP23S08 expander = new MCP23S08(Pins.GPIO_PIN_D10, 0x00);
When A0 and A1 are both connected to ground, the address is 0x00. Here's a table of addresses for the MCP23S08:
A0 A1 Address
GND GND 0x00
3.3V GND 0x01
GND 3.3V 0x02
3.3V 3.3V 0x03
- TechnoGuy likes this