matching spi to master