Hi Abderrezak,

On Thu, Mar 15, 2018 at 1:40 AM, Abderrezak Mekkaoui <[email protected]> wrote:
> Hi All,
>
> I would appreciate any hints regarding  the configuration settings that need
> to be changed to use a synthesized LF clock (32.768 KHz) instead of the Xtal
> Oscillator clock.
> This is for a BLE application.

You'll need to set following settings:
XTAL_32768: 0
XTAL_32768_SYNTH: 1
BLE_XTAL_SETTLE_TIME: 0

Depending on accuracy of your XTAL32M, you might also need to adjust
clock accuracy:
BLE_LL_OUR_SCA
BLE_LL_MASTER_SCA
This is just in case you experience unstable connections - just
increase ppm using above settings. Allowed values are described in
net/nimble/controller/syscfg.yml. With crystal mounted on nRF52840 you
won't need to touch it.

Note that using synthesized clock is not really recommended since it
will keep HFXO running all the time and draw more power than with
LFXO.

> Thanks
>
> Abderrezak

Best regards,
Andrzej

Reply via email to