implemented SPI hardware interface for Raspberry Pi