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.

[参考译文] IWR6843AOPEVM:通过随 pyserial 发送的 CLI 命令读取器件温度

Guru**** 2539500 points
Other Parts Discussed in Thread: IWR6843AOPEVM

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

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1464810/iwr6843aopevm-read-device-temperature-via-a-cli-command-sent-with-pyserial

器件型号:IWR6843AOPEVM

工具与软件:

您好!  

我使用的是 IWR6843AOPEVM、为了进行性能分析、我需要检索每帧报告的所有温度。

我想知道这是否可以使用 Python 和 pyserial 发送请求并通过 UART 读取响应。 通常让传感器发送信息并使用 Python 脚本读取它。  

根据毫米波 SDK 用户指南、这可以通过 guiMonitor 来实现、但我不确定如何将其转换为 Python 命令。 您可以提供帮助吗?  

谢谢你

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

    您好!

    首先、您需要启用 guiMonitor 参数中的 statsinfo 字段。  
    可以使用雷达工具箱中工业可视化工具的源代码、并在解析 tlv 时记录温度。

    在源代码中的 parseTlv.py 中、您可以将输出记录在函数中  parseExtStatsTLV。

    如果您需要这方面的进一步说明、请告诉我。

    此致