<?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>Questions about enabling external 32 MHz crystal (HFXO) on nRF54L15 custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125078/questions-about-enabling-external-32-mhz-crystal-hfxo-on-nrf54l15-custom-board</link><description>Hi everyone, 
 I’m testing a custom nRF54L15 board with BLE, but it gets stuck inside bt_enable() . To debug the issue, I checked whether my 32 MHz external crystal (HFXO) is actually running by using nrf_clock_is_running() . The function shows that both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Oct 2025 13:59:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125078/questions-about-enabling-external-32-mhz-crystal-hfxo-on-nrf54l15-custom-board" /><item><title>RE: Questions about enabling external 32 MHz crystal (HFXO) on nRF54L15 custom board</title><link>https://devzone.nordicsemi.com/thread/551962?ContentTypeID=1</link><pubDate>Mon, 20 Oct 2025 13:59:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3317c8d7-3d42-45df-8f1d-269967389bce</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;
[quote user=""]1. Is &lt;code&gt;nrf_clock_is_running()&lt;/code&gt; a reliable API on nRF54L15 for checking the actual clock source?[/quote]
&lt;p&gt;This will (eventually, when translated through the nrf_clock API) return the register XO.STAT:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/hal/nrf_clock.h#L290"&gt;https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/hal/nrf_clock.h#L290&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/clock.html#register.XO.STAT"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/clock.html#register.XO.STAT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, yes that is reliable and portable between the different nRF5x SoC&amp;#39;s.&lt;/p&gt;
[quote user=""]2. How can I&amp;nbsp;enable the 32 MHz external crystal instead of using the internal RC oscillator on&amp;nbsp;the nrf54l15.[/quote]
&lt;p&gt;If you want to use the clock control subsys, here&amp;#39;s an implementation you can look at:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.1.1/modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_clock_zephyr.c#L51-L89"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.1.1/modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_clock_zephyr.c#L51-L89&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>