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

LFCLK in nRF51822

Hello!

We are using a custom hardware design based on nRF51822. Recently we switched to the new chip version QFAAG0 with softdevice 6.0.0.

Our application needs a repeating timer with period of 5 milliseconds, for which we are using the Application timer functionality provided in the nRF51 SDK. This timer should always be running, independently of the BTLE stack or any other part of the SoC. The timer is used to activate the ADC to sample external analog signal, with every sample then being processed at the ARM side.

In our earlier designs we were not using the low frequency crystal whatsoever, instead enabling NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM. Now that the HFCLK goes to sleep, our timer stopped working. So, we think of adding the real 32 kHz crystal to our board.

Is my assumption correct in that the low frequency clock based on the 32 kHz crystal will be running independently of any other subsystems in nRF51822 and that the existing power management will then wake up the CPU whenever the application timer fires?

Related