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

SPI time between sending the register address and obtaining the data

Hey! I'm writing a program for communicating  the laser sensor pmw 3610 (pixart) with the micro nrf52832. In the sensor datasheet it is said that the time between sending the address to be read and reading the data from the SDIO needs to be 4us. I'm writing my code from spi example so what I understand with nrf_drv_spi_transfer function is that it automatically retrieves data from SDIO without waiting any time. Is there some place where to set the timing between sending and receiving data? or maybe would it be possible to send something like the following? I think it can't be done but just to be sure.

Thanks for the future help!