improving SPI timing