<?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>HF and LF clock for nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100597/hf-and-lf-clock-for-nrf52840</link><description>Hello team, 
 We are building a product using nrf52840 and zephyr stack. We have one external crystal 32MHz for HF clock. By default, the zephyr enables the internal RC oscillator(HFINT) to generate the HF clock. 
 What is the right way to enable the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jun 2023 13:24:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100597/hf-and-lf-clock-for-nrf52840" /><item><title>RE: HF and LF clock for nrf52840</title><link>https://devzone.nordicsemi.com/thread/430259?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 13:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6e943d1-c238-4ef3-9bd0-6b8fccb6c43f</guid><dc:creator>Brinda Pathak</dc:creator><description>&lt;p&gt;Thanks much! That helped me.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HF and LF clock for nrf52840</title><link>https://devzone.nordicsemi.com/thread/429993?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 12:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a43fc3-75ee-4733-86f9-be0b3c9c6104</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Brinda,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;HFINT is used by default, but the protocol stacks will automatically request the HFXO source when higher clock accuracy is needed (e.g., when using the RADIO) and release it again when it is no longer needed. It is possible to request the HFXO from the application and keep it active, but doing so will have a negative impact on your idle current (idle current with HFXO active is typ. around 200 uA).&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]The board does not have external crystal for LF. So we have two options to generate LF.[/quote]
&lt;p&gt;Using the synthesized clock will also result in an increased idle current because it is derived from the HF clock source (prevents it from being released in System ON idle). The RC oscillator is generally the recommended choice for designs that don&amp;#39;t include the LF crystal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kconfig symbol to select RC as the LF clock source:&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>