Fixed data length in SPI transfer function