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.

MMWAVE-STUDIO: IWR1642 ADC raw data cupture with DCA1000EVM

Part Number: MMWAVE-STUDIO
Other Parts Discussed in Thread: DCA1000EVM, IWR1642

Hello.

I'm trying to get ADC raw data from IWR1642 with DCA1000EVM on my notebook (Windows 10 Enterprise). I'm using C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\DataCaptureDemo_xWR.lua script to data capture.

The mmWave studio is running without errors until postprocessing step (see mmWave Studio log below).  

The problem is that the files adc_data.bin and adc_data_Raw_0.bin are empty (dir result is below).

Conserning troubleshooting section of document spruij4a (DCA1000EVM Data Capture Card User's Guide (Rev. A)) I've checked connectivity and Ethernet packet transfer (firewall was disabled) with Wireshark tool. So packets were transfered form DCA1000EVM to notebook interface (see Wireshark screenshot and "ipconfig /all" result below)  

Content of adc_data_LogFile.txt and mmWave Studio log see bellow.

The thing is, that at my home PC (Windows 7 Pro) data capturing is working fine with the same hardware configuration. It is critical for me to run mmWave Studio processing on notebook due to futher outdoor experiments.  

Any ideas?

Regards Michael.

Dir results:

C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\PostProc
02.08.2019  11:54    <DIR>          .
02.08.2019  11:54    <DIR>          ..
02.08.2019  11:54                 0 2.txt
02.08.2019  11:53                 0 adc_data.bin
25.09.2018  12:14           234 527 adc_data.fig
25.09.2018  12:14           113 652 adc_data.png
02.08.2019  11:53                 0 adc_data_CP_0.bin
02.08.2019  11:53                 0 adc_data_CQ_0.bin
02.08.2019  11:53                 0 adc_data_DSP_0.bin
25.09.2018  12:14             3 320 adc_data_log.log
02.08.2019  11:53             1 144 adc_data_LogFile.txt
02.08.2019  11:53                 0 adc_data_R4F_0.bin
02.08.2019  11:53                 0 adc_data_Raw_0.bin
25.09.2018  12:14             1 596 CalibData.txt
25.09.2018  12:14                 0 DigPeriodicMonReport.txt
25.09.2018  12:14             1 184 InvalidConfigErr.csv
25.09.2018  12:14                 1 IsNvidiaOldCardMode.txt
25.09.2018  12:14           119 822 libgcc_s_dw2-1.dll
25.09.2018  12:14         1 026 062 libstdc++-6.dll
25.09.2018  12:14            70 656 libwinpthread-1.dll
02.08.2019  11:53             1 220 LogFile.txt
25.09.2018  12:14                 0 MonitoringReport.txt
25.09.2018  12:14                 0 MSSGetDataBlock.txt
25.09.2018  12:14            11 264 Packet_Reorder_Zerofill.exe
02.08.2019  11:53            67 378 PackFile.mat
25.09.2018  12:14                 0 PhaseShiftCalibData.txt
02.08.2019  11:53                 0 pktlogfile.txt
25.09.2018  12:14         5 391 360 Qt5Core.dll
25.09.2018  12:14         5 334 528 Qt5Gui.dll
25.09.2018  12:14         6 541 824 Qt5Widgets.dll
25.09.2018  12:14         3 137 755 RawFileFormat.exe
02.08.2019  11:18                 0 Temp_data.txt
              30 files     22 057 293 bytes
               2 folders  11 741 233 152 bytes free

Wireshark connectivity and packet transfer check:

   

 "ipconfig /all" result: 

Ethernet Ethernet Adapter:

   DNS suffix for the connection. . . . . :
   Description. . . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical adress. . . . . . . . . : 50-B7-C3-08-D8-64
   DHCP is on. . . . . . . . . . . : Not
   Auto tuning is on. . . . . . : Yes
   The local IPv6 address of the channel. . . : fe80 :: f522: fde3: 89bc: 90b0% 17 (Basic)
   IPv4 Address . . . . . . . . . . . : 192.168.33.30 (Main)
   Subnet mask . . . . . . . . . . : 255.255.255.0
   Main gate. . . . . . . . . :
   IAID DHCPv6. . . . . . . . . . . : 72398787
   DUID of the DHCPv6 client. . . . . . . : 00-01-00-01-20-1C-E7-09-50-B7-C3-08-D8-64
   DNS servers. . . . . . . . . . . : fec0: 0: 0: ffff :: 1% 1
                                       fec0: 0: 0: ffff :: 2% 1
                                       fec0: 0: 0: ffff :: 3% 1
   NetBios over TCP / IP. . . . . . . . : Included

adc_data_LogFile.txt

02-Aug-2019 11:51:37: API:PowerOff,0,
02-Aug-2019 11:52:27: API:select_chip_version,AR1642,0,
02-Aug-2019 11:52:28: API:select_chip_version,AR1642,0,
02-Aug-2019 11:52:49: API:ChannelConfig,3,15,0,
02-Aug-2019 11:52:49: API:AdcOutConfig,2,1,0,
02-Aug-2019 11:52:49: API:DataFmtConfig,15,2,1,0,1,0,
02-Aug-2019 11:52:50: API:LowPowerConfig,0,1,0,
02-Aug-2019 11:52:53: API:DataPathConfig,1,1,0,2,0,
02-Aug-2019 11:52:54: API:LvdsClkConfig,1,1,0,
02-Aug-2019 11:52:55: TSW1400 Sampling rate : 600000000 7500000,0,
02-Aug-2019 11:52:55: API:SetHsiClock,9,0,
02-Aug-2019 11:52:56: API:LaneConfig,3,0,
02-Aug-2019 11:52:56: API:LvdsLaneConfig,0,1,0,
02-Aug-2019 11:52:57: API:ProfileConfig,0,1435384036,10000,600,6000,0,0,621,0,256,5000,0,0,30,0,
02-Aug-2019 11:52:58: API:ChirpConfig,0,0,0,0,0,0,0,3,0,
02-Aug-2019 11:52:59: API:EnableTestSource,0,1,0,
02-Aug-2019 11:52:59: API:FrameConfig,0,0,8,128,8000000,0,512,0,
02-Aug-2019 11:52:59: API:AdvancedFrameConfig,1,0,0,0,1,128,8000000,0,1,1,8000000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
02-Aug-2019 11:53:01: API:select_capture_device,DCA1000,0,

mmWave Studio log:

[11:52:11] [RadarAPI]: Opening Gpio Control Port()
[11:52:11] [RadarAPI]: Status: Passed
[11:52:12] [RadarAPI]: Opening Board Control Port()
[11:52:12] [RadarAPI]: Status: Passed
[11:52:13] [RadarAPI]: ar1.FullReset()
[11:52:13] [RadarAPI]: Status: Passed
[11:52:14] [RadarAPI]: Closing Board Control Port()
[11:52:14] [RadarAPI]: Status: Passed
[11:52:14] [RadarAPI]: Closing Gpio Control Port()
[11:52:14] [RadarAPI]: Status: Passed
[11:52:14] [RadarAPI]: ar1.SOPControl(2)
[11:52:14] [RadarAPI]: Status: Passed
[11:52:20] [RadarAPI]: ar1.Connect(5,921600,1000)
[11:52:23] [RadarAPI]: Warning: Connected with baudrate 115200
[11:52:24] [RadarAPI]: Warning: Disconnected existing BaudRate
[11:52:24] [RadarAPI]: Warning: Trying to connect with baudrate 921600
[11:52:26] [RadarAPI]: ar1.Calling_IsConnected()
[11:52:27] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[11:52:27] [RadarAPI]: Status: Passed
[11:52:27] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[11:52:27] [RadarAPI]: Status: Passed
[11:52:27] Device Status : XWR1642/QM/SOP:2/ES:2
[11:52:28] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[11:52:28] [RadarAPI]: Status: Passed
[11:52:28] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[11:52:28] [RadarAPI]: Status: Passed
[11:52:28] Device Status : XWR1642/QM/SOP:2/ES:2
[11:52:29] [RadarAPI]: ar1.SaveSettings('C:\Users\mikle\AppData\Roaming\RSTD\ar1gui.ini')
[11:52:34] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[11:52:34] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[11:52:34] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[11:52:34] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
[11:52:34] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[11:52:36] [RadarAPI]: ar1.GetBSSFwVersion()
[11:52:36] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[11:52:37] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[11:52:37] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[11:52:37] BSS FW Download Success
[11:52:39] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
[11:52:39] [RadarAPI]: Downloading MSS RPRC Binary..
[11:52:41] MSS FW Download Success
[11:52:44] MSS power up done async event received!
[11:52:44] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[11:52:44] [RadarAPI]: Status: Passed
[11:52:44] Power On Success
[11:52:45] [RadarAPI]: ar1.RfEnable()
[11:52:46] BSS power up done async event received!
[11:52:46] [RadarAPI]: Status: Passed
[11:52:46] [RadarAPI]: ar1.GetBSSFwVersion()
[11:52:46] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[11:52:47] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[11:52:47] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[11:52:47] RF Enable Success
[11:52:49] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[11:52:49] [RadarAPI]: Status: Passed
[11:52:49] ChanNAdcConfig Success
[11:52:50] [RadarAPI]: ar1.LPModConfig(0, 1)
[11:52:50] [RadarAPI]: Status: Passed
[11:52:50] LPModConfig Success
[11:52:52] [RadarAPI]: ar1.RfInit()
[11:52:52] RF Init async event received!
[11:52:52] [RadarAPI]: Status: Passed
[11:52:52] [RadarAPI]: Time stamp, Temperture: 6583,47; 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:52:52] RfInit Success
[11:52:53] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[11:52:53] [RadarAPI]: Status: Passed
[11:52:53] DataPathConfig Success
[11:52:54] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[11:52:55] [RadarAPI]: Status: Passed
[11:52:55] LvdsClkConfig Success
[11:52:56] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[11:52:56] [RadarAPI]: Status: Passed
[11:52:56] LVDSLaneConfig Success
[11:52:57] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29,982, 0, 256, 5000, 0, 0, 30)
[11:52:57] [RadarAPI]: Status: Passed
[11:52:57] ProfileConfig Success
[11:52:58] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
[11:52:58] [RadarAPI]: Status: Passed
[11:52:58] ChirpConfig Success
[11:52:59] Test Source Already Disabled...!!!
[11:52:59] [RadarAPI]: Status: Passed
[11:52:59] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
[11:52:59] [RadarAPI]: Status: Passed
[11:52:59] FrameConfig Success
[11:53:00] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[11:53:01] [RadarAPI]: passed
[11:53:01] SelectCaptureDevice Success
[11:53:02] [RadarAPI]: StatusDCCard Event Registered
[11:53:02] [RadarAPI]: Status: Passed
[11:53:02] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[11:53:02] [RadarAPI]: Status: Passed
[11:53:04] Ethernet Cable is disconnected Please check.....!!!
[11:53:04] CaptureCardConfig_EthInit Success
[11:53:05] [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 2, 1, 2, 3, 30)
[11:53:05] [RadarAPI]: Status: Passed
[11:53:05] CaptureCardConfig_Mode Success
[11:53:06] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[11:53:06] [RadarAPI]: Status: Passed
[11:53:06] CaptureCardConfig_PacketDelay Success
[11:53:07] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[11:53:07] [RadarAPI]: Status: Passed
[11:53:08] [RadarAPI]: ar1.StartFrame()
[11:53:09] [RadarAPI]: Status: Passed
[11:53:09] Frame start async event received!
[11:53:09] Frame End async event received!
[11:53:09] [RadarAPI]: Frame Ended
[11:53:11] Please wait for a few seconds for Packet reorder utility processing .....!!!!
[11:53:11] [RadarAPI]: Packet Reorder Utility Started...please wait...
[11:53:11] [RadarAPI]: ar1.PacketReorderZeroFill("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\pktlogfile.txt")
[11:53:16] [RadarAPI]: Packet Reorder Utility process completed!
[11:53:26] Packet reorder utility processing done.....!!!!
[11:53:26] Please wait for a few seconds for matlab post processing .....!!!!
[11:53:26] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[11:53:26] [RadarAPI]: Error:
[11:53:26]
[11:53:26] ... MWMCR::EvaluateFunction error ...
[11:53:26] 02-Aug-2019 11:53:26: The file C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
[11:53:26] Error in => process_adc_data.m at line 52.
[11:53:26]