<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127716/clarification-about-grtc-syscounter-when-in-low-power-sleep</link><description>i have a trivially simple &amp;quot;bare-metal&amp;quot; (register-level) test case in which i setup GRTC as follows: 
 MODE.SYSCOUNTEREN = 1 TASKS.START = 1 TIMEOUT = 2 
 i also have the LFXTAL configured as my LFCLK.... after this, i go into an *indefinite* sleep...</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Apr 2026 14:39:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127716/clarification-about-grtc-syscounter-when-in-low-power-sleep" /><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/565118?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2026 14:39:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ec1b7d-b586-44fb-895b-7e70d9013600</guid><dc:creator>Emil Lenngren</dc:creator><description>&lt;p&gt;It is necessary to set the&amp;nbsp;&lt;span&gt;CLKCFG.CLKSEL register of GRTC to LFXO instead of&amp;nbsp;SystemLFCLK to get the lowest power consumption, and that applies even if the LFCLK.SRC register is set to LFXO. Otherwise, the clock signal will take a longer trip through&amp;nbsp;PCLK32KI which apparently costs extra energy, instead of using the direct path called &amp;quot;GRTC.LFXO&amp;quot;. Not sure if this is documented anywhere but that&amp;#39;s my observation at least.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/565085?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2026 07:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f2e4a8a-5852-4002-8d86-5c742282995e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am glad to hear that it runs as expected at this time. Let us know if you run into any issues or have questions in the future.&lt;/p&gt;
&lt;p&gt;I wish you a great weekend!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/565048?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2026 13:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de50b468-12d0-40b6-b073-a3085a79929e</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;everything works as expected on the v1.0.0 DK....&amp;nbsp; my measurements are consistent with yours....&lt;br /&gt;&lt;br /&gt;earlier in this issue, i identified an &amp;quot;extra&amp;quot; step needed to setup the CLKCFG register to use LFXTAL....&amp;nbsp; (i haven&amp;#39;t verified whether this is &amp;quot;not necessary&amp;quot; on the more recent silicon -- but for the cost of one instruction, why bother....)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564895?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 07:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2047d97f-9f7e-4ce3-b3b6-b674427390d2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;That sounds good. Let me know how it goes!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564869?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2026 13:22:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1633de45-77ce-48f8-bb03-793dd2b1fcf3</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;i&amp;#39;m at v0.9.2 -- but do have another board coming tomorrow....&amp;nbsp; we&amp;#39;ll pick this up then....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564853?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2026 12:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52cfb1c0-ddd8-4273-89b2-77e40d192805</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for attaching the test fw. I am measuring 1.2 uA &amp;quot;between the events&amp;quot; on this firmware:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1776076824536v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I locked the scale here, to show where the ULP (ultra low power) regulator starts &amp;quot;taking over&amp;quot;. Measurements before this period is relying on stored energy on the external caps from the previous active power mode, so will be lower than 1.2 uA until it switches fully over to ULP mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Setting the same retention configuration in NRF_MEMCONF as my former example gives the same, ie. 1.7 uA, as I previously measured.&lt;/p&gt;
[quote user="bios-bob"]&lt;p&gt;(i must have &amp;quot;old&amp;quot; silicon on my DK???)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;It does indeed sound like there is something leaking on the DK that you have. It should be half of what you measure.&lt;/p&gt;
&lt;p&gt;I have tested on nRF54L15-DK &amp;quot;PCA10156 v1.0.0&amp;quot; on my side. What does yours state?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you turned off features in nRF connect for desktop -&amp;gt; &amp;quot;Board configurator&amp;quot; application? These features, uart/external flash etc, can potentially leak smaller currents when enabled, which _could_ be the reason for the added around 1 uA floor that you&amp;#39;re seeing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564806?ContentTypeID=1</link><pubDate>Fri, 10 Apr 2026 22:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87061b6f-633f-44a3-a8a1-ae72b47e6b7e</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;i can confirm that there is a 0.2uA difference when i tested your project on my end....&amp;nbsp; my measurements&amp;nbsp; were 2.5uA (without GRTC) and 2.7uA (with GRTC) at 3V....&amp;nbsp; (i must have &amp;quot;old&amp;quot; silicon on my DK???)&lt;/p&gt;
&lt;p&gt;i&amp;#39;m attaching the program Pal Haland submitted....&amp;nbsp; when idle, it only saves one 16K block of SRAM....&amp;nbsp; otherwise, i believe all peripherals are disabled when sleeping -- except for the GRTC....&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1373.beacon_5F00_advertiser.zip"&gt;devzone.nordicsemi.com/.../1373.beacon_5F00_advertiser.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564730?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2026 13:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec4f421-19f4-4a65-8dcc-2f308716ba16</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I setup a test project in zephyr (first 4 blocks on, system on idle):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/system_5F00_on_5F00_idle_5F00_test_5F00_nrf54l15.zip"&gt;devzone.nordicsemi.com/.../system_5F00_on_5F00_idle_5F00_test_5F00_nrf54l15.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Where I tried to replicate the setup that you have. Sorry for the magic numbers on the register level.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Testing on nRF54L15-DK, with &amp;quot;almost everything&amp;quot; disabled in the board controller application, and 3.0V:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1775742664413v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I measure a difference of approx. 0.2 uA if I start the LFXO + setup the GRTC as you initially mention.&lt;/p&gt;
&lt;p&gt;No LFXO: 1.6 uA&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1775742493115v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;LXFO + RTC: 1.77 uA&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1775742603360v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As there is a write to the registers mentioned in the docs, the LFXO/GRTC will be kept on, accounting for the added ~0.2 uA:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1775742815744v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are unsure of the difference between the SoftDevice setup vs. the bare-metal approach, and you think it is related to the clock configuration, you could use Segger Ozone to enter debug mode and look at the register content in both projects, to see if there is anything directly different between the two setups.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564649?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 15:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:795b818a-6d86-4965-8650-dfeaa4824af3</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;using the PPK, i just verified that the nordic code referenced above consumes about 1.74uA when sleeping; when awake it transmits a pre-specified BLE advertising packet....&lt;br /&gt;&lt;br /&gt;my own code (completely bare-metal, no zephyr, no softdevice, touching registers only) just measured 2.14uA on the same board....&amp;nbsp; there is clearly some register i &amp;quot;forgot&amp;quot; to setup correctly....&lt;/p&gt;
&lt;p&gt;another major difference....&amp;nbsp; the nordic code (based on a sample project in zephyr) is about 92K in size; my code (which performs the identical BLE advertising task) is about 2.5K in size....&amp;nbsp; and it clearly outperforms the nordic stack when active -- less energy consumed to perform the same task....&lt;br /&gt;&lt;br /&gt;another major difference....&amp;nbsp; my code is written in a novel (open-source) programming language described at openem.org/emscript....&amp;nbsp; i could certainly use a review from nordic people who clearly know the subtleties of the nRF54l better than i....&lt;/p&gt;
&lt;p&gt;if you&amp;#39;re willing to help, just message me and we&amp;#39;ll figure out how to proceed....&amp;nbsp; just trying to get the most out of your silicon....&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564648?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 14:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f7770e6-28d0-4d69-8a3d-eb6734d4aa2d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you only retain 16k RAM, the floor current should be below 2 uA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you share the test-case that you currently have, so I can try to recreate the scenario on my side?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564641?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 13:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e9f2b14-89db-4bc9-ae9f-09a995d94b54</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;i&amp;#39;m not touching any of the GRTC registers which would make SYSCOUNTER active....&amp;nbsp; i&amp;#39;ve also verified that the ACTIVE bit is indeed 0....&lt;br /&gt;&lt;br /&gt;what i recently discovered was that i was *not* setting up the CLKCFG register -- which by default is set to LFCLKSRC....&amp;nbsp; now i have setup the LFCLK to use the LFXTAL -- but apparently i should also explicitly set CLKCFG to LFXTAL as well....&lt;br /&gt;&lt;br /&gt;while everything &amp;quot;works&amp;quot;, i found that explicitly setting CLKCFG saved about 0.2uA when sleeping.... my test case is *only* retaining a single 16K SRAM block, which puts me closer to the 2.2uA range....&lt;br /&gt;&lt;br /&gt;i&amp;#39;m trying to match the sleep current achived in nordic&amp;#39;s submission to the BlueJoule benchmark (2uA), found at&amp;nbsp;&lt;a id="" href="https://github.com/em-foundation/BlueJoule/blob/main/captures/nrf-54-dk/zephyr2-3V0-J/ABOUT.md"&gt;https://github.com/em-foundation/BlueJoule/blob/main/captures/nrf-54-dk/zephyr2-3V0-J/ABOUT.md&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;i (wrongly) presumed that the default setting for CLKCFG would be sufficient -- especially since i already bound LFXTAL as my LFCLK....&amp;nbsp; for whatever reason, it introduced about 0.2uA of additional sleep current....&lt;br /&gt;&lt;br /&gt;i&amp;#39;m still not quite in parity with nordic&amp;#39;s code; another 0.2uA to go....&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: clarification about GRTC.SYSCOUNTER when in low-power sleep</title><link>https://devzone.nordicsemi.com/thread/564598?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 09:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105624d4-dee8-469d-aeff-5bb320c7a6b1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you write to any of the registers mentioned here, it will be active in sleep mode:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/grtc.html#d763e406"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/grtc.html#d763e406&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;all other things being equal, i find that this (benign) setup adds 0.4uA of *extra* current consumption when sleeping....&amp;nbsp; (2.1uA without, 2.5uA with)....&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Which mode(s) are you testing?&lt;/p&gt;
&lt;p&gt;The expected SystemOnIdle current, with full RAM retention, with- and without GRTC, is specified to be just below 3 uA (2.7 vs 2.9):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/current_consumption/doc/current_consumption.html#ariaid-title4"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/current_consumption/doc/current_consumption.html#ariaid-title4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>