add hardware spi as per PR 6
add hardware spi as per PR 6