<?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>Clock</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102967/clock</link><description>Hi all: 
 I want to know which peripheral clock is used, and if I have an external 32MHz and 32.768 KHz clock attached to my hardware, I only need to use these two functions, nrf_drv_clock_lfclk_request() and nrf_drv_clock_hfclk_request(), for initialization</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2023 13:31:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102967/clock" /><item><title>RE: Clock</title><link>https://devzone.nordicsemi.com/thread/442321?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:837ddc4a-c505-4693-9dec-63d4688b8f6a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you are not using any nrfx initialization and if your application is triggered &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52833%2Fclock.html&amp;amp;cp=5_1_0_4_3_2&amp;amp;anchor=register.TASKS_HFCLKSTART"&gt;TASKS_HFCLKSTART&lt;/a&gt; any source in NRF_CLOCK register then it is the hardware default that is the clock source which is internal oscillator&amp;nbsp;&lt;span&gt;HFINT.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clock</title><link>https://devzone.nordicsemi.com/thread/442148?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2023 02:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feefd176-c592-492e-87af-34686316e376</guid><dc:creator>Mark_Y</dc:creator><description>&lt;p&gt;&lt;span&gt;Do I define NRFX_CLOCK_ENABLED as 0? The system will select an external high-speed clock as the rtc clock source? T&lt;/span&gt;&lt;span&gt;hanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Clock</title><link>https://devzone.nordicsemi.com/thread/442083?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 12:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1f7489-d8af-495f-80f5-794711359b07</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since you asking about nrf_drv_xxx, I am guessing that you are using our deprecated nRF5SDK (and not our recommended &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]I only need to use these two functions, nrf_drv_clock_lfclk_request() and nrf_drv_clock_hfclk_request(), for initialization.[/quote]
&lt;p&gt;If this is a hardware question, You should know if you have external clocks in your hardware connected and accessible to nRF chip.&amp;nbsp;&lt;br /&gt;If this is a software question and if you are asking how you configure which clock to use in the application, then you should look into the sdk_config.h file in your project and look for the below configs&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_CLOCK_ENABLED
CLOCK_CONFIG_LF_SRC

#define NRFX_CLOCK_ENABLED 0
NRFX_CLOCK_CONFIG_LF_SRC&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>