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: Real-time ADC capture in Linux

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

Hello,

I have a IWR1443BOOST and DCA1000EVM. I am using mmwave_sdk_01_01_00_02; the capture demo and mmw works fine. How do I extract the real-time ADC data through the DCA1000EVM board via Ethernet to Linux PC. The mmWave Studio: http://software-dl.ti.com/ra-processors/esd/MMWAVE-STUDIO/latest/index_FDS.html seems to only work on a Windows machine. Is there any script to automate the ADC capture through the Ethernet on a Linux PC?

  • Hi Sanjib,

    As you said, mmwave studio is based on windows. And our support is limited to mmwave studio only. In order to control data capture in linux, you will need to develop your own API to DCA1000. Here are some e2e ticket which may help you:

    e2e.ti.com/.../2591491
    e2e.ti.com/.../2596011
    e2e.ti.com/.../2620109

    Thanks and Regards,
    Michelle
  • Thanks, Michelle. I recently received the DCA1000EVM, and followed the instructions to setup the host PC with static IP (192.168.33.30); but I am unable to ping the DCA1000EVM device. Is there any configuration that I am missing?

    Thanks,

    Sanjib

  • Sanjib,

    Before using linux to work on your own software, have you located a windows PC to test the DCA1000 to make sure the board is working?

    Just a sanity check.

    Thanks and Regards,
    Michelle
  • Thanks, Michelle. I tried with Windows machine as well. A simple "ping" to the board does not work; it goes to "request time-out."

    Note: I have not changed any configuration or DIP switch settings on DCA1000EVM when the board arrived from TI.

    --

    Sanjib

  • Sanjib,

    In that case, let's get the connection working first using mmwave studio before working on linux machine.

    In your windows, please install mmwave studio. Once started, on the left side of panel RadarAPI, press the "SetUp DCA1000" button. Press "Connect, Reset and Configure" button on the RFDataCaptureCard window.

    In the meantime, either disable firewall or authorize mmwave studio in firewall setting.

    Also check board sw setting using attached picture. 


    Let me know how it goes.

    Thanks and Regards,
    Michelle

  • Thanks, Michelle. I have configured the DIP switches as per the picture, disabled firewall, and added the network configuration in my PC. The mmWave studio shows the DCA1000EVM is connected, yet when I clicked on "SetUp DCA1000" and clicked "Connect, Reset, and Configure," nothing happened. Attached is the screenshot of mmWave Studio and "SetUp DCA1000". Again, I am not even able to ping to the board from my Windows machine; "ping 192.168.33.180" shows "Request Time-Out."

    --

    Sanjib

  • Hi Sanjib,

    You could check the output log by select view> output in mmwave studio. You probably would see "Ethernet cable not connected" after pressing "Connect...." button.

    There are two things you can check: 1. what windows you are using? 10 or 7? For 10, usually people can add mmwave studio to firewall setting to allow it. for windows 7, defender firewall needs to be disabled. Also make sure no VPN is on
    2. If still doesn't work, please try re-flash FPGA. Check DCA1000 user's guide for instructions. www.ti.com/.../spruij4.pdf

    Thanks and Regards,
    Michelle
  • Yes, the output log shows the following error after clicking "Connect, ..." button:

    [18:54:55] ConnectRFDCCard Status: RFDCCARD_UDP_WRITE_ERR
    [18:54:55] Ethernet Cable is disconnected Please check.....!!!

    1. I am using Windows 10, I have tried both approaches: adding mmWave studio to firewall settings, and disabling firewall completely. Both approaches fail.

    2. I tried downloading the Lattice Diamond programmer tool; their server seems to be down. Is there any other way to download it? Also, I saw the FPGA Configuration DIP switch is by default configured as the Figure 20 of the pdf that you sent me. Do I need to change the FPGA configuration switch to boot it normal mode?

    --
    Sanjib
  • Sanjib,

    Unfortunately, you'll have to download the program tool from official website. No need to change FPGA dip switch. When programming, just use different USB port.

    In addition, make sure you have 5V power supply for DCA1000 EVM. To use power from BOOST EVM, board level modification is needed.
    Please send me a snapshot of your IP configuration just to double check.

    Thanks and Regards,
    Michelle
  • I am using a separate 5V power supply for DCA1000EVM. Both the IWR1443BOOST and DCA1000EVM are powered through this: https://www.amazon.com/dp/B01JIWQPMW?ref=emc_b_5_i

    I am attaching the IP configuration here:

    I tried to re-flash the FPGA using the Diamond programmer tool with the FPGA_JTAG (J4) USB cable connected. It is not even able to Erase the board and shows the following error:

    I though the board has some hardware issue, so I re-checked the previous steps with another DCA1000EVM; it shows same error. Here is one of the board's picture:

    Let me know what am I missing here?

  • Hi Sanjib,

    According to the DCA1000 user's guide page 24: If the command line prompts to select the device manually, then click on the Device column and select the LFE5UM-85F device

    Hope that helps.

    Regards,
    Michelle
  • I didn't understand your response. The device is already selected; yet, when I use "Erase only" option, it throws the error as attached above.

  • Sanjib,

    The figure you showed ask to manually select the device, which is also what user's guide said. Could you remove the device and add it again?

    Thanks and Regards,
    Michelle
  • Ok, I removed the device and added it manually. I was able to erase and re-flash the .bit file on the FPGA. I pressed FPGA RST button, but I am still unable to ping to the device. It seems the mmWave studio can read the FPGA version number now, but output log still shows error,

  • OK. Good. It seems mmwave studio can connect to FPGA.
    To press the "Setup DCA1000" at the beginning is only to verify the connection. To run the full test, please refer to mmwave studio user's guide for details.

    Quicker way is to press Set(1), Connect(2), Then sun lua script: C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\DataCaptureDemo_xWR.lua

    Let me know if it works.

    Thanks and Regards,
    Michelle
  • But, what about Ethernet connection error? The output log still shows the port open and close error. Again, a simple network ping to the device, "ping 192.168.33.180" goes to "Request Time Out." Without Ethernet connection how will the mmWave studio stream data from DCA1000EVM?

    --

    Sanjib

  • No worries, it's just because the step is out of order. Follow the user's guide and let's see how it goes.

    Thanks and Regards,
    Michelle