<?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 internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94012/how-to-use-internal-lfclk-on-nrf5340-chip</link><description>Hi. I&amp;#39;m using nrf5340. I confirm internal clock(LFRC RC osc) exist,I want to remove external 32.768kHz X-tal. If yes, how can I turn on LFCLK RC oscillator in my source code? 
 my ide is vscode，and SDK version is v2.0.0. example project&amp;#39;s name is peripheral_uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Nov 2022 09:46:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94012/how-to-use-internal-lfclk-on-nrf5340-chip" /><item><title>RE: How to use internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/thread/396843?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 09:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ce09986-f4c7-4ae9-a563-14f3260c7bef</guid><dc:creator>likai</dc:creator><description>&lt;p&gt;and more,V2.0.0\nrf\samples\bluetooth\peripheral_uart\prj.conf ,in this file,add the same configuration.resolved.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/thread/396804?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 08:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf9047d-d5b6-4e56-8cef-721441706250</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;The filename should be hci_rpmsg.conf, there is a typo in the filename.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/thread/396783?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 02:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7717d690-d9d3-464b-85cd-823f2bee2547</guid><dc:creator>likai</dc:creator><description>&lt;p&gt;I create&amp;nbsp;a&amp;nbsp;file named hci_ rpsmg.conf in my_project/child_image/hci_rpmsg and add the same configuration. There is also a boards folder in this directory. After recompilation, it has no effect.&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1669083946250v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/thread/396713?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 14:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17aead3b-6feb-4763-b64a-c4f1fb4247f4</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;For the nRF5340 you will also need to add the same configuration options to &lt;code&gt;my_project/c&lt;/code&gt;&lt;code&gt;hild_image/hci_rpmsg/hci_rpmsg.conf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If the file/folders don&amp;#39;t exists you just have to make them.&lt;/p&gt;
&lt;p&gt;Sorry I forgot to include this in my first response&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/thread/396566?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2022 08:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7994d9a1-fc7e-45c6-9537-320c3eb6f1e1</guid><dc:creator>likai</dc:creator><description>&lt;p&gt;Thanks for your reply!&amp;nbsp;&lt;br /&gt;After added the following to the pro.conf:&lt;/p&gt;
&lt;p&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n&lt;/p&gt;
&lt;p&gt;run my project,debug info tells us:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;bt_enable&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;) return a error message.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Please take a look.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use internal LFCLK on nrf5340 chip?</title><link>https://devzone.nordicsemi.com/thread/396407?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 12:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c08a0145-e967-4223-8d3d-f28e3f550ada</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To change the LFCLK source to the internal LFRC you must add the following to the prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>