Flush spi on interrupt