在simplelink_lowpower_f3_sdk_7_10_00_35__win工程中的prop_rf/rfCarrierWave是否能移植到ble5stack/basic_ble工程中去使用,目前单独使用rfCarrierWave工程是可以发出单载波,但是把rfCarrierWave工程移植到basic_ble无法发出单载波,请问是什么原因?是否可以直接移植使用?

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.
在simplelink_lowpower_f3_sdk_7_10_00_35__win工程中的prop_rf/rfCarrierWave是否能移植到ble5stack/basic_ble工程中去使用,目前单独使用rfCarrierWave工程是可以发出单载波,但是把rfCarrierWave工程移植到basic_ble无法发出单载波,请问是什么原因?是否可以直接移植使用?

您好,
rfCarrierWave示例使用了rcl_settings_ble_generic.c,basic_ble示例使用了rcl_settings_ble.c。如果将rcl_settings_ble_generic.c复制到basic_ble则会重复定义 rcl 变量,但如果使用 rcl_settings_ble.c,则设备在运行后不会传输,如您遇上的情况。
rcl_settings_ble_generic 和 rcl_settings_ble 之间的主要区别在于为 PBE(packet building engine数据包构建引擎)去加载哪个映像。对于rcl_settings_ble_generic来说,它是LRF_PBE_binary_generic的,对于rcl_settings_ble来说,它是LRF_PBE_binary_ble5的。这决定了支持哪些 RX/TX 命令以及数据包格式。
对于 rfCarrierWave,它使用命令RCL_CmdGenericTx Test(这需要LRF_PBE_binary_generic)。
如果您使用的是 LRF_PBE_binary_ble5,则用于相关 TX 命令是RCL_Cmd Ble5 DtmTx(TX 数据包测试)或RCL_CmdBle5TxTest(连续 TX)。
给您提供相关E2E论坛相关帖子供您参考:CC2340R5: RCL_Command_submit and RCL_Command_pend returns 0x8A - Bluetooth forum - Bluetooth®︎ - TI E2E support forums