<?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>How to use high frequency to run some code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78172/how-to-use-high-frequency-to-run-some-code</link><description>hi. 
 I use nrf52840 sdk nRF5_SDK_17.0.2_d674dde. 
 I need to control the H and L changes of IO within 300ns, I want to turn on the high-frequency part when necessary, and turn it off after this part runs. 
 External crystal oscillator 32Mhz.so how to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Aug 2021 09:32:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78172/how-to-use-high-frequency-to-run-some-code" /><item><title>RE: How to use high frequency to run some code?</title><link>https://devzone.nordicsemi.com/thread/323259?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 09:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79082198-a07f-4533-955b-ccf34add53df</guid><dc:creator>john.liu</dc:creator><description>&lt;p&gt;thanks your for help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use high frequency to run some code?</title><link>https://devzone.nordicsemi.com/thread/323059?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 10:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:980d7d4a-b61b-4fe7-a204-8a3491a27b34</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can call &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;() to make the Softdevice turn on the 32 MHz crystal oscillator when you need a high accuracy clock source, and &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;() when you don&amp;#39;t need it any longer (reduces the system IDLE current).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>