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.

DCA1000EVM: AWR1642, DCA1000EVM, MMWaveStudio, Analog monitoring not working

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1642,

We're trying to get a coefficient value using AWR1642 and DCA1000EVM.

Coefficient value was obtained from ballbreak in mmwavelink.

There is also a ballbreak in mmwavestudio, which is used to obtain the coefficient value.

Q1. We set up mmwavestudio as in this link.

https://e2e.ti.com/support/sensors/f/1023/t/810139

DCA1000ARM -> TriggerFrame -> PostProc 

However, the cofficient value could not be obtained.

How should I run analog monitoring?

Q2. n this link, the temperature value was obtained with the command ar1.RFTemperatureGet ().

https://e2e.ti.com/support/sensors/f/1023/t/810139 

Is there a way to run ballbreak this way?


Q3. And where can I find documentation describing commands like ar1.RFTemperatureGet?

  • Hi Chunghee,

    1. Please follow the below steps and check the monitoring report in the "PostProc" folder of mmwave studio in the form of a text file

    2. Unfortunately, there is no such direct command as such to run ball break monitors, but you can get it in Continuous Stream Mode shown below

      

    3. To get the description of any API command, you can type "help <API command>" in the Lua Shell of mmwave Studio as shown below

    Regards,

    Ishita

  • Thank you.

    Q2, Q3 are solved.

    Q1 has not been solved yet.

    The setup was the same as the screenshot.

    However, no value is shown in mmWaveStudio\PostProc\MonitoringReport.txt.

    Only the result of ar1.RFTemperatureGet() is shown.

    Is it correct to run the Trigger Frame in the SensorConfig tab?

    Why does the reflection coeff sometimes exceed -200?

  • Hi Chunghee,

    Are you getting the following async events in the output log of mmwave studio after triggering the frame?

    Also, Can you please tell me the reporting mode you are using for your ball break monitors? The reports would be generated only in Mode 0 and 2.

    Regards,

    Ishita

  • We set the config as we told it, and also tried the ball break Monigoring section with 0 or 2, but no asynchronous events occurred in the output log.

    Instead it came out like this

    Attach any other config sections in case we missed anything. Please let me know why the event is not happening.
    The monitoring report file is still 0bite.

    Thanks in advance for your favor.

  • Hey,

    Can you save the output log of the mmwave studio and send it as a text file? 

    Thanks & Regards,

    Ishita

  • sure ! 

    cho_mmwavestudio_ouputLog.txt
    GM: Constructor
    GM: Fri Jan 17 11:21:55 2020
    RSTD.Transmit("/Settings")
    [11:21:56]  
    [11:21:56]  ### Running Startup script: "C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts\Startup.lua" ###
    [11:21:56]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [11:21:56]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [11:21:56]  Scripter ignored: Attempt to UnBuild() again or before Build.
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [11:21:56]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [11:21:56]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [11:21:56]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [11:21:56]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [11:21:56]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [11:21:56]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [11:21:56]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [11:21:56]  RSTD.Transmit("/")
    [11:21:56]  RSTD.SaveSettings(): Settings saved to "C:\Users\Wapeul\AppData\Roaming\RSTD\config.xml"
    [11:21:56]  RSTD.Build()
    [11:21:56]  RSTD.SaveSettings(): Settings saved to "C:\Users\Wapeul\AppData\Roaming\RSTD\config.xml"
    [11:21:56]  RSTD.Transmit("/")
    [11:21:56]  RSTD.AL_Build()
    [11:21:56]  RSTD.AL_LoadXml()
    [11:21:56]  RSTD.Transmit("/")
    [11:21:56]  RSTD.AL_Init()
    [11:21:56]  RSTD.Clients_Build()
    [11:21:56]  GM: Init
    [11:21:56]  GM: Loaded 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\\LabClient.dll'
    [11:21:56]  GM: 1 Guest (s) init
    [11:21:56]  GM: 1 Module(s) init
    [11:21:56]  GM: 2 Tab   (s) init
    [11:21:56]  RSTD.Client_LoadXml()
    [11:21:56]  [RadarAPI]: ar1.selectRadarMode(0)
    [11:21:56]  [RadarAPI]: Status: Passed
    [11:21:56]  Matlab Runtime Engine is installed
    [11:21:56]  [RadarAPI]: Starting Matlab Engine..
    [11:22:00]  [RadarAPI]: Matlab Engine Started!
    [11:22:01]  [RadarAPI]: ar1.selectCascadeMode(0)
    [11:22:01]  [RadarAPI]: Status: Passed
    [11:22:01]  [RadarAPI]: ar1.LoadSettings('C:\Users\Wapeul\AppData\Roaming\RSTD\ar1gui.ini')
    [11:22:02]  TESTING = false
    [11:22:02]  RstdNet: Port 2777: Listening..
    [11:22:02]  
    [11:22:02]  ***Script completed successfully.***
    [11:22:06]  [RadarAPI]: Opening Gpio Control Port()
    [11:22:06]  [RadarAPI]: Status: Passed
    [11:22:07]  [RadarAPI]: Opening Board Control Port()
    [11:22:07]  [RadarAPI]: Status: Passed
    [11:22:08]  [RadarAPI]: ar1.FullReset()
    [11:22:08]  [RadarAPI]: Status: Passed
    [11:22:09]  [RadarAPI]: Closing Board Control Port()
    [11:22:09]  [RadarAPI]: Status: Passed
    [11:22:09]  [RadarAPI]: Closing Gpio Control Port()
    [11:22:09]  [RadarAPI]: Status: Passed
    [11:22:09]  [RadarAPI]: ar1.SOPControl(2)
    [11:22:09]  [RadarAPI]: Status: Passed
    [11:22:13]  [RadarAPI]: ar1.Connect(7,921600,1000)
    [11:22:16]  [RadarAPI]: Warning: Connected with baudrate 115200
    [11:22:18]  [RadarAPI]: Warning: Disconnected existing BaudRate
    [11:22:18]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [11:22:20]  [RadarAPI]: ar1.Calling_IsConnected()
    [11:22:21]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:22:21]  [RadarAPI]: Status: Passed
    [11:22:21]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:22:21]  [RadarAPI]: Status: Passed
    [11:22:21]  [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [11:22:21]  [RadarAPI]: Status: Passed
    [11:22:21]  [RadarAPI]: ar1.frequencyBandSelection("77G")
    [11:22:21]  [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [11:22:21]  [RadarAPI]: Status: Passed
    [11:22:21]  Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [11:22:21]  [RadarAPI]: ar1.SaveSettings('C:\Users\Wapeul\AppData\Roaming\RSTD\ar1gui.ini')
    [11:22:26]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [11:22:26]  [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [11:22:28]  [RadarAPI]: ar1.GetBSSFwVersion()
    [11:22:28]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:22:29]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:22:29]  [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [11:22:30]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [11:22:30]  [RadarAPI]: Downloading MSS RPRC Binary..
    [11:22:32]  [RadarAPI]: ar1.GetMSSFwVersion()
    [11:22:32]  [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [11:22:36]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [11:22:36]  [RadarAPI]: Status: Passed
    [11:22:36]  MSS power up done async event received!
    [11:22:48]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [11:22:48]  [RadarAPI]: Status: Passed
    [11:22:48]  [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [11:22:48]  [RadarAPI]: Status: Passed
    [11:22:48]  Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [11:22:48]  [RadarAPI]: ar1.RfEnable()
    [11:22:48]  [RadarAPI]: Status: Passed
    [11:22:48]  BSS power up done async event received!
    [11:22:48]  [RadarAPI]: ar1.GetMSSFwVersion()
    [11:22:48]  [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [11:22:49]  [RadarAPI]: ar1.GetBSSFwVersion()
    [11:22:49]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:22:49]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:22:49]  [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [11:23:43]  [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [11:23:43]  [RadarAPI]: Status: Passed
    [11:23:46]  [RadarAPI]: ar1.LPModConfig(0, 1)
    [11:23:46]  [RadarAPI]: Status: Passed
    [11:23:51]  [RadarAPI]: ar1.RfInit()
    [11:23:51]  [RadarAPI]: Status: Passed
    [11:23:51]  RF Init async event received!
    [11:23:51]  [RadarAPI]: Time stamp, Temperture: 63290,43; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 1, 1; 
    [11:24:09]  [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [11:24:09]  [RadarAPI]: Status: Passed
    [11:24:11]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [11:24:11]  [RadarAPI]: Status: Passed
    [11:24:17]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [11:24:18]  [RadarAPI]: Status: Passed
    [11:24:51]  [RadarAPI]: ar1.SetTestSource(4, 3, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -2.5, 327, 327, 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)
    [11:24:51]  [RadarAPI]: Status: Passed
    [11:25:17]  [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
    [11:25:17]  [RadarAPI]: Status: Passed
    [11:25:21]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [11:25:21]  [RadarAPI]: Status: Passed
    [11:25:30]  [RadarAPI]: ar1.EnableTestSource(1)
    [11:25:30]  [RadarAPI]: Status: Passed
    [11:25:30]  [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [11:25:30]  [RadarAPI]: Status: Passed
    [11:26:20]  [RadarAPI]: ar1.SetRfAnaMonConfig(0x180, 0x0)
    [11:26:20]  [RadarAPI]: Status: Passed
    [11:26:25]  [RadarAPI]: ar1.SetRfTx0BallbreakMonConfig(0, -9)
    [11:26:25]  [RadarAPI]: Status: Passed
    [11:26:27]  [RadarAPI]: ar1.SetRfTx1BallbreakMonConfig(0, -9)
    [11:26:28]  [RadarAPI]: Status: Passed
    [11:26:39]  [RadarAPI]: ar1.DisableMonitoringLogging(0)
    [11:26:39]  [RadarAPI]: Status: Passed
    [11:26:39]  [RadarAPI]: ar1.SetCalMonTimeUnitConfig(1, 1, 0)
    [11:26:39]  [RadarAPI]: Status: Passed
    [11:26:55]  [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [11:26:55]  [RadarAPI]: Sending dll_version command to DCA1000
    [11:26:55]  [RadarAPI]: 
    [11:26:55]  DLL Version : 1.0
    [11:26:55]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [11:26:55]  [RadarAPI]: Status: Passed
    [11:27:00]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [11:27:00]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [11:27:00]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [11:27:01]  [RadarAPI]: Sending fpga command to DCA1000
    [11:27:01]  [RadarAPI]: 
    [11:27:01]  FPGA Configuration command : Success
    [11:27:01]  [RadarAPI]: Sending record command to DCA1000
    [11:27:01]  [RadarAPI]: 
    [11:27:01]  Configure Record command : Success
    [11:27:01]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [11:27:01]  [RadarAPI]: Sending fpga_version command to DCA1000
    [11:27:01]  [RadarAPI]: 
    [11:27:01]  
    [11:27:01]  FPGA Version : 2.7 [Record]
    [11:27:01]  
    [11:27:15]  [RadarAPI]: ar1.MeasureTheTxPowerConfig(1, 10)
    [11:27:15]  [RadarAPI]: Status: Passed
    [11:27:15]  Measure Tx Power async event received!
    [11:27:22]  [RadarAPI]: ar1.MeasureTheTxPowerConfig(1, 10)
    [11:27:22]  [RadarAPI]: Status: Passed
    [11:27:22]  Measure Tx Power async event received!
    [11:27:23]  [RadarAPI]: ar1.MeasureTheTxPowerConfig(1, 10)
    [11:27:23]  [RadarAPI]: Status: Passed
    [11:27:23]  Measure Tx Power async event received!
    [11:27:23]  [RadarAPI]: ar1.MeasureTheTxPowerConfig(1, 10)
    [11:27:23]  [RadarAPI]: Status: Passed
    [11:27:23]  Measure Tx Power async event received!
    [11:27:23]  [RadarAPI]: ar1.MeasureTheTxPowerConfig(1, 10)
    [11:27:23]  [RadarAPI]: Status: Passed
    [11:27:23]  Measure Tx Power async event received!
    [11:27:23]  [RadarAPI]: ar1.MeasureTheTxPowerConfig(1, 10)
    [11:27:23]  [RadarAPI]: Status: Passed
    [11:27:23]  Measure Tx Power async event received!
    [11:27:39]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [11:27:39]  [RadarAPI]: Sending start_record command to DCA1000
    [11:27:44]  [RadarAPI]: ar1.StartFrame()
    [11:27:44]  [RadarAPI]: Status: Passed
    [11:27:44]  Frame start async event received!
    [11:27:44]  Frame End async event received!
    [11:27:44]  [RadarAPI]: Frame Ended
    [11:27:46]  [RadarAPI]: 
    [11:27:46]  Start Record command : Success
    [11:27:46]  
    [11:27:46]  Record is completed
    [11:27:46]  
    [11:27:46]  Record stop is done successfully
    [11:27:46]  [RadarAPI]: 
    [11:27:52]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin")
    [11:27:52]  [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    

  • Hi Chunghee,

    Please disable the test source for getting the monitoring reports.

    Directly go the SensorConfig Tab from the DataConfig tab and remember to untick the "Test source enable" checkbox shown below

      

    Regards,

    Ishita