Other Parts Discussed in Thread: AWR1642
Hi,
I have posted many questions on this forum and to summarize:
My goal is to use two AWR1642BOOST in a master slave configuration to get the object detection data to one radar to another. I have successfully added the SPI interface for both master and slave code and send the data from master to slave. I have used the example code that was sent to me through this forum and I was successfully read and parse the data because only task of the slave was to read the data that was sent. However I could not read the data continuously to parse it and get the necessary data. Continuously means calling the spi_Read() in a while (1) loop. I can only read the header frame since I can only call spi_Read() function in the MmwDemo_transmitProcessedOutput() once otherwise, in a while(1) loop the program cannot execute other tasks and it messes with the flow and the C674X_0 will crash due to non-processed frame.
So, I was wondering, is there a way to stay in a loop as long as a complete frame is sent? Is there a method or an indicator similar to UART interface like serial_instance.in_waiting? Or any other way to do this? I check the SPI driver and found a transmission status but it did not help me or I used it wrong.
So, if you have any feedback on this issue, can you share with me please?
Thanks in advance,