Good Morning,
I'm trying to connect a custom board based on AWR1843 to a RaspberryPi, trough SPI interface. The RPi is set as master, and the AWR as slave.
The problem I'm facing is that, when the radar has data ready to be sent, I have to call SPI_transfer to prepare the transaction with the master, and then start the transfer in the RPi, but this function is blocking, so if the RPi is not connected or not ready, the radar waits forever. I tried to use the parameter "transferTimeout", but no matter what value I give to it, it seems to timeout immediately (if I leave the default value SPI_WAIT_FOREVER, it waits correctly without any timeout).
Is there something I'm not seeing? Maybe the timeout functionality does not work in SPI_MODE_BLOCKING (the only one supported)?
I tried to search the source code of SPI functions, in particular of SPI_transfer, for better understanding it and maybe change their behaviour, but I was not able to find it, it is provided by TI?
Many thanks,
Treves Mathieu