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.

[参考译文] LAUNCHXL-CC1310:如果没有 rfePatchFxn 配置、CC1310将无法与 CC1101通信。

Guru**** 2387060 points
Other Parts Discussed in Thread: CC1310, CC1101
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1214522/launchxl-cc1310-cc1310-cannot-communicate-with-cc1101-without-rfepatchfxn-configuration

器件型号:LAUNCHXL-CC1310
主题中讨论的其他器件:CC1310CC1101

由于 CC1310内的闪存资源不足、因此不能有太多的程序代码和常量数据、

以下配置:rfePatchFxn、它占用了相当大的程序 const (闪存)空间。

"那有什么用呢? 相关文档在哪里提供? 为什么没有配置时无法与 CC1101通信?

程序只需要大约4K 的闪存空间、无法进行优化。 如何简化此代码?

#ifdef H75T
#define __PATCH_NO_UNROLLING
#endif
#include DeviceFamily_constructPath(rf_patches/rf_patch_cpe_genfsk.h)
#include DeviceFamily_constructPath(rf_patches/rf_patch_rfe_genfsk.h)

#ifdef H75T
RF_Mode RF_prop =
{
.rfMode = RF_MODE_PROPRIETARY_SUB_1,
.cpePatchFxn = 0,
.mcePatchFxn = 0,
.rfePatchFxn = &rf_patch_rfe_genfsk
};
#else
RF_Mode RF_prop =
{
.rfMode = RF_MODE_PROPRIETARY_SUB_1,
.cpePatchFxn = &rf_patch_cpe_genfsk,
.mcePatchFxn = 0,
.rfePatchFxn = &rf_patch_rfe_genfsk
};
#endif

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

    程序的代码现在只超过了500字节的预期存储容量、使得在没有外部存储的情况下很难进行优化。 使用外部存储变得更加复杂。

    大部分代码由 CC1310类库生成。 最后4K 的闪存被 ccfg 占用(意外地擦除和报废芯片,如前所述)。

    .text 0 000000c8 0000687c
    000000c8 0000048c rf_multiMode_cc13x0.aem3 : RFCC26XX_multiMode.oem3 (.text:RF_fsmActiveState)
    00000554 0000030c drivers_cc13x0.aem3 : PowerCC26XX_calibrateRCOSC.oem3 (.text:PowerCC26XX_auxISR)
    00000860 00000258 hardware.obj (.text:DeviceInit)
    00000ab8 00000254 main.obj (.text:OnMessageReceived)
    00000d0c 00000238 driverlib.lib : sys_ctrl.obj (.text:NOROM_SysCtrlSetRechargeBeforePowerDown)
    00000f44 00000224 drivers_cc13x0.aem3 : PowerCC26XX.oem3 (.text:Power_sleep)
    00001168 000001d8 rf_multiMode_cc13x0.aem3 : RFCC26XX_multiMode.oem3 (.text:RF_open)

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

    尊敬的 Alex:  

    您要从 SDK 中使用哪个示例?  

    此致、

    SID