主题中讨论的其他器件:CC1352R、 SysConfig、 UNIFLASH、 CC1312R
您好!
- 电路板: LPSTK-CC1352R
- SDK:simplelink_cc13x2_26x2_SDK_4_40_04_04
- Xdctool:xdctools_3_62_00_08_core
- SysConfif:1.7.0
- 示例: rfEasyLinkEchoTx_CC1312R1_LAUNCHXL_tirtos_ccs
我无法将 CC1352R Tx 功率设置为其最大值:14dBm
我导入了项目 rfEasyLinkEchoTx_CC1312R1_LAUNCHXL_tirtos_ccs、并 将 Tx 功率从10dBm (初始值)增加 到14dBm。
此时、SysConfig 建议 启用 VDDR:
所选的 TX 功率需要在器件配置中强制启用 VDDR
因此、我执行了如下操作:

在 ti_devices_config.c 中正确设置了 CCFG_FORCE_VDDR_HH
//##################################### // Force VDDR high setting (Higher output power but also higher power consumption) // This is also called "boost mode" //##################################### // Force VDDR voltage to the factory HH setting (FCFG1..VDDR_TRIM_HH) #define CCFG_FORCE_VDDR_HH 0x1
然后在 rfEasyLinkEchoTx.c 中、我分别将 Tx 功率设置为0或+14dBm:
/*
* If you wish to use a frequency other than the default, use
* the following API:
* EasyLink_setFrequency(868000000);
*/
EasyLink_setFrequency(916000000);
/* if I uncomment the line below, the Tx power measured is ~10dBm */
//EasyLink_setRfPower(14);
/* if I uncomment the line below, the Tx power measured is ~0dBm */
//EasyLink_setRfPower(0);
构建完成后、我验证了 CCFG 位于内部闪存的最后一页:
.ccfg 0 00057fa8 00000058
00057fa8 00000058 ti_devices_config.obj (.ccfg:retain)
我还确保 Uniflash 成功更新:
[3/22/2021, 9:14:07 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00057fa8 of Length 0x00000058 [3/22/2021, 9:14:08 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00057FA8, length=88, crc=0x64F061F1 (using block 1) [3/22/2021, 9:14:08 PM] [SUCCESS] Program Load completed successfully.
到目前为止、我演示 了 CCFG_FORCE_VDDR_HH 已设置 、并且 CCFG 已正确刷写。
但是、使用频谱 分析仪:

测得的 Tx 功率为:
- EasyLink_setRfPower (14)时为+10dBm;
- EasyLink_setRfPower (0)为0dBm; (用于验证我的设置)
似乎没有考虑 CCFG_FORCE_VDDR_HH。
问题:
Q1)您有什么建议吗?
Q2)也可从技术参考手册中获取:
仅对于 CC13x2器件:
要启用+14dBm 的输出功率、必须在 ccfg.c 中将 CCFG_FORCE_VDDR_HH 定义设置为1
由 TI 在 cc13xxware 中分发。 如果 CCFG_FORCE_VDDR_HH 设置为0、则可能的最大输出
功率为+12.5dBm。
基本上、如果问题 仅与 CCFG_FORCE_VDDR_HH 相关(设置为0而不是1)、我至少应测量+12.5dBm (而不是+10dBm)
那么、Tx 功率表(由 SysConfig 生成)是否正确?
请注意、在 SysConfig 中、我将频率设置为916Mhz、但 Tx 功率表提到了868MHz...
// 868 MHz, 13 dBm
RF_TxPowerTable_Entry txPowerTable_868_pa13[TXPOWERTABLE_868_PA13_SIZE] =
{
...
{12, RF_TxPowerTable_DEFAULT_PA_ENTRY(16, 0, 0, 82) },
// The original PA value (12.5 dBm) has been rounded to an integer value.
{13, RF_TxPowerTable_DEFAULT_PA_ENTRY(36, 0, 0, 89) },
// This setting requires CCFG_FORCE_VDDR_HH = 1.
{14, RF_TxPowerTable_DEFAULT_PA_ENTRY(63, 0, 1, 0) },
RF_TxPowerTable_TERMINATION_ENTRY
};
此致






