SPI with precision clock timing