Other Parts Discussed in Thread: CC1310, CC1190, SYSCONFIG
TI大神,:
目前我们已经完成CC1310+CC1190的配置测试工作,但是在配置CC1312R时遇到困难,
在“SDK_cc13xx_cc26xx_”项目中找不到 “CONFIG_RANGE_EXT_MODE” 进行配置
同时 查找可视化配置工具:“collector.syscfg”也没有 PA和LNA的相关配置。
希望TI大神不吝赐教
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.
您好,
After some testing and reviewing, the 13x2 SDK is not including LNA/PA files to control those signals. I recommend you install the CC13x0 and copy over those files.
hi,Nick Sun
我尝试了把 LNA/PA 文件拷贝过来但是
需要在系统启动前配置:
macUser0Cfg[0].pSetRE = Board_Palna_initialize;
以便在mac任务初始化时初始化PA/LNA
但是 13x2 SDK 和13x0 SDK 的macUserCfg_t macUser0Cfg
结构体定义不同(13x2 SDK 的macUserCfg_t结构体缺失setRangeExtenderFp_t pSetRE):
13X2 SDK:
typedef struct
{
uint32_t getHwRevision; /* API to get HW revision */
uint32_t *pRfDrvTblPtr; /* RF Driver API table */
uint32_t *pCryptoDrvTblPtr; /* Crypto Driver API table */
alternateHalAssertFp_t pAssertFP; /* Assert Function Pointer */
rfSelectFp_t pRfSelectFP; /* RF select Function Pointer */
} macUserCfg_t;
13X0 SDK:
typedef struct
{
uint32_t getHwRevision; /* API to get HW revision */
RF_Mode *pRfPatchTable; /* RF Core patch */
uint32_t *pRfDrvTblPtr; /* RF Driver API table */
uint32_t *pCryptoDrvTblPtr; /* Crypto Driver API table */
macTxPwrTbl_t *pTxPwrTbl; /* TX Power table */
uint32_t **pOverrides; /* RF Radio Overrides table */
uint8_t *pLoDivider; /* loDivier for Setup Command */
uint8_t rfFeModeBias; /* RF frontend mode bias */
uint8_t phyId; /* phy ID */
uint8_t last; /* indicating last array */
setRangeExtenderFp_t pSetRE; /* Range Extender Function Pointer */
alternateHalAssertFp_t pAssertFP; /* Assert Function Pointer */
antennaSettingFp_t pAntSwitchFP; /* antenna switch setting */
antennaPwrFp_t pAntPwrFP; /* antenna power setting */
} macUserCfg_t;
所以 求助您,关于Board_Palna_initialize初始化放在哪里合适?
您好,
Unfortunately the files have been removed from the project and is not configurable via SysConfig. I would recommend importing the files from the CC1310 version and verify that the pins mapped are the ones in your configuration. The pin initialization code is in board_palna.c.
不幸的是,这些文件已从项目中删除,并且无法通过 SysConfig 进行配置。我们建议从 CC1310 版本导入文件,并验证映射的引脚是否是您配置中的引脚。引脚初始化代码在 board_palna.c 中。
您好,
我们工程师想问您是您的客制化设计PCB吗?您是否可以参阅一下这个帖子:https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/899330/cc1312r-using-cc1190-with- cc1312
否则您需要配置一下您的定制天线回调然后根据放大器的真值表进行修改:https ://e2e.ti.com/support/wireless-connectivity/other-wireless-group/other-无线/f/other-wireless-technologies-forum/1117703/cc1352p-launchxl-cc1352p-antenna-switching-callback
我根据您说的第二个连接进行了配置如下:
GPIO_init(); GPIO_setMux(Board_PALNA_LNA, IOC_PORT_RFC_GPO0); GPIO_setMux(Board_PALNA_PA, IOC_PORT_RFC_GPO1); GPIO_write(Board_PALNA_HGM, (hgm & 1)); }
该部分代码放在“appTaskFxn”函数体的“CCFGRead_IEEE_MAC”之前
发现 cc1312在信号发射中 并没有启动PA