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.

[参考译文] CC1352P7:rfPacketTx 示例应用程序无法在修改频带后进行构建

Guru**** 2644665 points

Other Parts Discussed in Thread: CC1352P7, SYSCONFIG

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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1575981/cc1352p7-the-rfpackettx-sample-app-fails-to-build-after-frequency-band-is-modified

器件型号:CC1352P7
主题: SysConfig 中讨论的其他器件

工具/软件:

您好、

概述:对于 LP-CC1352P7-4 LaunchPad 板、我使用 CCS 创建 rfPacketTx 示例应用。 我检查一下该应用程序是否构建完成。 然后取消选中 自定义 PHY 设置、433MHz 频带 、然后选择  IEEE 802.15.4-2,006,250kbps、OQPSK、DSSS = 1:8、10dBm 。 应用程序不再构建。 然后回到初始状态(仅限 433MHz 频带)。 应用程序不再构建。

详细信息

存在许多风险

LP-CC1352P7-4 LaunchPad 板。

CCS 版本:20.30.0.14。

SimpleLink 版本:8.31.00.11。

问题

在 CCS 中、创建一个新工程:

  • 板:CC1352P7-4 LaunchPad
  • 关键字:rfPacketTx
  • 编译器:CCS - TI Arm Clang 编译器
  • 内核:FreeRTOS

检查工程是否编译。

双击 rfPacketTx.syscfg

RF STACK >定制>专有 (420 - 527MHz) :取消选中 自定义 PHY 设置、433MHz 频带
RF STACK >自定义> IEEE 802.15.4 :检查 IEEE 802.15.4-2,006,250kbps、OQPSK、DSSS = 1:8、10dBm

保存、重新编译工程。

错误:

[41]正在调用:ARM 编译器
[42]“/home/developer/ti/ti_cgt_tiarmclang_3.2.2.LTS/bin/tiarmclang /home/developer/workspace_ccstheia/rfPacketTx_LP_CC1352P7_4_freertos_ticlang /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/third_party/freertos/include -c -mcpu=cortex-M4 -mfloat-abi=hard -mfpu=fpv4-sp-D16 -mlittle-endian -mthumb /home/developer/workspace_ccstheia/rfPacketTx_LP_CC1352P7_4_freertos_ticlang/Debug -i“syscfg"-i"-i"-i""“-i"-i"-i""/home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source“/home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source -i"-mfloat-abi"“ -i"-mfloat-abi"-hard“-hard -mfpu=fpv4-sp-D16“ -mfpu=fpv4-sp-D16 /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/kernel/freertos“ /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/kernel/freertos /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/ti/posix/ticlang“ /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/ti/posix/ticlang /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/third_party/freertos/portable/GCC/ARM_CM4F /home/developer/workspace_ccstheia/rfPacketTx_LP_CC1352P7_4_freertos_ticlang/Debug/syscfg @
[43]../rfPacketTx.c:83:5:错误:使用未声明的标识符'RF_cmdPropTx'
[44] RF_cmdPropTx.pktLen = payload_length;
...

返回初始状态:

RF STACK >自定义> IEEE 802.15.4 :取消选中 IEEE 802.15.4-2,006,250kbps、OQPSK、DSSS = 1:8、10dBm
RF STACK >定制>专有 (420 - 527MHz) :检查 自定义 PHY 设置、433MHz 频带

保存、重新编译工程。

错误:

[41]正在调用:ARM 编译器
[42]“/home/developer/ti/ti_cgt_tiarmclang_3.2.2.LTS/bin/tiarmclang /home/developer/workspace_ccstheia/rfPacketTx_LP_CC1352P7_4_freertos_ticlang /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/third_party/freertos/include -c -mcpu=cortex-M4 -mfloat-abi=hard -mfpu=fpv4-sp-D16 -mlittle-endian -mthumb /home/developer/workspace_ccstheia/rfPacketTx_LP_CC1352P7_4_freertos_ticlang/Debug -i“syscfg"-i"-i"-i""“-i"-i"-i""/home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source“/home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source -i"-mfloat-abi"“ -i"-mfloat-abi"-hard“-hard -mfpu=fpv4-sp-D16“ -mfpu=fpv4-sp-D16 /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/kernel/freertos“ /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/kernel/freertos /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/ti/posix/ticlang“ /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/ti/posix/ticlang /home/developer/ti/simplelink_cc13xx_cc26xx_sdk_8_31_00_11/source/third_party/freertos/portable/GCC/ARM_CM4F /home/developer/workspace_ccstheia/rfPacketTx_LP_CC1352P7_4_freertos_ticlang/Debug/syscfg @
[43]../rfPacketTx.c:83:5:错误:使用未声明的标识符'RF_cmdPropTx'
[44] RF_cmdPropTx.pktLen = payload_length;
...

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

    rfPacketTx.c 文件使用以下 API 命令:

    • RF_cmdPropTx
    • RF_cmdPropRadioDivSetup
    • RF_cmdFs

    这是 旧 符号名称生成方法(来自 SysConfig)

    您不能选择 IEEE API、也不能让相同的代码示例使用新设置。

    再次在 433 处通道回到自定义 PHY 时、SysConfig 将默认选择“自动 符号名称生成方法“、并且将调用 API 命令:

    • RF_cmdPropTx_custom433_0
    • RF_cmdPropRadioDivSetup_custom433_0
    • RF_cmdfs_custom433_0

    您可以  更改 rfPacketTx.c 文件中的命令名称、或选择 旧 符号名称生成方法

    Siri

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

    感谢您的回答、Siri。