Part Number: IWR6843
I’m using DataCaptureDemo_sWR.lua file on mmWaveStduio.
As you can see in below code snippet, RSTD.Sleep() funciton is called after calling ar1 APIs to wait for the completion of each processing.
--Start Record ADC data
--Post process the Capture RAW ADC data
WriteToLog("Please wait for a few seconds for matlab post processing .....!!!! \n", "green")
I would like to reduce these sleep time as much as possible to reduce total processing time.
So are there any good way to know when the processing for following APIs will actually finish?
Thanks & Regards,
This is a good question and I do not know the answer. I will have to ask the design team and get back to you.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to zigang Yang:
Any update on this?
In reply to Taro Shibata:
Here is the feedback from the design team:
The sleep time/waiting time depends totally on the configuration the user will be evaluating.
After issuing the DCA1000 ARM command - ar1.CaptureCardConfig_StartRecord(adc_data_path, 1)
It is always recommended to wait for 1-2 secs before issuing the StartFrame command. Because the DCA1000 ARM command does not go to the AWR device, instead it goes to the DCA1000 hardware.
So you have to manage it asynchronously. (That’s why we have the buffer time of 1-2 secs).
After issuing the ar1.StartFrame() command, the amount of time you will need to sleep depends on the frame configuration.
Assuming you are triggering 100 frames and you have frame periodicity of 100ms -> then you will have to wait for 100*100ms -> 10secs.
If you don’t give this sleep time, you won’t capture the complete data from DCA1000, and no data will be available for post processing. (which is the next command).
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.