Support half-duplex SPI masters by splitting
TX and RX messages in SPI transfer.