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: Zero file captured via mmWave-Studio over Ethernet

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

Hello there.

I am trying capture raw ADC data sampled in IWR1443BOOST using DCA1000EVM. I followed instructions found in related guides such as mmwave_studio_user_guide, DCA1000_Quick_Start_Guide, DCA1000EVM_Capture_Card, IWR1443BOOST_swru518c and was unable to capture raw ADC data via Ethernet.

I am using IWR1443BOOST RevB ES 3.0 (purchased in 2019) and mmWaveStudio v 2.1.1.; the radar works fine with mmWaveVisualizer SDK 2.1. I uploaded pictures from my set up and results; I would be more than grateful if someone could kindly take a look at them and tell me why it's not working. I also checked out other topics and used their solutions but they were to no avail.

I made sure that:

- Firewall is either disabled or mmWaveStudio and other related utilities can bypass it.

- Pin Configuration on DCA1000EVM is in correct order, either in HW_CONFIG or SW_CONFIG.

- Jumpers on IWR1443BOOST are in SOP2 Mode.

- Power supplies are both 5V,3A.

- FPGA version is 2.8 and I also tried increasing the packet delay parameter but no luck.

- SAMTEC Ribbon Cable is connected correctly and is not loose.

I start the "DataCaptureDemo_xWR.lua" script and everything goes fine until the last part which is capturing data from DCA1000EVM to PC using Ethernet. Here is my log file:

[17:01:33] [RadarAPI]: Opening Gpio Control Port()
[17:01:33] [RadarAPI]: Status: Passed
[17:01:33] [RadarAPI]: Opening Board Control Port()
[17:01:33] [RadarAPI]: Status: Passed
[17:01:34] [RadarAPI]: ar1.FullReset()
[17:01:34] [RadarAPI]: Status: Passed
[17:01:35] [RadarAPI]: Closing Board Control Port()
[17:01:35] [RadarAPI]: Status: Passed
[17:01:35] [RadarAPI]: Closing Gpio Control Port()
[17:01:35] [RadarAPI]: Status: Passed
[17:01:35] [RadarAPI]: ar1.SOPControl(2)
[17:01:35] [RadarAPI]: Status: Passed
[17:01:36] [RadarAPI]: ar1.Connect(3,921600,1000)
[17:01:38] [RadarAPI]: Warning: Connected with baudrate 115200
[17:01:39] [RadarAPI]: Warning: Disconnected existing BaudRate
[17:01:40] [RadarAPI]: Warning: Trying to connect with baudrate 921600
[17:01:41] [RadarAPI]: ar1.Calling_IsConnected()
[17:01:42] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[17:01:42] [RadarAPI]: Status: Passed
[17:01:42] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[17:01:42] [RadarAPI]: Status: Passed
[17:01:42] [RadarAPI]: ar1.deviceVariantSelection("XWR1443")
[17:01:42] [RadarAPI]: Status: Passed
[17:01:42] [RadarAPI]: ar1.frequencyBandSelection("77G")
[17:01:42] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[17:01:42] [RadarAPI]: Status: Passed
[17:01:42] Device Status : XWR1443/QM/SOP:2/ES:3
[17:01:43] [RadarAPI]: ar1.SaveSettings('C:\Users\Milad\AppData\Roaming\RSTD\ar1gui.ini')
[17:01:51] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[17:01:51] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[17:01:51] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[17:01:51] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
[17:01:51] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[17:01:53] [RadarAPI]: ar1.GetBSSFwVersion()
[17:01:53] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[17:01:53] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[17:01:53] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
[17:01:53] BSS FW Download Success
[17:01:53] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss.bin")
[17:01:54] [RadarAPI]: Downloading MSS RPRC Binary..
[17:01:57] [RadarAPI]: ar1.GetMSSFwVersion()
[17:01:57] [RadarAPI]: MSSFwVersion:(01.02.05.01 (12/07/19))
[17:01:57] MSS FW Download Success
[17:01:57] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[17:01:57] [RadarAPI]: Status: Passed
[17:01:57] MSS power up done async event received!
[17:01:57] Power On Success
[17:01:58] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[17:01:58] [RadarAPI]: Status: Passed
[17:01:58] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[17:01:58] [RadarAPI]: Status: Passed
[17:01:58] Device Status : XWR1443/QM/SOP:2/ES:3
[17:01:58] [RadarAPI]: ar1.RfEnable()
[17:01:58] BSS power up done async event received!
[17:01:58] [RadarAPI]: Status: Passed
[17:01:59] [RadarAPI]: ar1.GetMSSFwVersion()
[17:01:59] [RadarAPI]: MSSFwVersion:(01.02.05.01 (12/07/19))
[17:01:59] [RadarAPI]: ar1.GetBSSFwVersion()
[17:01:59] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[17:02:00] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[17:02:00] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
[17:02:00] RF Enable Success
[17:02:00] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[17:02:00] [RadarAPI]: Status: Passed
[17:02:00] ChanNAdcConfig Success
[17:02:00] [RadarAPI]: ar1.LPModConfig(0, 0)
[17:02:00] [RadarAPI]: Status: Passed
[17:02:00] Regualar mode Cfg Success
[17:02:00] [RadarAPI]: ar1.RfInit()
[17:02:00] RF Init async event received!
[17:02:00] [RadarAPI]: Time stamp, Temperture: 2014,25; 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;
[17:02:00] [RadarAPI]: Status: Passed
[17:02:00] RfInit Success
[17:02:01] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[17:02:01] [RadarAPI]: Status: Passed
[17:02:01] DataPathConfig Success
[17:02:01] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[17:02:01] [RadarAPI]: Status: Passed
[17:02:01] LvdsClkConfig Success
[17:02:01] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 1, 1, 1, 0, 0)
[17:02:01] [RadarAPI]: Status: Passed
[17:02:01] LVDSLaneConfig Success
[17:02:01] [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)
[17:02:01] [RadarAPI]: Status: Passed
[17:02:01] Test Source Configuration Success
[17:02:01] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 0, 30)
[17:02:01] [RadarAPI]: Status: Passed
[17:02:02] ProfileConfig Success
[17:02:02] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
[17:02:02] [RadarAPI]: Status: Passed
[17:02:02] ChirpConfig Success
[17:02:02] [RadarAPI]: ar1.EnableTestSource(1)
[17:02:02] [RadarAPI]: Status: Passed
[17:02:02] Enabling Test Source Success
[17:02:02] Test Source Already Enabled...!!!
[17:02:02] [RadarAPI]: ar1.EnableTestSource(1)
[17:02:02] [RadarAPI]: Status: Passed
[17:02:02] [RadarAPI]: ar1.FrameConfig(0, 0, 64, 128, 40, 0, 0, 1)
[17:02:02] [RadarAPI]: Status: Passed
[17:02:02] FrameConfig Success
[17:02:02] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[17:02:02] [RadarAPI]: Status: Passed
[17:02:02] SelectCaptureDevice Success
[17:02:02] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
[17:02:02] [RadarAPI]: Sending fpga command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02] FPGA Configuration command : Success
[17:02:02] [RadarAPI]: Sending fpga_version command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02]
[17:02:02] FPGA Version : 2.8 [Record]
[17:02:02]
[17:02:02] CaptureCardConfig_EthInit Success
[17:02:02] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 1, 1, 2, 3, 0)
[17:02:02] [RadarAPI]: Sending fpga command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02] FPGA Configuration command : Success
[17:02:02] CaptureCardConfig_Mode Success
[17:02:02] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(100)
[17:02:02] [RadarAPI]: Sending fpga command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02] FPGA Configuration command : Success
[17:02:02] [RadarAPI]: Sending record command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02] Configure Record command : Success
[17:02:02] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(100)
[17:02:02] [RadarAPI]: Sending fpga command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02] FPGA Configuration command : Success
[17:02:02] [RadarAPI]: Sending record command to DCA1000
[17:02:02] [RadarAPI]:
[17:02:02] Configure Record command : Success
[17:02:02] CaptureCardConfig_PacketDelay Success
[17:02:02] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[17:02:02] [RadarAPI]: Sending start_record command to DCA1000
[17:02:02] [RadarAPI]: Status: Passed
[17:02:03] [RadarAPI]: ar1.StartFrame()
[17:02:03] [RadarAPI]: Status: Passed
[17:02:03] Frame start async event received!
[17:02:06] [RadarAPI]: Frame Ended
[17:02:06] Frame End async event received!
[17:02:08] Please wait for a few seconds for matlab post processing .....!!!!
[17:02:08] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[17:02:08] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 64
[17:02:08] Error : The number of files captured is zero!
[17:02:18]
[17:02:18] ***Script completed successfully.***

No data is captured. I monitored packets that were transferred through the Ethernet port using Wireshark:

By the time that those 3 highlighted red packets appear on the screen, DATA_TRAN_PRG LED which was on before, turns off for a very brief instant and LVDS_PATH_ERR LED blinks for a an instant:

Here are my other settings and set up, I also attached the Wireshark log file.

dca1000evm_eth.rar

Thank you in advance!

  • HI, 

    Can you confirm the switches setting (highlight in red circle) in the below figure?

    Best,

    Zigang

  • Hi Zigang.. Thank you for the response...

    Yes.. I have tried multiple switch configurations, either in SW_CONFIG or HW_CONFIG; the results are always the same.

    I do not receive any data. After about 30 secs (according to Wireshark), the DCA sends a packet to PC and DATA_TRAN_PRG LED which was on before, turns off for a very brief instant and LVDS_PATH_ERR LED blinks for a an instant:

    I also captured a slow-motion footage from the behavior of LEDs when I received that packet after 30 secs. The switch in this video was set according the picture you sent:

    Thank you in advance!

  • Here is also the slow-mo footage in compressed format if you have difficulty viewing it here:

    video_2020-06-05_12-34-13.rar

  • So in your case,  there no error, but the raw data captured file is empty.   You can try to increase the Packet Delay setting in the DCA1000 configuration, change from default 25us to 50us or 75us or more.

    Best,

    Zigang 

  • I tried that since it was mentioned in other topics. It was set to 100us (I also tried more, up to 300us) as it can be seen in my log file but no luck; and the host PC is also capable so I don't think this is the issue.

    I also tried to capture data manually without the script but here is the result from the log file:

    Fri Jun 05 13:18:41 2020
    Start Record Command (req)

    Fri Jun 05 13:18:41 2020
    Start Record command : Success

    Fri Jun 05 13:18:41 2020
    Return status : 0

    Fri Jun 05 13:19:11 2020
    No LVDS data

    Fri Jun 05 13:19:11 2020
    Record stop is done successfully

    There is no adc.bin data either. I read in another topic that the FPGA on DCA1000EVM got a 30 seconds time out duration to capture the LVDS data from the radar and when it can't capture it, it triggers the LED_PATH_ERR LED (exactly what happens here) so I suspect the problem might be hardware related maybe? something related to the radar evaluation board or the SAMTEC ribbon cable? is that logical?

    The radar evaluation modules works flawlessly in functional mode and with mmWave Demo Visualizer when the demo is flashed onto its QSPI flash.

  • The design team suggested to add some RSTD.Sleep(2000) before the frame start. Here is the reply from our design team:

    After issuing the DCA1000 ARM command  - ar1.CaptureCardConfig_StartRecord(adc_data_path, 1)

    It is always recommended to wait for 1-2 secs before issuing the StartFrame command. Because the DCA1000 ARM command does not go to the AWR device, instead it goes to the DCA1000 hardware.

    So you to have manage it asynchronously. (That’s why we have the buffer time of 1-2 secs).

     

    Eg:

    ar1.CaptureCardConfig_StartRecord(adc_data_path, 1)

    RSTD.Sleep(2000)

    ar1.StartFrame()

    Best,

    Zigang

  • HI, there:

    Is your problem get resolved yet?

    Best,

    Zigang

  • HI, 

    Did your problem disappear suddenly?  

    I have not received your update for a while.  I am closing this ticket for now. 

    Best,

    Zigang