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: Post Processing Cascade Data

Part Number: MMWCAS-DSP-EVM
Other Parts Discussed in Thread: TDA2

Hi all,


I am setting up the use case for a Cascade setup as instructed in the mmWave Studio Cascade guide.

I have the setup successfully capturing data using the DSP and RF -EVM boards.
But am now struggling with visualisation of the data using Matlabs.


  • Created the Environment in Windows - success
  • Run "add.paths.m" in Matlabs - success
  • Calibration (skipped for now, awaiting delivery of a corner reflector) but am using (or trying to use) the default example "calibrateResults_high"

and now my problems:


(1) Once the calibration data is collected, go to the .\main\cascade folder in matlab and update the “dataFolder_calib_data” in “cascade_MIMO_antennaCalib.m” to point to calibration data folder.

I'm not entirely sure what to update in this file so I have updated the following fields, in the hopes this is correct and to point it towards the default calibration example in \main\cascade\input


input_path = strcat(pro_path,'\main\cascade\input\');

dataFolder_calib_data = '\main\cascade\input\';


and this is the output within Matlab when i try to run the "cascade_MIMO_antennaCalib.m" :


>> run cascade_MIMO_antennaCalib.m

dataPlatform =

'TDA2'

Error using parameter_file_gen_antennaCalib_json
Unknown parameter file or too many chirpProfiles_*.jason file!!

Error in cascade_MIMO_antennaCalib (line 62)
parameter_file_gen_antennaCalib_json(dataFolder_calib_data, pathGenParaFile, dataPlatform);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

(2) Post Processing

  • Collect the raw adc data for the actual scenario using the lua script provided for MIMO.
  • Update the first line of the \input\testList.txt file to point to the Captured Data folder (as shown below).
  • Update the second line of the \input\testList.txt file to point to the corresponding calibration vector generated from the calibration step
  • Update the third line for algorithm parameter tuning if needed; the default values are in \paramGen\module_param.m

testList.txt

- line 1: C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc\Tom_Cascade

- line 2: .\input\calibrateResults_high.mat (left default, but my understanding is that this should be fine?)

- line 3: .\paramGen\module_param.m (left default but the assumption is the same as the above?)

and the output of this when i try to run the "cascade_MIMO_signalProcessing.m" file in Matlab is:

>> run cascade_MIMO_signalProcessing.m

dataPlatform =

'TDA2'

paramFile= C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc\Tom_CascadeTom_Cascade.mmwave.json
Error using loadjson
input file does not exist

Error in JsonParser (line 38)
MmwaveJSON = loadjson(MmWaveJsonFile);

Error in parameter_file_gen_json (line 80)
params_chirp = JsonParser(paramFile);

Error in cascade_MIMO_signalProcessing (line 82)
parameter_file_gen_json(dataFolder_test, dataFolder_calib, module_param_file, pathGenParaFile, dataPlatform);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

>>

 

Any help would be greatly appreciated

Thanks, Tom.

  • Hi Tom,

    Two things to note here:

    • Can you confirm whether all the paths are correct, and the right file can be found by the MATLAB script upon expanding the full path variables in the right environment?
    • By default, I believe that the post processing is supported for the sample .lua configs provided with the studio package. Can you try it with that once? Some changes would have to be to accommodate changes to...let's say the chirping sequence etc.

    Regards,

    Kaushik