<?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>Proper way to configure clock with HFXO in a FreeRTOS project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80384/proper-way-to-configure-clock-with-hfxo-in-a-freertos-project</link><description>Hi, I&amp;#39;m working on a FreeRTOS (I just start to use it, so I&amp;#39;m a beginner) project in wish we want to use an external 32 MHz crystal. The program has a task that should be executed during a period of time of 125ms. Using the internal clock, the task executes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Oct 2021 11:08:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80384/proper-way-to-configure-clock-with-hfxo-in-a-freertos-project" /><item><title>RE: Proper way to configure clock with HFXO in a FreeRTOS project</title><link>https://devzone.nordicsemi.com/thread/332996?ContentTypeID=1</link><pubDate>Thu, 07 Oct 2021 11:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a834c893-f5ec-4707-8d4b-b7980a15081d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK are you using? and did you see the example we have for freertos: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/freertos.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/freertos.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also check out the documentation her: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__drv__clock.html#ga425c8dc0508bb9c0777da123b7c66f3d"&gt;nrf_drv_clock_lfclk_request&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And maybe also use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__drv__clock.html#gae25988638664f2e4da8512b221adfdfd"&gt;nrf_drv_clock_hfclk_request&lt;/a&gt;&amp;nbsp; to check if the clock is started before proceeding from clock init.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>