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.

MMWCAS-DSP-EVM: How to use the beamforming mode?

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

Hello,

I have a question about the beamforming mode of the cascaded mmW radar (MMWCAS-RF-EVM and MMWCAS-DSP-EVM):

In the MMWAVE STUDIO Cascade User Guide, section 7.2, there are three steps to set up the beamforming mode, but there seems to have a conflict. Which one is correct? What is the difference between these two LUA scripts?

Then, section 8.3.3.1 also discusses the steps of using beamforming, but it is somehow different from the above-mentioned method: the second step is replaced with running a code in MATLAB (cascade_TxBF_dataCapture.m). which method should I follow? When I run the code, although it works in MATLAB, MMWAVE-STUDIO shows such an error:

What am I missing here?

I really appreciate any help, thank you!

-Yiran

  • In case the pictures do not show up:

  • Hi,

    The team will review your question and get back to you on Monday

    thank you

    Cesar

  • Hello Yiran,

    Sorry for the confusion and Thanks for the feedback. Let me get in touch with concerned script/document owner and clarify these things.

    I will get back to you with an update before the end of this week.

    Regards,

    Ishita

  • Hello Yiran, 

    Apologies for the delay.

    I understand the reason for your confusion and I've taken action to improve the documentation of TXBF capture in the next revision of this document.

    For now, let me clarify things for you :

    1. The default sequence for data capture in TXBF is documented correctly in  section 8.3.3.1 using MATLAB + mmWave studio

    2. In section 7.2, the correct script is "cascade_configuration_TXBF.lua". The sequence of APIs utilized in this script is directly taken from TXBF configuration done through MATLAB (i.e section 8.3.3.1). So you could basically refer to the same sequence as discussed in Section 8.

    3. Regarding Cascade_configuration_TXBF_simple.lua, you can read more about the usage of this script in AWRx_TX_Channel_Calibration_Script_User_Guide.pdf available at the following location: ..\ti\mmwave_studio_03_00_00_14\mmWaveStudio\MatlabExamples

    Hope I was able to clarify things for you.

    Let me know if you need further help.

    Regards,

    Ishita

  • Hello Ishita,

    Thanks for the clarification.

    Nevertheless, I cannot make the beamforming mode to be working. To make sure you understand what I have tried to do, let me summarize in the following:

    First, I run the script "Cascade_Configuration_Basic.lua" in Mmwave Studio.

    Second, I tried two cases: In case a), I run the script "Cascade_Configuration_TXBF.lua" in Mmwave Studio. In case b), I run the code "cascade_TxBF_dataCapture.m" in Matlab.

    Then, I run the script "Cascade_Capture.lua" in Mmwave Studio.

    Finally, I run the code "cascade_TxBF_signalProcessing.m" in Matlab, using the given default calibration matrices.

    The problem is, in case a), everything is fine and I can get the images in Matlab (I can see the images change following the frames) except that I can't change the steering angles, number of frames, etc. On the other hand, in case b), Matlab gives an error after generating images for a few frames, the variable "frameId" is equal to 4.

    Besides, there is another variable in Matlab called "numValidFrames", what does this mean?

    Thank you so much!

  • Hello Yiran, 

    What is the configuration you're running? Is it the default configuration that comes with the package?

    - First thing to confirm is, is the data captured corresponding to the number of frames you have configured?

    - Second, have you made sure the concerned variables in cascade_TxBF_signalProcessing.m file are updated with respect to the captured file (the user guide talks about these parameters)? 

    - Please make sure you're using the correct path in MATLAB for running the script. If the cascade_TxBF_signalProcessing.m is run correctly, you will should see the GUI come up. Because there are a quite of lot of scripts executing together here, it's difficult for us to pin point what could have caused that error at the moment. 

    Regards,

    Ishita