This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52810: HFXO is not turned on as expected

Hi,
I have a Nordic 52810/PCA10040 DEV board with the latest zephyr.


In Zephyr configuration I using hardware clock option -> 32KHz clock source (RC oscillator)


I expect zephyr using the external 32MHz oscillator (HFXO) as source of the HFCLK


According to the Nordic spec, we check two registers below.


Seems the value isn't as expected.
Please correct me if I'm wrong.

*nrfjprog --memrd 0x40000408
[Expected value]
0x00000001
[Actual value]
0x00000000

*nrfjprog --memrd 0x4000040C
[Expected value]
0x00010001
[Actual value]
0x00010000

Parents
  • Hi,

     

    The menuconfig picture is related to the LFCLK (the 32kHz clock source), while the register you're checking is the high frequency clock (HFCLK). The HFCLK will run only when needed, to save power. The system runs on the more inaccurate HFINT (64M RC oscillator) for generic processing.

     

    SoftDevice also behaves like this, to ensure low power consumption.

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    The menuconfig picture is related to the LFCLK (the 32kHz clock source), while the register you're checking is the high frequency clock (HFCLK). The HFCLK will run only when needed, to save power. The system runs on the more inaccurate HFINT (64M RC oscillator) for generic processing.

     

    SoftDevice also behaves like this, to ensure low power consumption.

     

    Kind regards,

    Håkon

Children
Related