<?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>POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127082/pofcon-configuration-causing-hard-fault-in-sdk-17-1-0-with-nrf52832</link><description>Hi! I&amp;#39;m migrating some code from an 14.2.0 SDK to the 17.1.0 SDK and cleaning up a big mess. 
 Whenever I call nrf_power_pofcon_set ( true , NRF_POWER_POFTHR_V27) with either true or false, I get a hard fault. I read the docs, and I see HFCLK needs to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Feb 2026 15:28:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127082/pofcon-configuration-causing-hard-fault-in-sdk-17-1-0-with-nrf52832" /><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561732?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2026 15:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9aa09b3-e1da-4f1b-b761-220d71d04015</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Here is the&amp;nbsp;working code for others trying to figure this out.&lt;br /&gt;Its confusing b/c of mixed APIs&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    nrf_drv_power_pofwarn_config_t config = { 
        .handler  = pof_handler, 
    };
    
    nrfx_power_pof_init(&amp;amp;config);
    sd_power_pof_threshold_set(NRF_POWER_THRESHOLD_V28);
    sd_power_pof_enable(true);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561731?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2026 15:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea40862a-4640-4ef7-a06c-08a247206335</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Thanks Hung. &lt;br /&gt;&lt;br /&gt;Based on your advice I saw nrf_drv_power.c has support for using pof with softdevice.&amp;nbsp;&lt;br /&gt;I added that, and configured.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    nrf_drv_power_pofwarn_config_t config = { 
        .handler  = pof_handler, 
        .thr = NRF_POWER_POFTHR_V27 
    };
    nrf_drv_power_pof_init(&amp;amp;config);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I was able to get the pof_handler to fire today, how ever I see in only supports 2.7v, 2.5v, 2.3v, 2.1v via nrf_drv_power.c, and I want to use 2.8v , so I think I&amp;#39;m going to pull all of this into my own application and stop using nrf_drv_power.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561675?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2026 10:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:056693fb-b5ac-49ab-9f59-3fa9417f2e2b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michael,&amp;nbsp;&lt;br /&gt;I assume&amp;nbsp;&lt;span&gt;sd_power_pof_* API worked for you. Let me know if you have further questions related to this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561644?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2026 23:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b48e87bb-3cfa-4be5-8ffa-39b3a03b9a38</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Thanks Hung. Yes I&amp;#39;m using softdevice. Very helpful thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561598?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2026 12:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45171063-1a79-4226-8673-17ee9b68640f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michael,&amp;nbsp;&lt;br /&gt;Have you tried to step into the code and check which exactly line that cause the hardfault ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Do you use softdevice ? If you do you would need to use&amp;nbsp;sd_power_pof_* API to access the Power registers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where do you call the function ? Have you tried to test with very simple application ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561545?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 23:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61e64322-8c48-48bc-8efd-0b4156c2b305</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Also tried the nrfx hal, same result&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    nrfx_power_pofwarn_config_t pof_config;
    pof_config.thr = NRF_POWER_POFTHR_V28; // Set threshold to 2.7V
    pof_config.handler = &amp;amp;pof_handler;
    nrfx_power_pof_init(&amp;amp;pof_config);
    nrfx_power_pof_enable(&amp;amp;pof_config); // &amp;lt;- hard fault&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: POFCON configuration causing hard fault in SDK 17.1.0 with nrf52832</title><link>https://devzone.nordicsemi.com/thread/561544?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 23:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a9cf67-f277-47bd-a203-2ccedbed9443</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;I tried enabling LFCLK as well, same result&lt;br /&gt;&lt;br /&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/pastedimage1771455791969v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>