AWR2944EVM: Issue in Data capture with Per chirp Tx phase shift using mmwave studio software (version 3.1.3.1)

Part Number: AWR2944EVM

Tool/software:

Hi Support Team,

I am trying to configure the Tx phase shift parameters using mmwave studio and I am facing issues. Below is the set of things I performed.

  • Advance chirp configuration sub block : Configured in context to "mmwave_mcuplus_sdk.pdf" document(release 4.7.0.1). In AdvChirpCfg, the respective profile indices are configured in ordered manner at "AdvChirpCfg" after that "LUTDataCfg" tables consecutively done for every chirp parameter index. While saving these config to device we have followed two different ways. One is AdvChirpCfg and LUTDataCfg followed by configuration to device set for every respective indices and in another way is first we have configured all respective profile indices followed by LUTDatacfg for every chirp parameter index and finally configured the "Configure Device" sub block. For the above two methods, I have change only the address offset in "Configure Device" sub block. Later I tried configuring for subframe (advanced frame), which doesn't let me set the numChirps to 0 (which should be, as per the document) and while configuring for frameCfg, the application turns inactive.

      
     
  • BPM Config sub block : Configured in context to "mmwave_ICD.pdf" document. The relevant flag known as "perchirp_phase_shifter_enable" in staticConfig tab is enabled. Post configuring profileConfig for RF parameters related to chirp,I switched to BPMConfig tab. using bit manipulation, I have given some values say for eg., 0, 32 and 48 in Tx1, Tx2 and Tx3 respectively followed by "AdvFrameConfig" tab.

These configurations are all done with reference to configurations provided by TI and our configuration data. But I am either stuck with configuring the required fields or unable to notice the application of phase shift from the captured data. Please help us with this and provide us the configuration sequence.

  • Hi,

    Can you share your lua script for review? Looks like a configuration issue.

    Thanks,

    Pradipta. 

  • Hi Pradipta,

    Thank you for your response. Please find the requested files below.

    Regards,
    Deepan

    lua_scripts.zip

  • Hi,

    I see you have attached the TI lua scripts itself form the studio folder. These scripts do not capture the experiment that you are performing. Please share the script of your experiment for evaluation. 

    Thanks,

    Pradipta. 

  • Hi Pradipta,

    Thank you for your response. Please find the requested files below.

    Regards,

    Deepan

    outputShell_outputs.txt
    Output Shell : 
    
    GM: Constructor
    GM: Mon Dec 23 10:28:23 2024
    RSTD.Transmit("/Settings")
    [10:28:23]  
    [10:28:23]  ### Running Startup script: "C:\ti\mmwave_studio_03_01_03_01\mmWaveStudio\Scripts\Startup.lua" ###
    [10:28:23]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [10:28:23]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [10:28:23]  Scripter ignored: Attempt to UnBuild() again or before Build.
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_03_01_03_01\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [10:28:23]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_03_01_03_01\\mmWaveStudio\\RunTime\\SAL.dll")
    [10:28:23]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [10:28:23]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [10:28:23]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [10:28:23]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [10:28:23]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [10:28:23]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [10:28:23]  RSTD.Transmit("/")
    [10:28:23]  RSTD.SaveSettings(): Settings saved to "C:\Users\eswar\AppData\Roaming\RSTD\config.xml"
    [10:28:23]  RSTD.Build()
    [10:28:23]  RSTD.SaveSettings(): Settings saved to "C:\Users\eswar\AppData\Roaming\RSTD\config.xml"
    [10:28:23]  RSTD.Transmit("/")
    [10:28:23]  RSTD.AL_Build()
    [10:28:23]  RSTD.AL_LoadXml()
    [10:28:23]  RSTD.Transmit("/")
    [10:28:23]  RSTD.AL_Init()
    [10:28:23]  RSTD.Clients_Build()
    [10:28:23]  GM: Init
    [10:28:24]  GM: Loaded 'C:\ti\mmwave_studio_03_01_03_01\mmWaveStudio\Clients\\LabClient.dll'
    [10:28:24]  GM: 1 Guest (s) init
    [10:28:24]  GM: 1 Module(s) init
    [10:28:24]  GM: 2 Tab   (s) init
    [10:28:24]  RSTD.Client_LoadXml()
    [10:28:24]  [RadarAPI]: ar1.GuiVersion()
    [10:28:24]  [RadarAPI]: ar1.selectRadarMode(0)
    [10:28:24]  [RadarAPI]: Status: Passed
    [10:28:24]  Matlab Runtime Engine is installed
    [10:28:24]  [RadarAPI]: Starting Matlab Engine..
    [10:28:41]  [RadarAPI]: Matlab Engine Started!
    [10:28:42]  [RadarAPI]: ar1.selectCascadeMode(0)
    [10:28:42]  [RadarAPI]: Status: Passed
    [10:28:42]  [RadarAPI]: ar1.LoadSettings('C:\Users\eswar\AppData\Roaming\RSTD\ar1gui.ini')
    [10:28:43]  TESTING = false
    [10:28:43]  RstdNet: Port 2777: Listening..
    [10:28:43]  
    [10:28:43]  ***Script completed successfully.***
    [10:28:45]  [RadarAPI]: ar1.frequencyBandSelection("77G")
    [10:28:46]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [10:28:46]  [RadarAPI]: Status: Passed
    [10:28:46]  [RadarAPI]: ar1.deviceVariantSelection("XWR2944")
    [10:28:46]  [RadarAPI]: Status: Passed
    [10:28:47]  [RadarAPI]: Opening Gpio Control Port()
    [10:28:47]  [RadarAPI]: Status: Passed
    [10:28:48]  [RadarAPI]: Opening Board Control Port()
    [10:28:48]  [RadarAPI]: Status: Passed
    [10:28:49]  [RadarAPI]: ar1.FullReset()
    [10:28:49]  [RadarAPI]: Status: Passed
    [10:28:50]  [RadarAPI]: Closing Board Control Port()
    [10:28:50]  [RadarAPI]: Status: Passed
    [10:28:50]  [RadarAPI]: Closing Gpio Control Port()
    [10:28:50]  [RadarAPI]: Status: Passed
    [10:28:50]  [RadarAPI]: ar1.SOPControl(2)
    [10:28:50]  [RadarAPI]: Status: Passed
    [10:28:52]  [RadarAPI]: ar1.frequencyBandSelection("77G")
    [10:28:53]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [10:28:53]  [RadarAPI]: Status: Passed
    [10:28:53]  [RadarAPI]: ar1.deviceVariantSelection("XWR2944")
    [10:28:53]  [RadarAPI]: Status: Passed
    [10:28:54]  [RadarAPI]: ar1.Connect(17,921600,1000)
    [10:28:56]  [RadarAPI]: Warning: Connected with baudrate 115200
    [10:28:57]  [RadarAPI]: Warning: Disconnected existing BaudRate
    [10:28:58]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [10:28:59]  [RadarAPI]: ar1.Calling_IsConnected()
    [10:29:00]  [RadarAPI]: Part number of the device = 0x98
    [10:29:00]  [RadarAPI]: Device type = GP
    [10:29:00]  [RadarAPI]: ar1.SelectChipVersion("AWR2944")
    [10:29:00]  [RadarAPI]: Status: Passed
    [10:29:01]  Device Status : AWR2944/GP/ASIL-B/SOP:2/ES:2.0
    [10:29:01]  [RadarAPI]: ar1.SaveSettings('C:\Users\eswar\AppData\Roaming\RSTD\ar1gui.ini')
    [10:29:02]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_03_01_03_01\\rf_eval_firmware\\radarss\\xwr29xx_radarss_rprc.bin")
    [10:29:07]  [RadarAPI]: ar1.GetBSSFwVersion()
    [10:29:07]  [RadarAPI]: BSSFwVersion:(02.04.05.03 (20/04/22))
    [10:29:07]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [10:29:07]  [RadarAPI]: BSSPatchFwVersion:(02.04.09.05 (28/06/23))
    [10:29:09]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_03_01_03_01\\rf_eval_firmware\\masterss\\xwr2xxx_masterss.bin")
    [10:29:12]  [RadarAPI]: Downloading MSS RPRC Binary..
    [10:29:16]  [RadarAPI]: ar1.GetMSSFwVersion()
    [10:29:16]  [RadarAPI]: MSSFwVersion:(02.04.02.12 (05/01/24))
    [10:29:18]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [10:29:19]  [RadarAPI]: Status: Passed
    [10:29:19]  MSS power up done async event received!
    [10:29:20]  [RadarAPI]: ar1.RfEnable()
    [10:29:20]  BSS power up done async event received!
    [10:29:20]  [RadarAPI]: Status: Passed
    [10:29:20]  [RadarAPI]: ar1.GetMSSFwVersion()
    [10:29:20]  [RadarAPI]: MSSFwVersion:(02.04.02.12 (05/01/24))
    [10:29:21]  [RadarAPI]: ar1.GetBSSFwVersion()
    [10:29:21]  [RadarAPI]: BSSFwVersion:(02.04.05.03 (20/04/22))
    [10:29:22]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [10:29:22]  [RadarAPI]: BSSPatchFwVersion:(02.04.09.05 (28/06/23))
    [10:29:29]  [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 1, 1, 1, 1, 1, 1, 2, 0, 0)
    [10:29:29]  [RadarAPI]: Status: Passed
    [10:29:31]  [RadarAPI]: ar1.RfLdoBypassConfig(0x0)
    [10:29:31]  [RadarAPI]: Status: Passed
    [10:29:32]  [RadarAPI]: ar1.LPModConfig(0, 0)
    [10:29:32]  [RadarAPI]: Status: Passed
    [10:29:59]  [RadarAPI]: ar1.SetMiscConfig(1, 0, 0, 0, 0, 0, 0, 0, 9, 26)
    [10:29:59]  [RadarAPI]: Status: Passed
    [10:30:03]  [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [10:30:03]  [RadarAPI]: Status: Passed
    [10:30:05]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 0, 0, 0, 1, 0, 0)
    [10:30:05]  [RadarAPI]: Status: Passed
    [10:30:21]  [RadarAPI]: ar1.SetTestSource(40, 10, 0, -8, 0, 0, -327, 0, -327, 327, 327, 327, -20, 0, 0, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -95, 0, 0, 0.5, 0, 1, 0, 1.5, 0, 0, 0, 0, 0, 0, 0, 0)
    [10:30:21]  [RadarAPI]: Status: Passed
    [10:30:46]  [RadarAPI]: ar1.ProfileConfig(0, 77, 3, 1, 21, 0, 0, 0, 0, 0, 0, 0, 0, 8.98, 1, 250, 12500, 2216755200, 131072, 30, 0, 0, 0)
    [10:30:46]  [RadarAPI]: Status: Passed
    [10:30:53]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1)
    [10:30:53]  [RadarAPI]: Status: Passed
    [10:31:04]  [RadarAPI]: ar1.SetPerChirpPhaseShifterConfig(0, 0, 0, 0, 32, 48)
    [10:31:04]  [RadarAPI]: Status: Passed
    [10:31:26]  [RadarAPI]: ar1.EnableTestSource(1)
    [10:31:26]  [RadarAPI]: Status: Passed
    [10:31:26]  [RadarAPI]: ar1.AdvanceFrameConfig(1, 1537, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128, 8000000, 0,1, 1, 8000000, 0, 0, 1, 128, 8000000, 0, 1, 1, 8000000, 0, 0, 1, 128,8000000, 0, 1, 1, 8000000, 5, 1, 0, 1, 128, 250, 1, 128, 1, 1, 128,1, 1, 128, 1, 1)
    [10:31:26]  [RadarAPI]: Status: Passed
    [10:31:59]  [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [10:31:59]  [RadarAPI]: Sending dll_version command to DCA1000
    [10:32:00]  [RadarAPI]: 
    [10:32:00]  DLL Version : 1.0
    [10:32:00]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [10:32:00]  [RadarAPI]: Status: Passed
    [10:32:02]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [10:32:02]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [10:32:02]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [10:32:02]  [RadarAPI]: Sending fpga command to DCA1000
    [10:32:02]  [RadarAPI]: 
    [10:32:02]  FPGA Configuration command : Success
    [10:32:02]  [RadarAPI]: Sending record command to DCA1000
    [10:32:02]  [RadarAPI]: 
    [10:32:02]  Configure Record command : Success
    [10:32:02]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [10:32:02]  [RadarAPI]: Sending fpga_version command to DCA1000
    [10:32:02]  [RadarAPI]: 
    [10:32:02]  
    [10:32:02]  FPGA Version : 2.9 [Record]
    [10:32:02]  
    [10:32:13]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_03_01_03_01\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [10:32:13]  [RadarAPI]: Sending start_record command to DCA1000
    [10:32:20]  [RadarAPI]: ar1.StartFrame()
    [10:32:20]  [RadarAPI]: Status: Hardware select :GlobalRef.g_TriggerSelectSW_HW value: False
    [10:32:20]  [RadarAPI]: Status: Passed
    [10:32:20]  Frame start async event received!
    [10:32:20]  [RadarAPI]: Frame Ended
    [10:32:22]  [RadarAPI]: 
    [10:32:22]  Frame End async event received!
    [10:32:22]  [RadarAPI]: 
    [10:32:22]  Start Record command : Success
    [10:32:22]  
    [10:32:22]  Record is completed
    [10:32:22]  
    [10:32:22]  Record stop is done successfully
    [10:32:33]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_03_01_03_01\\mmWaveStudio\\PostProc\\adc_data.bin")
    [10:32:33]  [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 5
    [10:33:22]  Provide the path and filename for the Export of Capture Setup JSON configuration.
    [10:33:52]  Provide the path and filename for the Export of mmWave JSON configuration.
    [10:33:58]  Export Operation was successful!