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.

[参考译文] AWR2944EVM:在运行 HECR 演示的情况下使用 DCA1000EVM 收集数据

Guru**** 2563960 points
Other Parts Discussed in Thread: DCA1000EVM, AWR2944EVM, AWR2944

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1572559/awr2944evm-gathering-data-with-the-dca1000evm-with-hecr-demo-running

器件型号:AWR2944EVM
主题中讨论的其他器件:DCA1000EVMAWR2944

工具/软件:

TI 工程师大家好:

在运行 OOB 演示时、我已使用 DCA1000EVM 和 AWR2944EVM 成功收集了原始 ADC 数据、但我执行了此处所述的步骤:AWR2944EVM:是否可以使用 DDM 模式通过 DCA1000EVM 进行原始数据采集?  

我不知道这是否正确、但从我在 OOB 演示工作中观察到的情况来看、如果 DCA 已准备就绪、那么它将在雷达开始流式传输数据时开始收集数据、即在“SensorStart"的“的接收端。

HECR 演示 不使用 CLI、并且在运行期间不断地流式传输数据。 因此、当我执行与 OOB 演示相同的步骤时、我无法使用 DCA1000EVM 收集数据。 注意:我在 chirp_design_HECR.h 文件中启用了 LVDS 流。

我的问题是、在运行 HECR 演示时、如何使用 DCA1000EVM 从 AWR2944EVM 收集 ADC 数据?

此致、
标记

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    您是如何在  chirp_design_HECR.h 文件中启用 LVDSM 流式传输的? 您可以尝试一下、如图所示

    您如何在进行更改后重建 HECR 演示? 我只想确保在使用 setenv.bat 配置编译环境时使用的是 SDK 4.7.0.1 中的 setenv.bat 文件、因为这就是用于构建此演示的文件。

    此致、

    Gabriel

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Gabriel、

    是的、我在演示的 chirp_design_HECR.h 文件中连接启用 LVDS 流式传输。

    这正是我的设置:

    • 配置 AWR2944EVM、例如在开发过程中使用 CCS:
      • 仅连接 SOP0
      • S1 开关设置为 XDS
      • S2 开关设置为其最低位置
      • XDS_USB 已插入 PC
    • DCA100EVM:
      • 开关设置如图所示
      • 以太网电缆连接到我的 PC
      • (无 USB 连接)
    • DCA 的 json 脚本已经过修改、只能在真实数据链中使用、请查看它、可能是错的。

    以下是我如何执行每个步骤及其顺序- 可用于 OOB 故障:

    • 我使用固件刷写 AWR2944EVM、但在此阶段我不会运行它
    • 我使用以下命令配置 DCA1000EVM:
      • exe FPGA cf_awr2944.json
      • exe 记录 cf_awr2944.json
      • exe start_record cf_awr2944.json
    • 现在、DCA1000EVM 正在侦听数据、我在 AWR2944EVM 上运行两个内核
    • 我在几秒钟后(例如大约 15 秒钟)通过以下公式停止 DCA1000EVM:
      • exe stop_record cf_awr2944.json

    所有 DCA1000EVM 命令都具有以下状态:“X"命令“命令:成功。 但在 STOP 命令后我看不到任何.bin 文件。

    编辑:

    根据日志文件、似乎尽管已在 HECR 文件中进行了设置、但没有 LVDS 数据流:  

    ------------------------------- Attempted run with HECR -------------------------------
    Fri Oct 03 13:34:32 2025
    FPGA Configuration Command (req)
    
    Fri Oct 03 13:34:32 2025
    FPGA Configuration command : Success
    
    Fri Oct 03 13:34:33 2025
    Return status : 0
    
    Fri Oct 03 13:34:36 2025
    Configure Record Command (req)
    
    Fri Oct 03 13:34:36 2025
    Configure Record command : Success
    
    Fri Oct 03 13:34:37 2025
    Return status : 0
    
    Fri Oct 03 13:34:44 2025
    Start Record Command (req)
    
    Fri Oct 03 13:34:44 2025
    Start Record Command (req)
    
    Fri Oct 03 13:34:44 2025
    Start Record command : Success
    
    Fri Oct 03 13:34:44 2025
    Start Record command : Success
    
    Fri Oct 03 13:34:44 2025
    Return status : 0
    
    Fri Oct 03 13:35:14 2025
    No LVDS data
    
    Fri Oct 03 13:35:14 2025
    Record stop is done successfully
    
    Fri Oct 03 13:35:16 2025
    stop_record
    
    Fri Oct 03 13:35:16 2025
    No record process is running.
    
    ------------------------------- Attempted run with OOB -------------------------------
    Fri Oct 03 13:49:56 2025
    FPGA Configuration Command (req)
    
    Fri Oct 03 13:49:56 2025
    FPGA Configuration command : Success
    
    Fri Oct 03 13:49:56 2025
    Return status : 0
    
    Fri Oct 03 13:50:00 2025
    Configure Record Command (req)
    
    Fri Oct 03 13:50:00 2025
    Configure Record command : Success
    
    Fri Oct 03 13:50:00 2025
    Return status : 0
    
    Fri Oct 03 13:50:07 2025
    Start Record Command (req)
    
    Fri Oct 03 13:50:08 2025
    Start Record Command (req)
    
    Fri Oct 03 13:50:08 2025
    Start Record command : Success
    
    Fri Oct 03 13:50:08 2025
    Start Record command : Success
    
    Fri Oct 03 13:50:08 2025
    Return status : 0
    
    Fri Oct 03 13:50:48 2025
    Stop Record Command (req)
    
    Fri Oct 03 13:50:48 2025
    Record stop is done successfully
    
    Fri Oct 03 13:50:48 2025
    Stop Record command : Success
    

    以下是我使用的.json 文件:

    {
      "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": {
          "fileBasePath": "C:\\ti\\mmwave_studio_03_01_04_04\\mmWaveStudio\\PostProc",
          "filePrefix": "adc_data",
          "maxRecFileSize_MB": 1024,
          "sequenceNumberEnable": 1,
          "captureStopMode": "infinite",
          "bytesToCapture": 4000,
          "durationToCapture_ms": 4000,
          "framesToCapture": 40
        },
        "dataFormatConfig": {
          "MSBToggle": 0,
          "laneFmtMap": 0,
          "reorderEnable": 0,
          "dataPortConfig": [
            {
              "portIdx": 0,
              "dataType": "complex"
            },
            {
              "portIdx": 1,
              "dataType": "complex"
            },
            {
              "portIdx": 2,
              "dataType": "complex"
            },
            {
              "portIdx": 3,
              "dataType": "complex"
            },
            {
              "portIdx": 4,
              "dataType": "complex"
            }
          ]
        }
      }
    }

    此致、

    标记

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我发现导致此行为出现在演示的源代码内的问题。 我很快就会打开一个新主题。