Added SPI support
Merge branch 'adding-spi'