Initial SPI implementation.