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

Is LFCLK enabled after zboss_start();? and after zboss_start_no_autostart()?

Hi,

I would like to know if the LFCLK is enabled after zboss_start(); and after zboss_start_no_autostart().

I would like to use an rtc event to trigger a PPI routine and this requires the LFCLK running while the device is in sleeping mode.

I have not found any info about how the zboss library handles the LFCLK. Neither any reference to any function to request to keep the  LFCLK running. Sorry if I missed any info.

Thanks for your help

Armand 

  • Hi Armand,

    No, LFCLK is not enabled/running after zboss_start(), but it's initialized by the application for use for in app_timer (timers_init()), which is used by zboss.

    You can use the app_timer in the application as well, without any modifications, but you should not change the NRF_RTC1->CC[N] registers.

    If you are not using the Softdevice you could also use RTC0.

    Best regards,

    Marjeris

Related