HF and LF clock for nrf52840

Hello team,

We are building a product using nrf52840 and zephyr stack. We have one external crystal 32MHz for HF clock. By default, the zephyr enables the internal RC oscillator(HFINT) to generate the HF clock.

What is the right way to enable the external crystal(HFXO) from software to generate the HF clock?

The board does not have external crystal for LF. So we have two options to generate LF.

1) Synthesized from HFCLK

2) Generated by internal RC oscillator

What is the pros of cons of using each one of them and what is preferable way to choose?

Thanks in advance.

Brinda Bhatt

Related