Added missing hardware SPI setup code