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.

IWRL6432BOOST: radar cube read via SPI

Part Number: IWRL6432BOOST
Other Parts Discussed in Thread: IWRL6432

Tool/software:

I'm trying to read adc data via SPI.

I changed the radar tool box example project (Fundamentals --> xWRL6432_Raw_Data_Over_SPI)

I modified as below code:

I could check that the call back function what I registered was called if the controller read all data those what the radar transferred.

However, if the controller finished the spi communication before read all data, callback function is not called. (I expected that call back function would be called with error status)

The problem is that the controller has only one spi port . IWRL6432 and another sensor use same spi port and the priority of radar sensor is lower than another sensor.

If the another sensor's event is happen, the controller will terminate radar sensor communication (CS HIGH).

I want to recognize this situation after tx data and transmit remaining data when the spi line is available.

Can I check the abnormal communication's termination status and how many bytes was sent before the termination?

  • Hi,

    No, the callback function will not be triggered until it reads all the data. One workaround would be to initiate two different spi transfers(before and after the event), assuming you know the size of the data to be transferred.

    Regards