<?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>nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122313/nrf54l15-lfrc-32khz-clock-configuration-issue</link><description>Hi, We are trying to get our nRF54L15 running, but are running into clock issues. The hardware is configured without an external 32kHz crystal, so we want to rely on the NRF54&amp;#39;s internal RC for our low-speed clock. We need to configure the GRTC to use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Jul 2025 06:32:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122313/nrf54l15-lfrc-32khz-clock-configuration-issue" /><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/541113?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2025 06:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe3390f-45ed-4357-bd92-7bf37d002699</guid><dc:creator>Yongwoo Kim</dc:creator><description>&lt;p&gt;The merged.hex file didn&amp;#39;t work either:&lt;/p&gt;
&lt;p&gt;The Holyiot module is also ENGA. As ppatel mentioned last time, there seems to be a problem with the NRF54L15, which is an ENGA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540628?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2025 17:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbdb4981-d5f9-4ddd-8d89-aeb55a5e0b39</guid><dc:creator>ppatel</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Up until we had REVA/ENGA of nRF54L15. We just replaced FANSTEL package to have REVB/ENGB of nRF54L15 and it is working now.&lt;/p&gt;
&lt;p&gt;So all along&amp;nbsp;REVA/ENGA of nRF54L15 had some issue which is now fixed in&amp;nbsp;REVB/ENGB of nRF54L15.&lt;/p&gt;
&lt;p&gt;Thanks for all the support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540571?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2025 11:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:316f1e59-c2c3-4f95-86d8-c62df1315de5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yongwoo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you try to flash with the merged.hex file I provided ?&amp;nbsp;&lt;br /&gt;If you have the 32kHz xtal, have you tried to flash a simple blinky sample without any modification (build for the DK) ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540570?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2025 10:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e267d13-8b6c-48b7-9555-1c940450cd6f</guid><dc:creator>Yongwoo Kim</dc:creator><description>&lt;p&gt;Hello, Hung.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to start development with Holyiot&amp;#39;s nRF54L15 module:&lt;/p&gt;
&lt;p&gt;but like ppatel, it gets stuck at nrfy_grtc_sys_counter_start.&lt;/p&gt;
&lt;p&gt;Something&amp;#39;s not right. The Holyiot nRF54L15 module already has 32k Xtal and 32M xtal.&lt;/p&gt;
&lt;p&gt;And I followed this post, the kconfig, DT overlay, and blinky_RC_2 in this post all fail to initialize GRTC.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540319?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2025 11:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3deda525-d3fb-4726-874b-cb5e9b703220</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi PPatel,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I did a quick test here and it seems to work in my case. I cut SB4 and SB3 on the DK so that the crystal was not connected. When I flashed the default Blinky it doesn&amp;#39;t run (meaning the XTAL has been disconnected) but when I modify the blinky to use RC it start to blink.&lt;/p&gt;
&lt;p&gt;Could you try to flash the following hex file to see if it run on the FANSTEL ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I assume you don&amp;#39;t have anything special on FANSTEL that may block the run of the blink example ? For example if P2.09 (LED0) is used for something else ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you pulled this&amp;nbsp;&lt;a title="https://github.com/zephyrproject-rtos/zephyr/pull/89670" href="https://github.com/zephyrproject-rtos/zephyr/pull/89670" rel="noopener noreferrer" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/89670&lt;/a&gt;&amp;nbsp;There are 2 commits needed.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6428.merged.hex"&gt;devzone.nordicsemi.com/.../6428.merged.hex&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinky_5F00_RC_5F00_2.zip"&gt;devzone.nordicsemi.com/.../blinky_5F00_RC_5F00_2.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540247?ContentTypeID=1</link><pubDate>Tue, 24 Jun 2025 00:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a70054-a8ce-4b71-8b9e-5e1ae610d55e</guid><dc:creator>ppatel</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Yes, I have 2 different board files for the DK and the FANSTEL board.&lt;/p&gt;
&lt;p&gt;Yes, I added overlay but it still doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Flashing HEX built for the DK on the FANSTEL doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y and all the other CONFIGs which worked on the DK, I copied those directly for the FANSTEL. But it still doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540197?ContentTypeID=1</link><pubDate>Mon, 23 Jun 2025 12:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81736eeb-0a38-4bff-a81d-8487a3d39cb6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi PPatel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you tell how you built for the DK and how you built for the FANSTEL board ?&amp;nbsp;&lt;br /&gt;I assume you have different board files ?&amp;nbsp;&lt;br /&gt;Have you added the overlay I mentioned in the last reply ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you simply flash the hex file built for the DK on the FANSTEL, would it work ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would guess there could be an issue with the board file made for the FANSTEL.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please also check the .config file in&amp;nbsp;\build\blinky\zephyr\ when you build for FANSTEL and check if you have&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y there. Please try to compile to the same .config file when you build for the DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/540082?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2025 18:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d5a8d5f-5034-4f27-8660-19599c361722</guid><dc:creator>ppatel</dc:creator><description>&lt;p&gt;Hi Hung,&lt;br /&gt;&lt;br /&gt;I added the changes you suggested.&lt;/p&gt;
&lt;p&gt;I modified our prj.conf / XXX_defconfig to the following:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;# Enable UART driver
CONFIG_SERIAL=y

# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# Enable GPIO
CONFIG_GPIO=y

# Enable MPU
CONFIG_ARM_MPU=y

# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y

CONFIG_CLOCK_CONTROL=y
CONFIG_CLOCK_CONTROL_NRF=y

# use grtc as system timer
CONFIG_NRF_GRTC_TIMER=y
CONFIG_NRF_GRTC_START_SYSCOUNTER=y

# Enable LFRC (internal RC oscillator)
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_FREQUENCY=32768

# Disable LFXO (external 32kHz crystal)
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n

# Disable synthesized LFCLK from HFCLK
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=n

CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y
CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_LF_ALWAYS_ON=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also modified the Blinky sample to the minimal:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;zephyr/kernel.h&amp;gt;

#define SLEEP_TIME_MS   1000

int main(void)
{
    uint32_t counter = 0;
    while (1) {
        printf(&amp;quot;Counter: %u\n&amp;quot;, counter++);
        k_msleep(SLEEP_TIME_MS);
    }
    return 0;
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;With the above changes,&lt;br /&gt;For NRF54L15 DevKit I see GRTC (GLOBAL_GRTC_NS)--&amp;gt;CLKCFG(0x00020001)--&amp;gt;CLKSEL--&amp;gt;LFLPRC and can confirm Counter value incrementing on UART.&lt;br /&gt;&lt;br /&gt;With the same changes,&lt;br /&gt;For FANSTEL BM15C (NRF54L15) module, I see GRTC (GLOBAL_GRTC_NS)--&amp;gt;CLKCFG(0x00000001)--&amp;gt;CLKSEL--&amp;gt;LFXO.&lt;br /&gt;I get stuck with this call stack:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfy_grtc_sys_counter_start(NRF_GRTC_Type * p_reg, _Bool busy_wait) (PATH\modules\hal\nordic\nrfx\haly\nrfy_grtc.h:987)
nrfx_grtc_syscounter_start(_Bool busy_wait, uint8_t * p_main_cc_channel) (PATH\modules\hal\nordic\nrfx\drivers\src\nrfx_grtc.c:566)
sys_clock_driver_init() (PATH\zephyr\drivers\timer\nrf_grtc_timer.c:483)
z_sys_init_run_level(enum init_level level) (PATH\zephyr\kernel\init.c:377)
z_cstart() (PATH\zephyr\kernel\init.c:801)
z_prep_c() (PATH\zephyr\arch\arm\core\cortex_m\prep_c.c:220)
z_arm_reset() (PATH\zephyr\arch\arm\core\cortex_m\reset.S:207)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Can you please suggest if I need additional changes to make this work on FANSTEL BM15C module ?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf54L15 LFRC 32KHz clock configuration issue</title><link>https://devzone.nordicsemi.com/thread/539553?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 12:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c8d1d1f-cea2-409f-825d-735d3c193523</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi PPatel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I know you would need to remove the lfxo from the device tree. Please add this to an overlay file (app.overlay for example):&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/delete-node/ &amp;amp;lfxo;

grtc {
      /delete-property/ clocks;
      /delete-property/ clock-names;
      clocks = &amp;lt;&amp;amp;pclk&amp;gt;;
      clock-names = &amp;quot;hfclock&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And this is also required:&amp;nbsp;&lt;span&gt;&lt;a title="https://github.com/zephyrproject-rtos/zephyr/pull/89670" href="https://github.com/zephyrproject-rtos/zephyr/pull/89670" rel="noopener noreferrer" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/89670&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please try to test with one of our sample in the SDK so we can align easier.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>