SPI workaround