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: no data is received using DCA1000EVM CLI despite mmWaveStudio working

Part Number: DCA1000EVM
Other Parts Discussed in Thread: MMWAVEICBOOST, IWR6843ISK,

Hi,

I am currently using an DCA1000EVM board with MMWAVEICBOOST and an IWR6843ISK to capture raw data and save it using mmWaveStudio which has been working perfectly. We are now looking into integrating the setup in a robotic system to automate the data capturing process and I have looked into the DCA1000EVM CLI for that. I have followed the instructions as in the documentation, but I am not able to receive any data from the board and no errors are being output. After the capturing is "done", only a adc_data_Raw_LogFile.csv file is generated in the directory.  I even looked at the UDP packets using WireShark and I cannot see any data being received unlike when using mmWaveStudio.

here is the list of commands I am using

Fullscreen
1
2
3
4
./DCA1000EVM_CLI_Control.exe fpga cfg.json
./DCA1000EVM_CLI_Control.exe record cfg.json
./DCA1000EVM_CLI_Control start_record cfg.json
./DCA1000EVM_CLI_Control stop_record cfg.json
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Here is the output from CLI_LogFile.txt reporting success

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Tue Jul 12 12:34:55 2022
FPGA Configuration Command (req)
Tue Jul 12 12:34:55 2022
FPGA Configuration command : Success
Tue Jul 12 12:34:55 2022
Return status : 0
Tue Jul 12 12:35:12 2022
Configure Record Command (req)
Tue Jul 12 12:35:12 2022
Configure Record command : Success
Tue Jul 12 12:35:12 2022
Return status : 0
Tue Jul 12 12:35:15 2022
Start Record Command (req)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

And here is the config file

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"DCA1000Config": {
"dataLoggingMode": "raw",
"dataTransferMode": "LVDSCapture",
"dataCaptureMode": "ethernetStream",
"lvdsMode": 2,
"dataFormatMode": 3,
"packetDelay_us": 25,
"ethernetConfig": {
"DCA1000IPAddress": "192.168.33.180",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
},
"ethernetConfigUpdate": {
"systemIPAddress": "192.168.33.30",
"DCA1000IPAddress": "192.168.33.180",
"DCA1000MACAddress": "12.34.56.78.90.12",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
},
"captureConfig": {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


I also checked and my firewall is not blocking the CLI apps. Any pointer about what I am doing wrong?

  • Hi,

    I'm going to take a look at this in greater detail this week. Please respond back by Friday if you do not get a response before then.

    Best,

    Nate

  • Hi, there:

    Which demo are you flashed on the radar EVM for data capture while working with DCA1000 CLI?  SDK OOB demo support raw data capture.  You can search "3. 3. 2. mmWave demo with LVDS-based instrumentation" inside SDK User guide for details.  

    Best,

    Zigang

  • I wasn't sure so I reflashed the EVM with the OOB binary and tested once again with CLI, but I am not receiving any data, however mmWaveStudio is still working fine.

    The DIP switches on the EVM are set to MMWAVEICBOOST mode (first 4 are off, while 5 is on) if that info might be relevant.

  • HI, there:

    Please take a look at following thread: https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/992716/iwr1843boost-iwr1843boost

    An MATLAB capture example is provided to use SDK OOB and DCA1000 CLI interface.  

    Best,

    Zigang

  • I tested using the attached MATLAB script and I am still unable to receive any data.

    This is the error I am getting indicating that no data is being saved

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    >> capture_example
    C:\DCA1000CLI_dataCapture_git\config\chirp1_60G_ES2.cfg
    Opening configuration file
    Parsing configuration file...
    Error using fread
    Invalid file identifier. Use fopen to generate a valid file identifier.
    Error in CLI_OneTimeDataCapture_function (line 97)
    dataChunk = fread(fid, samples,'uint16');
    Error in capture_example (line 20)
    CLI_OneTimeDataCapture_function(homeDir, 'AOP_Aug_test', 'COM7', 'chirp1_60G_ES2', '0');
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    I also tested on a different computer and I am having the same problem despite mmWaveStudio working fine.

  • Hi, there:

    Please go through the capture_example and change the parameter captureFlag from data parsing to data capture.  Right now, you are running in the parsing mode and assuming the capture is done.

    Best,

    Zigang

  • Thank you for your help. I changed the parameter and the script was able to capture the data. It wasn't clear in the CLI documentation that the measurement should be triggered on the EVM board as well and not just the DCA1000.