nRF54L: 32kHz timer access?

With the transition of the RTC peripheral on the nRF52, nRF53, etc series to the GRTC peripheral on the nRF54L, it appears there is no longer any low-power counter that can tick at 32768 Hz?

From what I can tell, the GRTC is forced to the 1Mhz tick rate, and the TIMER peripheral only runs off the HFCLK.

 The GRTC documentation mentions an internal 32768 Hz timer, but there is no way to query its value?

It seems odd to have a 32kHz crystal driving the low power timing on the SoC, but no way to use it as a counter directly.

  • Presumably there is some reason why the time base is not 1 MHz by default?
    Otherwise you are just defaulting to a less accurate time base for no reason?

    The reason for the 32768 Hz timer is that it forms the basis of timestamping for our generic sensor logging libraries. It has several nice properties (see below), and up until now has been possible to access directly on SoC's from every manufacturer we have used. This is not something we can update without invalidating all historically logged data, and introducing the same problem in reverse on the devices that do expose the 32768 Hz timer.

    1. Easy conversion from seconds fractions to seconds (just bitmask the bottom bits)
    2. Every SoC has the option for a low power 32768 Hz crystal, so portable.

Related