<?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>Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87882/disable-softdevice-disable-hfclk-and-use-app-timer-driven-by-lfclk</link><description>Device: nRF52811 
 Board: custom (EYSNSNZWW module is used) 
 SDK: 16.0.0 
 SoftDevice: S112(v7.0.1) 
 Sample Project: ble_app_uart 
 
 I&amp;#39;d like to reduce current consumption while BLE communication is not used and the device is inactive. 
 So is it possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jun 2022 06:07:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87882/disable-softdevice-disable-hfclk-and-use-app-timer-driven-by-lfclk" /><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/374050?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 06:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6732c7f-21c6-418d-acdc-bd390ea3dda1</guid><dc:creator>keigo</dc:creator><description>&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;I finally succeeded in disabling HFCLK. The current&amp;nbsp;dropped dynamically so I concluded that the&amp;nbsp;HFCLK stopped.&lt;/p&gt;
&lt;p&gt;In my case,&amp;nbsp;the SAADC&amp;nbsp;remained enabled. It kept HFCLK enabled.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368516?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 07:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9380f5b0-fd70-42d5-9183-16c7b76043e7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Correct.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368489?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 03:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c461915-3748-4936-aa1e-0322e498173c</guid><dc:creator>keigo</dc:creator><description>&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;You mean debugger will activate HFCLK even if HFCLK is disabled before connecting debugger, is it correct?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368424?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 14:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aefde12-9e17-461c-9724-a2f4e46aacf9</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Yes, the debugger will activate it. On a second thought, disabling the HFCLK completely is very difficult as many of the peripherals is dependent on it. What current do you measure and what is your requirement? I think the most effective method would be to just disconnect and stop advertising and then go to IDLE sleep instead of trying to disable the HFCLK completely.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368359?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 12:50:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7c9a65-049e-4268-9d07-fd488399674f</guid><dc:creator>keigo</dc:creator><description>&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;I have checked&amp;nbsp;HFCLKSTAT and it indicated &amp;quot;HFCLK running&amp;quot;.&lt;/p&gt;
&lt;p&gt;By the way, is it no problem with using J-Link debugger for the device running only with&amp;nbsp;LFCLK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368338?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 12:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc0be97-2abd-40cb-aaaf-b4f91aa5c92f</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It would mean disabling effectively stopping HFXO and HFINT. RTC will automatically use the LFCLK when it&amp;#39;s enabled. How do you verify the state of HFCLK? Do you check the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52811/clock.html?cp=4_4_0_4_3_2_14#register.HFCLKSTAT"&gt;HFCLK stat register?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368269?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 10:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:966a04d9-6c85-4e0c-a851-5527b4f4e46b</guid><dc:creator>keigo</dc:creator><description>&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;Just let me confirm. Which is correct?&lt;/p&gt;
&lt;p&gt;&amp;quot;Disabling HFCLK&amp;quot; means:&lt;/p&gt;
&lt;p&gt;-HFXO is disabled but HFINT is enabled&lt;/p&gt;
&lt;p&gt;-HFXO and HFINT are diabled&lt;/p&gt;
&lt;p&gt;I&amp;quot;d like to disable both HFXO and HFINT, then enable LFCLK for RTC.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368253?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 09:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08646d6a-cf65-4064-a794-11c0db05eee6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Disabling the Softdevice should disable the HFCLK unless you have turned it on explicitly before initializing the Softdevice. How do you verify the state of the HFCLK?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/368178?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 01:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01d4c077-819b-47c6-a345-c1927711678b</guid><dc:creator>keigo</dc:creator><description>&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;I managed to disable SoftDevice, but I cannot disable HFCLK.&lt;/p&gt;
&lt;p&gt;Could you tell me how to disable HFCLK?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable SoftDevice, disable HFCLK and use app timer driven by LFCLK</title><link>https://devzone.nordicsemi.com/thread/367782?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 09:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ba4cd53-3e92-4dfa-8fe0-85a7c6759724</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can disable the Softdevice and HFCLK (if it hasn&amp;#39;t been started explicit) by calling &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__sdh.html#ga38fb7087993c1e6eae22c0e00725640e"&gt;nrf_sdh_disable_request&lt;/a&gt;&lt;span&gt;(). App timer will use the RTC which again will use the LFCLK. Not sure if you had any specific questions regarding this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>