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: Running long range TXBF mode without beam scanning and converting to SNR vs range

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

 I'm working with the MMWCAS-DSP-EVM and MMWCAS-RF-EVM with the  AWR2243 devices.   I have the boards communicating using mmWave studio and have taken some basic data to see that things are working.

My goal is to test mounting this eval kit on an external scanning motor which will rotate the radar.   I then want to acquire multiple frames, hopefully at about 10-20Hz, in longest possible range TXBF mode where the MMWCAS-RF-EVM itself is NOT scanning the beam (the motor will do that) in order to build up a scan.  Then, after acquiring and transferring, use Matlab to post-process the files to SNR vs range.  Ideally the final result would be a 2D array of SNR vs range for each frame that I can write to a file from Matlab to merge with other data.   

I'm having difficulty figuring out:

  *  which lua / matlab script would make the best starting points -  It seems like Cascade_Configuration_TXBF_Simple.lua perhaps?

   * how to modify them for running the acquisition in this mode

   * how to process the data to an SNR / range form for this data as is already done in some of the Matlab scripts for angle sweeps

   Any help would be appreciated.

  Thank you,

  • Hi,

    Have you run the TxBF example with the LRR chirp configuration?

    C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\MatlabExamples\4chip_cascade_TxBF_example

    C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\MatlabExamples\4chip_cascade_TxBF_example\chirpProfile_TxBF_LRR.m

    Thank you

    Cesar

  • Cesar,

        All chirpProfile_TxBF_LRR.m appeared to do was create a struct with some fields.   So far I've made progress by doing the following (in case others stumble on this):

    Modify the script Cascade_Configuration_TXBF_Simple.lua to:

      - Use the numbers for the chirp config from chirpProfile_TxBF_LRR.m (e.g. sample_freq, slope)

      - Modify it to just take frames at the 90 degree angle (angleIdx = 31) so straight ahead

    Used that to acquire data.

    I then started using matlab scripts based on cascade_TxBF_signalProcessing.m.   However it appeared that the JSON that was output from the script used to acquire isn't quite compatible with what cascade_TxBF_signalProcessing.m wanted and it kept crashing with:

      Reference to non-existant field 'AdvFrame'

    So to get it to read I just pulled out the parts that tried to read settings from JSON and hardcoded them with what I knew from the LUA script.  I figured I can always fix the issues with the JSON reading code and put that back in later.   After figuring out a few other things I got it to read the files using fcn_read_AdvFrmConfig_BF_Json.m.  

    Then, piecing together how Plot_advFraConfig_TXBF_rangeAzimuth_stich.m and such processed the data I've gotten it to at least do a false color plot of the data from the master channel.  I'm still trying to figure out how well it's all actually working and how to then make use of the 3 slave channels and some other things.   However I seem to be getting data out of the fft that looks like what I'd expect as I sweep the radar across a target.

  • Thank you for this input

    Cesar