rnd_spi for diff