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

When does nrf_drv_spi_transfer start to read?

I've got a gyro I want to read some data from, but I don't know the values and can't verify if they got read correctly. When does nrf_drv_spi_transfer start to read?

i.e. I'm sending nrf_drv_spi_transfer(&spi, &tx_local, 1, rx, 7); Does the function save the received byte from the sending and sends 6 more values to receive 7 bytes in total or does it send 7 additional bytes to receive data and ignores the first byte coming in from sending?

Related