drivers: ieee802154: cc13/26xx_subg: R-to-P link workaround

A known issue exists that does not allow a CC13/26x2R device to
establish a link to a CC13/26x2P device unless the capacitor array is
tuned to a non-default value in the P device.

See SimpleLink(TM) cc13xx_cc26xx SDK 6.20+ Release Notes, Known Issues.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
This commit is contained in:
Florian Grandel 2023-06-15 22:09:01 +02:00 committed by Carles Cufí
commit b245012ca2
2 changed files with 18 additions and 0 deletions

View file

@ -22,5 +22,14 @@
#define SET_CCFG_BL_CONFIG_BL_ENABLE 0x00 #define SET_CCFG_BL_CONFIG_BL_ENABLE 0x00
#endif /* CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE */ #endif /* CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE */
#if defined(CONFIG_SOC_CC1352P) || defined(CONFIG_SOC_CC2652P)
/* Workaround required to be able to establish links between P and R devices,
* see SimpleLink(TM) cc13xx_cc26xx SDK 6.20+ Release Notes, Known Issues:
* https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/6.20.00.29/exports/release_notes_simplelink_cc13xx_cc26xx_sdk_6_20_00_29.html#known-issues
*/
#define SET_CCFG_MODE_CONF_XOSC_CAP_MOD 0x0
#define SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA 0xD5
#endif
/* TI recommends setting CCFG values and then including the TI provided ccfg.c */ /* TI recommends setting CCFG values and then including the TI provided ccfg.c */
#include <startup_files/ccfg.c> #include <startup_files/ccfg.c>

View file

@ -22,5 +22,14 @@
#define SET_CCFG_BL_CONFIG_BL_ENABLE 0x00 #define SET_CCFG_BL_CONFIG_BL_ENABLE 0x00
#endif /* CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE */ #endif /* CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE */
#if defined(CONFIG_SOC_CC1352P7) || defined(CONFIG_SOC_CC2652P7)
/* Workaround required to be able to establish links between P and R devices,
* see SimpleLink(TM) cc13xx_cc26xx SDK 6.20+ Release Notes, Known Issues:
* https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/6.20.00.29/exports/release_notes_simplelink_cc13xx_cc26xx_sdk_6_20_00_29.html#known-issues
*/
#define SET_CCFG_MODE_CONF_XOSC_CAP_MOD 0x0
#define SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA 0xD5
#endif
/* TI recommends setting CCFG values and then including the TI provided ccfg.c */ /* TI recommends setting CCFG values and then including the TI provided ccfg.c */
#include <startup_files/ccfg.c> #include <startup_files/ccfg.c>