bsp/microbit: Fix BLE_LP_CLOCK configuration
bbc:microbit uses synthesized 32k clock so we need to keep HFXO always
running to achieve 250ppm accuracy.
@@ -86,4 +86,8 @@ syscfg.vals:
syscfg.vals.BLE_LP_CLOCK:
OS_CPUTIME_FREQ: 32768
OS_CPUTIME_TIMER_NUM: 3
- BLE_XTAL_SETTLE_TIME: 1500
+ # need to keep HFXO running all the time to have accurate 32k synthesized clock
+ BLE_XTAL_SETTLE_TIME: 0
+ # synthesized 32k clock has 250ppm accuracy
+ BLE_LL_OUR_SCA: 250
+ BLE_LL_MASTER_SCA: 1
