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.

[参考译文] CC1310:用于配置 TX 电源的 API (wmbus_cc13x0_rtos_2_0_0 SDK)

Guru**** 2482105 points


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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1236506/cc1310-api-for-configuring-tx-power-wmbus_cc13x0_rtos_2_0_0-sdk

器件型号:CC1310

您好、我已经测试并发现 API 设置与读出的值不同。 为什么?

我发现设置该 TXpower 不起作用、获取的值始终为0x78。 我还打印了 API 的执行结果、并且显示的操作结果是成功的。

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

    尊敬的 Alex:

    您可能正在尝试设置非法值、这就是 TX 功率不发生变化的原因。

    请记住、我们的无线电可以根据 SmartRF Studio:-10 dBm 至15 dBm、将 txPower 设置在该范围内。

    根据以下 python 结果、0x77似乎对应于最小输出功率(-10dBm)

    >>> from numpy import interp
    >>> interp(0x77,[0, 254],[-130, 125])
    -10.531496062992133
    

    然后、看起来您可以为该函数提供的最大功率值为"0x90"。

    然后尝试使用该范围内的值吗?

    此致、

    亚瑟