<?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>case about nRF54L15 &amp;amp; GRTC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125840/case-about-nrf54l15-grtc</link><description>Hi, 
 1.I&amp;#39;m attempting to create a GRTC wake-up example, but it&amp;#39;s giving an error when running. Could you please help me troubleshoot this issue? 2. The line that caused the error is as follows: 
 
 uint32_t waketime_cycles = LFCLK_FREQ_HZ / 2 ; // 约</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Nov 2025 12:06:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125840/case-about-nrf54l15-grtc" /><item><title>RE: case about nRF54L15 &amp; GRTC</title><link>https://devzone.nordicsemi.com/thread/555498?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 12:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05e5e0b6-4377-4a51-84d6-fbf55b80b8c6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The assert at line 1967 in nrf_grtc.h (&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/7858281d843468fe53c829995fb63f45a227387a/nrfx/hal/nrf_grtc.h#L1967"&gt;https://github.com/zephyrproject-rtos/hal_nordic/blob/7858281d843468fe53c829995fb63f45a227387a/nrfx/hal/nrf_grtc.h#L1967&lt;/a&gt;) is raised because you are exceeding the max. value for the WAKETIME register (Note: this register does not define the sleep duration). I recommend you use the&amp;nbsp;z_nrf_grtc_wakeup_prepare() API instead as in our system_off sample here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/716d6a7b2ef73958d914d1f3377a95650689e71f/samples/boards/nordic/system_off/src/main.c#L105"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/716d6a7b2ef73958d914d1f3377a95650689e71f/samples/boards/nordic/system_off/src/main.c#L105&lt;/a&gt;. This ensures the GRTC gets configured correctly as a wakeup source for System OFF.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>