nRF54L15 GRTC SYSCOUNTER resets after system soft reset

After upgrading my NCS version from 3.1.1 to 3.2.0 for the nRF54L15, I found that the GRTC resets after a sys_reboot(), whereas it didn't in the previous version. What changes were made in version 3.2.0? How can I keep the GRTC counter from resetting after a software reboot, just like before?

Parents
  • Hi,

    Looking further into the issue, sys_clock_disable() was implemented or nRF Connect SDK v3.2.0, and that is what has changed. Previously, the call to sys_clock_disable() from within sys_reboot() did not actually disable the GRTC. Now it does.

    Adding a switch for keeping syscounter initialized (for the purpose of having GRTC running through the reboot) is on our roadmap, and so we do expect a fix in the not too distant future.

    In the mean time, you could try disabling CONFIG_SYSTEM_TIMER_HAS_DISABLE_SUPPORT, although that might require you to do changes to driver code in nrfx.

    Regards,
    Terje

Reply
  • Hi,

    Looking further into the issue, sys_clock_disable() was implemented or nRF Connect SDK v3.2.0, and that is what has changed. Previously, the call to sys_clock_disable() from within sys_reboot() did not actually disable the GRTC. Now it does.

    Adding a switch for keeping syscounter initialized (for the purpose of having GRTC running through the reboot) is on our roadmap, and so we do expect a fix in the not too distant future.

    In the mean time, you could try disabling CONFIG_SYSTEM_TIMER_HAS_DISABLE_SUPPORT, although that might require you to do changes to driver code in nrfx.

    Regards,
    Terje

Children
Related