This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843: SPI transfer: Sensor in Slave to Raspberry Pi in Master mode

Part Number: IWR6843


Hi,

I realised that the SPI transfer is designed to have data flow from Master to Slave. While Raspberry Pi comes as only a Master SPI device, and there are slave modes for the Radar sensor to have, how does the data flow happen? How can I implement a slave to master data transfer?

I am yet to look into the .c files, as I am quite new to this but will really want to know what to 'look' for if I get to do so.

  • Hi,

    Please refer to the SPI driver from the mmWave SDK. You can take a look at the test code which can be found at <mmWave SDK>\packages\ti\drivers\spi\test\xwr68xx . You can then add a similar implementation of this code to your project.

    Best Regards,
    Alec