Tool/software:
I'm tring to read radar cube data via spi. I'm using the example soruce code from radar toolbox.
Basically I could read radar cube data with setting.
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.
Tool/software:
I'm tring to read radar cube data via spi. I'm using the example soruce code from radar toolbox.
Basically I could read radar cube data with setting.
Hi, We have not tested SPI data transfer via callback mode so far. Please allow me a couple of days to respond back.
What is the behaviour you are observing when setting it to callback mode?
Is the callback function triggered anytime?
Regards, Sharan.
Dear Sharan
spi callback function is triggered by MSCSPI driver after finishing trasnferring data from what i understood.
I want to send major and minor radar cube data through spi
If I send the data by blocking mode which is implemented at radar tools soruce code the timming chart is like below.
What i want to change is that i want to send data by spi dma and callback mode, so that i can send the major data while doppler and cfar processing.
This is radar tool's example code for sending radar cube data via spi.
Sequenc is like this:
spi busy low(inform to master for starting spi communication) --> spi transfer (when master starts communication, sensor will send the data)
--> spi busy high
I want to change the sequce like below:
spi busy low(inform to master for starting spi communication) --> spi transfer (when master starts communication, sensor will send the data)
--> spi busy high --> spi transfer (when master starts communication, sensor will send the data) --> callback is triggered after tx --> spi busy high at callback function
Hi,
I understood the logic. When trying this approach, what is the behavior you are observing? Have you tried debugging as to where the code halts?
What is the operating mode of McSPI, is it DMA mode?
Regards,
Sharan