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: mmWave Studio unable to read the FPGA version of DCA1000

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1243

Hello,

I am setting up AWR1243 and DCA1000. All the connections have been successfully done as pointed out in the guide. 5V power supplies with >2.5A current, micro USB connections, and ethernet connection. After setting them up and verify that SPO0 and SOP1 are connected, I changed the IPV4 address. Screenshot attached for reference.:

After doing all this process, I started the mmwave studio, and successfully set up all the parameters in 'Connection', 'StaticConfig', 'DataConfig' and 'SensorConfig' tabs. In the output tab, I all the configuration was successfully done. However, when I clicked the 'Setup DCA1000' button and clicked in Connect, Reset and Configure button, I get an error in the output tab that 'Unable to read FPGA Version'. I repeated this process multiple times, but am getting the same error.

The output commands are:

[21:37:01] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 1, 1, 2, 3, 30)
[21:37:01] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[21:37:01] [RadarAPI]: Sending fpga command to DCA1000
[21:37:11] [RadarAPI]:
[21:37:11] FPGA Configuration :
[21:37:11] Timeout Error! System disconnected
[21:37:11] [RadarAPI]: Sending record command to DCA1000
[21:37:21] [RadarAPI]:
[21:37:21] Configure Record :
[21:37:21] Timeout Error! System disconnected
[21:37:21] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
[21:37:21] [RadarAPI]: Sending fpga_version command to DCA1000
[21:37:31] [RadarAPI]:
[21:37:31]
[21:37:31] Unable to read FPGA Version. [error -5]

Thanking you in anticipation

Regards

Anum

  • I tried to run the setup according to this user guide: https://www.ti.com/lit/ml/spruik7/spruik7.pdf

    Again, all the initial setting uptil 'Setup DCA1000' are successfully done. But I start having problems after that. Following is the output part where I face the problem: 

    OUTPUT

    [21:49:38] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [21:49:38] [RadarAPI]: Status: Passed
    [21:49:38] FrameConfig Success
    [21:49:38] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [21:49:38] [RadarAPI]: Status: Passed
    [21:49:38] SelectCaptureDevice Success
    [21:49:38] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [21:49:38] [RadarAPI]: Sending fpga command to DCA1000
    [21:49:48] [RadarAPI]:
    [21:49:48] FPGA Configuration :
    [21:49:48] Timeout Error! System disconnected
    [21:49:48] [RadarAPI]: Sending fpga_version command to DCA1000
    [21:49:58] [RadarAPI]:
    [21:49:58]
    [21:49:58] Unable to read FPGA Version. [error -5]
    [21:49:58]
    [21:49:58] CaptureCardConfig_EthInit Success
    [21:49:58] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 1, 1, 2, 3, 0)
    [21:49:58] [RadarAPI]: Sending fpga command to DCA1000
    [21:50:09] [RadarAPI]:
    [21:50:09] FPGA Configuration :
    [21:50:09] Timeout Error! System disconnected
    [21:50:09] CaptureCardConfig_Mode Success
    [21:50:09] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [21:50:09] [RadarAPI]: Sending fpga command to DCA1000
    [21:50:19] [RadarAPI]:
    [21:50:19] FPGA Configuration :
    [21:50:19] Timeout Error! System disconnected
    [21:50:19] [RadarAPI]: Sending record command to DCA1000
    [21:50:29] [RadarAPI]:
    [21:50:29] Configure Record :
    [21:50:29] Timeout Error! System disconnected
    [21:50:29] CaptureCardConfig_PacketDelay failure
    [21:50:29] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [21:50:29] [RadarAPI]: Sending start_record command to DCA1000
    [21:50:29] [RadarAPI]: Status: Passed
    [21:50:30] [RadarAPI]: ar1.StartFrame()
    [21:50:30] [RadarAPI]: Status: Passed
    [21:50:30] Frame start async event received!
    [21:50:30] [RadarAPI]: Frame Ended
    [21:50:30] Frame End async event received!
    [21:50:35] Please wait for a few seconds for matlab post processing .....!!!!
    [21:50:35] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [21:50:35] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [21:50:35] Error : The number of files captured is zero!
    [21:50:45]
    [21:50:45] ***Script completed successfully.***
    [21:50:53] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [21:50:53] [RadarAPI]: Sending dll_version command to DCA1000
    [21:50:53] [RadarAPI]:
    [21:50:53] DLL Version : 1.0
    [21:50:53] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [21:50:53] [RadarAPI]: Status: Passed

    Although DCA1000 is somehow connected, but still its FPGA version is not displayed, as shown in the user guide, and because of this, no data is captured as shown in the output messages.

  • Hi

    As a first step please take a look at the detailed DCA1000 section of the mmwave FAQ

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

    thank you

    Cesar

  • Hi Cesar, 

    Many thanks for getting back... I just performed the steps according to the document you provided. 

    1) I disabled my firewall

    2) I reflashed the FPGA using lattice programmer and received a success message.

    But I am getting the same error as before. FPGA version is still not read by mmwave studio.

    Regards

    Anum

  • Hi Cesar,

    As pointed in other forums, the issue resolved by reflashing the FPGA, using the correct ethernet adaptor and power cycling both AWR1243 and DCA1000 boards a few times. FPGA is now correctly read.

    Thanks Anum.