Implement SPI interface