-
Enhancement
-
Resolution: Implemented
-
Medium
-
SimpleLink CC13x2-26x2 SDK BLE5 Stack
-
BLE_AGAMA-3588
-
-
BLE Stack BLE5-2.2.4
As of today, the clock configuration is not modifiable through SysConfig in our OAD examples (including Project_Zero).
Here are the elements that should be modified:
- In SysConfig > Device Configuration, clarify the message and clearly point the customer to the BIM project to modify the CCFG.
- In SysConfig > Device Configuration, provide the option to modify the LF clock source. Make sure to specify this change will properly configure the application but won't have any effect on the CCFG (the CCFG can be modified only in the BIM project).
Behind the scene, this option will only be here to define/undefine the symbol "USE_RCOSC"
- [for project_zero only] Make sure to modify the application to enable support for RCOSC. Among others, make sure to add the following in project_zero.c
#ifdef USE_RCOSC
#include <rcosc_calibration.h>
#endif //USE_RCOSC
...
#ifdef USE_RCOSC
// Set device's Sleep Clock Accuracy
#if ( HOST_CONFIG & ( CENTRAL_CFG | PERIPHERAL_CFG ) )
HCI_EXT_SetSCACmd(500);
#endif // (CENTRAL_CFG | PERIPHERAL_CFG)
RCOSC_enableCalibration();
#endif // USE_RCOSC