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.

AWR1243: MMWCAS-RF-EVM, MMWCAS-DSP-EVM

Part Number: AWR1243
Other Parts Discussed in Thread: MMWCAS-RF-EVM, MMWCAS-DSP-EVM,

Hello,

I'm working on the cascaded mmwave radar MMWCAS-RF-EVM (AWR1243) with MMWCAS-DSP-EVM. I followed the mmwave_studio_cascade_user_guide.pdf step by step. I tried use case 1 and use case 3 in section 7.2. I captured data and did post processing as shown in section 8.2. I have few clarifications on the following.

  1. After the scripts are run once or twice, there is some error that TDA ARM failed and I had re-run the whole process (in the sense, I'll redownload the firmware onto the board and do every other thing progressively). Sometimes, I get errors like "TCP: request_sock_TCP: Possible SYN flooding on port 5001. Dropping request. Check SNMP counters." and it doesn't get connected TDA itself. In that case, I set the reset button and do it again. Why is it like this? What are the possible reasons and how do I avoid this?
  2. Progressing to next user case in section 7.2, what is expected out of the 4th user case?
  3. In the next section 8.3, I couldn't run the MATLAB files. The attached file has the error after running cascade_TxBF_signalProcessing.m

paramFile= G:\ti_mmwave\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc\Cascade_Capture\Cascade_Capture.mmwave.json
Reference to non-existent field 'AdvFrame'.

Error in parameter_gen_from_Jason (line 92)
nchirp_loops = params_chirp.DevConfig(1).AdvFrame.SubFrame(1).NumChirpLoops;

Error in cascade_TxBF_signalProcessing (line 52)
paramsConfig = parameter_gen_from_Jason(BF_data_dest0, paramsConfig);

How to clear this error?

         5. Similarly when I run cascade_TxBF_dataCapture.m

Adding RSTD Assembly
Error using Init_RSTD_Connection (line 43)
Message: Could not load file or assembly
'file:///C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\RtttNetClientController\RtttNetClientAPI.dll' or one of its
dependencies. The system cannot find the file specified.
Source: mscorlib
HelpLink:

Error in cascade_TxBF_dataCapture (line 54)
ErrStatus = Init_RSTD_Connection(RSTD_DLL_Path);

How to clear this error?

        6. With this guide I could visualize and verify the working of the radar. After this how should I proceed? Should I start with processor sdk development to stream live data to my host pc and gcs?

Respond at your earliest convenience.

Regards,

Aparna

  • Hi,

    It is possible that there are some network connection issues. Could you try another cable?

    After the scripts are run once or twice, there is some error that TDA ARM failed and I had re-run the whole process (in the sense, I'll redownload the firmware onto the board and do every other thing progressively). Sometimes, I get errors like "TCP: request_sock_TCP: Possible SYN flooding on port 5001. Dropping request. Check SNMP counters." and it doesn't get connected TDA itself. In that case, I set the reset button and do it again. Why is it like this? What are the possible reasons and how do I avoid this?

    The 4th user case "Monitoring and Calibration" shows how to enable the monitors. The monitoring async events are logged in Output console

    Progressing to next user case in section 7.2, what is expected out of the 4th user case?

    Were you able to capture the raw data for MIMO use case?

    In the next section 8.3, I couldn't run the MATLAB files.

    Thank you

    Cesar

  • Hello Cesar,

    I don't think there's any network connection issue. I verify it before I start to work. 

    I'm able to execute the 2nd use case but not the 4th case.

    And I couldn't run any matlab files. I've attached the error log.

    What should be the result? What's the next step?

    Regards,

    Aparna 

  • Hi,

    In order to simplify the debug process I recommend the following

    1) Capture raw data with MIMO.

    The reason why I recommend this is that the process to capture raw data with MIMO is a little bit simpler than for BF.

    2) Process the captured MIMO data with Matlab integrated in mmWave Studio (see section 8.2.2 mmwave_studio_cascade_user_guide.pdf)

    If these steps work, this would mean that the additional problems are caused by Matlab setup.

    Let's make sure that these steps work before we proceed.

    thank you

    Cesar

  • Hi Cesar,

    I tried to execute as you told. First I ran the Cascade_Configuration_MIMO.lua script followed by Cascade_Monitoring_Example.lua. i.e. the last user case in the manual. Both the scripts ran but I don't find a captured data folder. I find that the framing status is "framing" after I run the scripts. I couldn't stop framing. When I press "Stop Frame", I get the error as "Status: Failed, Error Type: RESP TIMEOUT". How to get the MIMO data?

    I tried running the MATLAB scripts with the captured data from the second user case in section 7.2. But there were few errors.

    Please guide me through this.

    Regards,

    Aparna

  • What about configuration through GUI instead of LUA script

    The configuration through GUI is described in section 3 of "mmwave_studio_cascade_user_guide.pdf"

    Thank you

    Cesar

  • I did try that first. Using LUA scripts was easier. But anyway, I thought using LUA there's no MATLAB post processing is done right? MATLAB processing is after the steps under GUI or LUA. 

    Regards,

    Aparna

  • Hello Aparna, 

    I went through your responses with Cesar in the past couple of days and I do have some comments/clarifications. 

    You mentioned you were able to run the 2nd usecase, but not the 4th. 

    There are basically two categories of example scripts provided with the mmWave Studio package. One is for configuration and the other one if for data capture. For example, in usecase 2, you must've executed Cascade_Configuration_MIMO.lua script followed by cascade_capture.lua which would've captured data successfully (as you mentioned). You must've been able to run the matlab scripts after that well since a data folder exists for that reason.  

    In case of usecase 4, since you're not running any capture script, there would be no data capture and hence you wouldn't be able to use any post proc MATLAB scripts. Because Cascade_Monitoring_Example.lua is run in this case, you should be able to find the monitoring reports in the "postproc" directory. 

    Hope this makes sense. Let me know if you have further questions. 

    Regards,

    Ishita

  • Hello Ishita,

    This makes sense now. But I couldn't do any post processing stuff in MATLAB, to be precise, in section 8.3.2.2 and 8.3.3 as mentioned in the previous replies in this thread. What is the next step? I want to live stream this data through some network or through ros node. The whole module would be connected to my jetson which would be in the drone. Guide me through this.

    Regards,

    Aparna

  • Hi,

    Regarding real time demo, there is a demo that was developed using the Processor SDK

    Unfortunately the team who developed this demo in no longer available for support, so the demo is provided as is.

    TIDEP-01017 reference design | TI.com

    Thank you

    cesar

  • Hello Cesar,

    I run all the user cases in the ProcessorSDKRadar_UserGuide.pdf and got outputs. 

    I didn't clearly understand the output though I could replicate all of them. Please let me know what does CFAR parameters mean and explain the output of user cases in brief.

    Where is the CC file (which is mentioned in the first user case under 3.9.1.6.1) stored? 

    Also, what does the boot mode refer to? how is it set?

    Also what is the next step after all this? 

    Regards,

    Aparna

  • Hi,

    Here are some information that can help you

    CFAR parameters are usually standard. You can refer to standard CFAR documentation to understand the paramters

    Constant false alarm rate - Wikipedia

    Unfortunately our support team does not have additional information about this demo and the team that developed it is no longer available for support.

    We need to open these questions to the forum community.

    As you have seen from your experiments, a cascade system is quite complex.

    I recommend that you work with one of our third parties such as Smart Radar System (RETINA | Smart Radar System)

    Thank you

    Cesar