TI中文支持网
TI专业的中文技术问题搜集分享网站

CC1312R: 求助CC1312R + CC1190 TI15.4如何配置

Part Number:CC1312ROther Parts Discussed in Thread: CC1310, CC1190, SYSCONFIG

TI大神,:

        目前我们已经完成CC1310+CC1190的配置测试工作,但是在配置CC1312R时遇到困难,
在“SDK_cc13xx_cc26xx_”项目中找不到 “CONFIG_RANGE_EXT_MODE” 进行配置
同时 查找可视化配置工具:“collector.syscfg”也没有  PA和LNA的相关配置。

希望TI大神不吝赐教

Nick Sun:

您好,

感谢您的对TI产品的关注!为更加有效地解决您的问题,我需要多一些时间查看这个问题,稍后会为您解答。

,

Nick Sun:

您好,

您可以参考下帖:https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/827042/ccs-cc1312r-about-enabling-cc1190-by-define-config_range_ext_mode?tisearch=e2e-sitesearch&keymatch=CC1312R%20CONFIG_RANGE_EXT_MODE#

After some testing and reviewing, the 13×2 SDK is not including LNA/PA files to control those signals. I recommend you install the CC13x0 and copy over those files.

,

user5153918:

hi,Nick Sun我尝试了把 LNA/PA 文件拷贝过来但是 需要在系统启动前配置:

macUser0Cfg[0].pSetRE = Board_Palna_initialize;

以便在mac任务初始化时初始化PA/LNA但是  13×2 SDK  和13×0 SDK  的

macUserCfg_t macUser0Cfg

结构体定义不同(13×2 SDK 的macUserCfg_t结构体缺失setRangeExtenderFp_t   pSetRE):

13X2 SDK:

typedef struct
{uint32_tgetHwRevision;/* 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_tpRfSelectFP;/* RF select Function Pointer */} macUserCfg_t;

13X0 SDK:

typedef struct
{uint32_tgetHwRevision;/* 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_trfFeModeBias;/* RF frontend mode bias */uint8_tphyId;/* phy ID */uint8_tlast;/* indicating last array */setRangeExtenderFp_tpSetRE;/* Range Extender Function Pointer */alternateHalAssertFp_t pAssertFP;/* Assert Function Pointer */antennaSettingFp_tpAntSwitchFP;/* antenna switch setting*/antennaPwrFp_tpAntPwrFP;/* antenna power setting*/
} macUserCfg_t;

所以 求助您,关于Board_Palna_initialize初始化放在哪里合适?

,

Nick Sun:

您好,

根据帖子https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/897953/cc1312r-how-to-enable-pa-on-ti-15-4-stack/3345883?tisearch=e2e-sitesearch&keymatch=PA%25252525252525252520LNA#3345883所述:

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 中。

,

user5153918:

具体怎么导入,以及导入哪些文件?引脚我已经根据我的硬件进行了配置

,

Nick Sun:

您好,

我们工程师想问您是您的客制化设计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

,

user5153918:

我根据您说的第二个连接进行了配置如下:

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

,

user5153918:

同时 还测试了 :

IOCPortConfigureSet(Board_PALNA_LNA, IOC_PORT_RFC_GPO0,IOC_IOMODE_NORMAL);IOCPortConfigureSet(Board_PALNA_PA, IOC_PORT_RFC_GPO1,IOC_IOMODE_NORMAL);

也并未启动PA

,

Nick Sun:

您好,

帮您同步工程师,有结论及时联系您。

,

user5153918:

同时我还测试了 :

IOCPortConfigureSet(Board_PALNA_PA, IOC_PORT_RFC_GPO3,IOC_IOMODE_NORMAL);

或者 

IOCPortConfigureSet(Board_PALNA_PA, IOC_PORT_RFC_GPO2,IOC_IOMODE_NORMAL);

都没能实现PA启动,在无线发射时总电流最大30MA

,

Nick Sun:

您好,

感谢您的及时跟进,由于工程师假期或其他原因,回复可能延迟,感谢您的理解。

赞(0)
未经允许不得转载:TI中文支持网 » CC1312R: 求助CC1312R + CC1190 TI15.4如何配置
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1