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.

AWR2944: CLI tool for AWR2944

Genius 9880 points
Part Number: AWR2944
Other Parts Discussed in Thread: DCA1000EVM,

Hi,

My customer is currently using a AWR2944EVM+DCA1000EVM to capture raw data. Searched on the forum and found that it can use mmWave Studio CLI to collect raw data. https://dev.ti.com/tirex/explore/node?a=VLyFKFf__3.2.0&a=VLyFKFf__4.0.0&node=AK3GYIhDPkgp.R8qt-gVUg__Z2F8GEn__LATEST

However, in the user guide of mmWave Studio CLI, awr2944 is not in the mmwave device variant, as shown in the picture. And in the page 10, there is option to rebuild application and tool. Does that mean it need to rebuild the mmWave Studio CLI tool for AWR2944?

Thank you.

Regards,
May

  • Hi May,

    Current version of mmwave studio CLI doesn't support AWR294x device.

    For ADC data capture you can use mmw demo mmWave MCU Plus SDK 4.2.0.3 (https://www.ti.com/tool/MMWAVE-MCUPLUS-SDK)

    Follow these steps for capturing Raw ADC data:
    1. Flash demo (mmw demo mmwave_mcuplus_sdk_04_02_00_03\ti\demo\awr294x\mmw\awr2944_mmw_demoDDM.appimage) applications.
    2. Connect to visualizer (dev.ti.com/.../
    3. Copy AWR294x_Capture.json file (attached) to C:/ti/mmwave_studio_03_00_00_14/mmWaveStudio/PostProc (https://www.ti.com/tool/download/MMWAVE-STUDIO-2G)

    AWR294x_Capture.json
    {
        "DCA1000Config": {
            "dataLoggingMode": "multi",
            "dataTransferMode": "LVDSCapture",
            "dataCaptureMode": "ethernetStream",
            "lvdsMode": 2,
            "dataFormatMode": 3,
            "packetDelay_us": 10,
            "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": {
                "fileBasePath": "C:\\ti\\",
                "filePrefix": "awr294x_",
                "maxRecFileSize_MB": 1024,
                "sequenceNumberEnable": 1,
                "captureStopMode": "infinite",
                "bytesToCapture": 4000,
                "durationToCapture_ms": 4000,
                "framesToCapture": 40
            },
            "dataFormatConfig": {
                "MSBToggle": 0,
                "reorderEnable": 1,
                "laneFmtMap": 0,
                "dataPortConfig": [
                    {
                    "portIdx": 0,
                    "dataType": "complex"
                    },
                    {
                    "portIdx": 1,
                    "dataType": "complex"
                    },
                    {
                    "portIdx": 2,
                    "dataType": "complex"
                    },
                    {
                    "portIdx": 3,
                    "dataType": "complex"
                    },
                    {
                    "portIdx": 4,
                    "dataType": "complex"
                    }
                ]
            }
        }
    }

    4. Before loading profile, open a command prompt at C:/ti/mmwave_studio_03_00_00_14/mmWaveStudio/PostProc. and issue below commands.
    5. DCA1000EVM_CLI_Control.exe fpga AWR294x_Capture.json
    6. DCA1000EVM_CLI_Control.exe start_record AWR294x_Capture.json
    7. AWR294x_Capture.json file configures to save the captured LVDS data at "C:\ti\"
    8. Load profile config from the visualizer. Captured Raw ADC data should be available "C:\ti\"

    Regards,

    Jitendra

  • Hi Jitendra,

    Thank you for the information. Customer want to know if   the method provided support advanced frame config?

    Thank you.

    Regards,
    May

  • Hi Jitendra,

    I am using AWR2944EVM and DCA1000 to capture ADC raw data. After reading user guides and browse TI sensor forum, I realized that i should use mmwave_studio CLI tool to achieve it.

    However, though the messages returned are all success (Fig. 1), the rawdata_Raw_LogFile.csv (Fig. 2) show i didn't receive any packet, and the capture start time is the same as capture end time, which means the record process ends as soon as it starts. But i didn't get any feedback in the CLI console. It seemed worked well.

    Steps I do are below:

    (1). Flash demo appimage to the 2944EVM. (I tested it using mmWave_Demo_Visualizer 4.2.0, it worked well, i can see various plots.)

    (2). Following figure in the 2944EVM user guide(Figure 2-22. AWR2944EVM and DCA1000 EVM) and other files, i connect the wires and cables to PC and configure SOPs and switches as instructed by the files.

    (3). I run the commands orderly showing in Fig. 1, and didn't get any data.

    My questions are below, looking forward to your reply:

    (1). Is there any mistake in my operation?

    (2). I don't konw what Demo_Visualizer has to do with raw data capture. According to 2944EVM user guide and the visualizer software itself, it seems that i could only rely on mmwave_studio CLI tool for adc raw data capture. So do I need to use visualizer just for adc raw data? Could you elaborate on the whole process again, i will be very thankful for it.

      Fig. 1

      Fig. 2

    Regards,

    Xusheng Zhang

  • Hi Xusheng Zhang,
    Could you please confirm if you are using the profile_LVDS cfg file?
    Regards,
    Saswat

  • Hi Saswat Kumar,

    I can capture ADC raw data finally. However, when the mmwave_studio_cli.exe in mmwave_mcuplus_sdk_04_02_00_01\tools\studio_cli\mmw_cli_tool call mmwave_postproc.exe automatically, the error is showed in figure below.

    The truth is I installed the MATLAB runtime 8.5.1 and added the XXX\MATLAB Runtime\v851\runtime\win32 to the environment path correctly. And I used mmwave studio with 1443 normally a few months ago. I also reinstall MATLAB runtime 8.5.1, but failed too. Look forward to get your help.

    Thank you.

    Regards,

    Xusheng Zhang

  • Hi Xusheng Zhang,
    Could you try installing MATLAB runtime 9.0 and then let me know if you are still getting error messages.
    Regards,
    Saswat

  • Hi Saswat,

    Unfortunately, the same mistakes still occur.

    Regards,

    Xusheng

  • Hi Xusheng,
    Could you also confirm if you have matlabR2015 installed when you are running the application?
    If not can you try installing and running the same.
    Regards,
    Saswat

  • Hi Saswat,

    OK, i'm going to try it.

    Regards,

    Xusheng