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?