Arduino DUE and MCP23S17 - software SPI and hardware SPI