This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPIM, recieve on first transmit

ADS1118:

SPIM

How can I recieve the first 16 bits getting transmitted by the slave ? Will MOSI clock out p_txBuf while storing bits to arr_rxBuf if I set TX buffer len to 0, like this:

nrf_drv_spi_transfer(&spi, p_txBuf, NULL, arr_rxBuf, 2);
Related