<?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>Actively toggling HFXO when using Soft Device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78035/actively-toggling-hfxo-when-using-soft-device</link><description>Hello, 
 I need to use the more accurate HFXO for a very short interval to time incoming interrupts (approx 1/50 second every 15 mins) 
 The processor sleeps idle for the vast majority of the time that the Soft Device is not active on BLE. 
 As the HXO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jul 2021 11:36:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78035/actively-toggling-hfxo-when-using-soft-device" /><item><title>RE: Actively toggling HFXO when using Soft Device</title><link>https://devzone.nordicsemi.com/thread/322430?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 11:36:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d660724-441d-4bc8-9775-e52d325e087a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&amp;quot;immediately&amp;quot; is maybe not entirerly accurate. Like you said, stopping of the HFXO has to be delayed if the application releases the clock request while the clock is in use by the Softdevice (Softdevice does handle this scenario).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Actively toggling HFXO when using Soft Device</title><link>https://devzone.nordicsemi.com/thread/322424?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 11:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d398848-d62a-4039-8ac3-2236993a8ebc</guid><dc:creator>Brian Shankland</dc:creator><description>&lt;p&gt;Thanks for confirmation Vidar.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Documentation for release says that the HFXO is stopped immediately, but I&amp;#39;m assuming that if the Soft Device is also using it that this will be delayed until it is also finished.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will check that HFXO is running when I request it, but will not check for it stopped on release - let Soft device decide when it is safe to do so.&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: Actively toggling HFXO when using Soft Device</title><link>https://devzone.nordicsemi.com/thread/322421?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 11:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a848e55-4ce9-4aae-b9af-a599c2f37ddf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes, the Softdevice include APIs to both request and release request for the HFXO. The Softdevice won&amp;#39;t turn off the crystal as long it&amp;#39;s being requested by the application.&lt;/p&gt;
&lt;p&gt;Relevant Softdevice functions:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- &lt;span&gt;&lt;a title="sd_clock_hfclk_request" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_7_2_3#ga3e5afb495a1b0307c749cc268df94a74"&gt;sd_clock_hfclk_request&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- &lt;span&gt;&lt;a title="sd_clock_hfclk_release" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_7_2_2#ga7dcec5b896ce32fe70e9b54d7b523f55"&gt;sd_clock_hfclk_release&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- &lt;span&gt;&lt;a title="sd_clock_hfclk_is_running" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_7_2_1#ga622439323dd33dbf6de9cf4508478d9e"&gt;sd_clock_hfclk_is_running&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>