<?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>nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115208/nrf5340-with-internal-load-caps-for-32m-xtal</link><description>Hello, 
 The target MCU on nRF5340 DK seems to use internal load caps for the high frequency 32MHz XTAL because the board does not have external load caps. 
 The nRF5340 specification sheet mentions that the internal caps must be configured before enabling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2024 14:56:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115208/nrf5340-with-internal-load-caps-for-32m-xtal" /><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/509492?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 14:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6e168c9-1b5d-4719-a5e6-b6438a5ebe15</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to&amp;nbsp;see you found the issue. This is a good point, I do not believe it is documented anywhere that you must configure the clock source on both the application and network core (and if you have several images like a bootloaders they also need the same clock configuration). I will forward this internally.&lt;/p&gt;
&lt;p&gt;PS: As this is needed on all applications it makes sense to add it to your board files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/509337?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 00:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5748df29-78ff-401b-936a-260d5e76c971</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Coincidentally, even though this configuration worked for advertising (with the synthesized LFCLK), I started experiencing disconnections when I ran another sample code for establishing a connection to the phone through the nRF Connect app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730939025310v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;Reason 8&amp;quot; being Connection Timeout, I started investigating connection timing parameters and in my searches I stumbled upon this ticket.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82647/nrf5340-peripheral-ble-connections-always-fail-with-reason-0x3e-62"&gt;nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In here, it was mentioned that the RC oscillator configurations should be done on &lt;strong&gt;BOTH&lt;/strong&gt; the App and Network cores. After doing so, I was able to start the radio using RC oscillators, and to establish a stable BLE connection without disconnections.&lt;/p&gt;
&lt;p&gt;So in summary, I am no longer using HFXO to generate LFCLK. I enabled RC oscillators in both&amp;nbsp;application MCU and network MCU (hci_ipc) in their respective prj.conf files.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;#Internal 32kHz RC Oscillator&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM&lt;/span&gt;&lt;span&gt;=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;Question: Is there any explicit documentation from Nordic which mentions that this configuration must be enabled in both app/network if an external 32kHz XTAL is not used? I could not find any.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mikael&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/509064?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 09:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f102b39-efbe-4e32-b8ec-9e769e92e9a2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="mm784"]CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM=y[/quote]
&lt;p&gt;PS: When using LFRC, you should set&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y (not 20 ppm). This does not actually make a difference if you are ony doing advertising, but for connections etc you need to set the correct accuracy for the LFRC, which is 500 PPM (the sleep clock accuracy is used for window widening in BLE).&lt;/p&gt;
[quote user="mm784"]My assumption that RC clocks are not stable enough to initialize the BLE stack is not based on empirical data, but rather on the RTT logs &amp;quot;HCI driver open failed&amp;quot; and &amp;quot;Bluetooth init failed&amp;quot;.[/quote]
&lt;p&gt;I see. That is not the case though. If you enable the LFRC&amp;nbsp; with calibration, it will be within 500 ppm which is good enough for BLE. And regardless, an inaccurate clock would not result in this error.&lt;/p&gt;
[quote user="mm784"]Q. Could there be board to board variations that cause this?[/quote]
&lt;p&gt;There could be board to board variations on the LFRC as well as other parameters, but that would not explain what you are seeing. BLE products without the 32.768 kHz clock is common.&lt;/p&gt;
&lt;p&gt;The error you are seeing (HCI driver open failed (-11) does not indicate a clock issue specifically. Instead, it indicate that the BT host is not able to communicate with the BT controller (which should be running on the net core). So it seems you have not programmed the BT controller. This should normally happen automatically though. Another potential issue is that something went wrong in the controller iside (it might be clock related as you see a difference when you use synthesized LF clock).&lt;/p&gt;
&lt;p&gt;Some questions in order fo rme to understand more:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;These failure, are you seeing them on the nRF5340 DK or a custom board?&lt;/li&gt;
&lt;li&gt;If it is a custom board, can you share your board files?&lt;/li&gt;
&lt;li&gt;Also, can you share the project with all your changes? Please include the build folder so that I can see how you configure and build your project.&lt;/li&gt;
&lt;li&gt;Which SDK version are you using?&lt;/li&gt;
&lt;li&gt;Does the standard &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/bluetooth/beacon/README.html"&gt;Zephyr beacon sample&lt;/a&gt; work on your device or do you see the same or other issues there?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/509014?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2024 20:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a13a2999-b8b6-4e04-b9cc-43d8bac4bf2e</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you for your detailed response and your explanations. I am not trying to do anything unconventional. To test out the radio, I am running the example from Nordic Bluetooth Fundamental course, specifically &amp;quot;Lesson 2, Exercise 2&amp;quot;. In this exercise the device is supposed to start advertising as a Nordic Beacon. I am using the code provided in the solution for this exercise as is - I did not change anything in the source code. But since&amp;nbsp;I don&amp;#39;t have an external 32.768kHz XTAL, I added following to prj.conf to enable RC Oscillators and I chose the lowest jitter at 20ppm.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="color:#339966;"&gt;#Enable Internal 32kHz RC Oscillator&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#008000;"&gt;#Disable use of 32kHZ XTAL&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_ENABLE_LFXO&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="color:#008000;"&gt;#Configure 32MHz Clock&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INTERNAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INT_VALUE_X2&lt;/span&gt;&lt;span&gt;=24&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;With this build, the beacon does not work and in RTT logs I get the following:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730751143044v1.png" /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Then I tried another option of generating the LFCLK, this time by using the HFXO and generating LFCLK from it. I changed my prj.conf to the following&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="color:#008000;"&gt;#Synthesize LF Clock&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style="color:#008000;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div&gt;&lt;span style="color:#008000;"&gt;#Disable use of 32kHZ XTAL&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_ENABLE_LFXO&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#008000;"&gt;#Configure 32MHz Clock&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INTERNAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INT_VALUE_X2&lt;/span&gt;&lt;span&gt;=24&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;With this build, the beacon works. I see it in the nRF Connect App and RTT logs show the following:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730751670696v1.png" /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I do not want to jump to conclusions. My assumption that RC clocks are not stable enough to initialize the BLE stack is not based on empirical data, but rather on the RTT logs &amp;quot;HCI driver open failed&amp;quot; and &amp;quot;Bluetooth init failed&amp;quot;. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Q. Could there be board to board variations that cause this?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mikael&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508905?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2024 09:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6617e0-271f-4493-9455-3fdb1e6466b5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using synthesized LFCLK is usefull in some cases (particulrily during testing), but it is not much used in production, because it leads to a high current consumption. It is also not used during our BLE testing, so unless you have a good reason for using it(?) I suggest you do not.&lt;/p&gt;
[quote user="mm784"]I am assuming the RC oscillators are not stable enough for BT stack to initialize.&amp;nbsp;[/quote]
&lt;p&gt;Thsi sounds strange. Can you elaborate? The BT stack works well with th ecalibrated LFRC, but that is used for keeping track of time (waking up on connection events etc). When the radio is used, the HFXO is started, and when the radio is no longer needed, it iss topped (this could be for instance between BLE connection events or advertising&amp;nbsp;events or similar).&lt;/p&gt;
&lt;p&gt;I am a bit unsure about the background for these quiestions. Are you facing another issue that you are tryign to resolve? Perhaps you can backtrack a bit and explain what you are trying t achieve/fix?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508861?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 21:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6489da7e-12ba-4c17-b07a-1f07d43d6ac7</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The only thing I changed was enable this config, so LFCLK is synthesized from HFXO&lt;/p&gt;
&lt;div class="content full threaded-reply-content user-defined-markup" data-replyid="508702" data-userid="133293" data-permalink="~/f/nordic-q-a/115208/nrf5340-with-internal-load-caps-for-32m-xtal/508702"&gt;
&lt;div class="content"&gt;
&lt;p&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;instead of using internal RC oscillators&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=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;I am assuming the RC oscillators are not stable enough for BT stack to initialize.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mikael&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508777?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 10:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bde40024-a2df-4060-ab48-155f012513c3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Mikael,&lt;/p&gt;
&lt;p&gt;There is no need to do any adjustments in firmare to get the HF clock running with BT, as taht is always handled by the stack.&lt;/p&gt;
&lt;p&gt;The error you get here indicate that the app core is not able to communiacte with the net core. Have you programmed the&amp;nbsp;bluetooth controller (hci_ipc or hci_rpmsg depending on SDK version) to the network core?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508702?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 15:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f361fe-eccc-4378-880e-d4a082932f2e</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;This is the crystal I am using&lt;br /&gt;&lt;br /&gt;ABM11W-32.0000MHZ-8-B1U-T3&lt;/p&gt;
&lt;p&gt;32MHz, +-10ppm&lt;br /&gt;&lt;br /&gt;Cload = 8pF, so internal C1/C2 = 12pF&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ABM11W.pdf"&gt;devzone.nordicsemi.com/.../ABM11W.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Instead of RC oscillators I used this and the radio is working now. So the radio can&amp;#39;t work with RC oscillators?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508701?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 15:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a2b922d-1b18-4d2f-acb4-3768cfe2d7fc</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you for the explanation. I was loading sample code from the Bluetooth Fundamentals course onto my board. This example is simply an advertising Nordic Beacon&amp;quot;. The code works fine on the nRF5340 but on my board, the same code does not generate any activity on the 32MHz clock.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For you reference I am not using an external LF XTAL, so I am using RC oscillator.&lt;/p&gt;
&lt;p&gt;And HF XTAL relies on internal caps. So these are the configurations I added to the example code:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;
&lt;div&gt;&lt;span&gt;#Internal 32kHz RC Oscillator&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;#32MHz Clock&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INTERNAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INT_VALUE_X2&lt;/span&gt;&lt;span&gt;=24 &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_ENABLE_LFXO&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is anything else required to operate the HF 32MHz clock? I am getting these errors:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Error-Logs.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mikael&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508620?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 08:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220790bd-6458-42e0-b511-0235b7d8da18</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Mikael,&lt;/p&gt;
&lt;p&gt;The HFXO uses more power than the internal HFINT, and is normally only used when a high accuracy clock is needed. This is for instance whiel the radio is active, and our radio stacks (Bluetooht and others) will automatically enable it&amp;nbsp;when needed. However, if you need an accurate in other cases you can enable it using&amp;nbsp;z_nrf_clock_control_get_onoff() which you can see an example of in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/9e5b54d7a3bcbbce324175d327ea80805f46a43e/samples/peripheral/radio_test/src/main.c#L17"&gt;clock_init() the radio test sample&lt;/a&gt;. Note that unless power consumption is not important for your product, you should release/disble the HFXO when you no longer need an accurate clock.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/508585?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 18:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b46cb52-b7b9-41fc-892a-5e6302978fa8</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After setting the prj.conf&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INTERNAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SOC_HFXO_CAP_INT_VALUE_X2&lt;/span&gt;&lt;span&gt;=24&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Since C1/C2=12pF&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;How to enable HFXO?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mikael&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 with internal load caps for 32M XTAL</title><link>https://devzone.nordicsemi.com/thread/504830?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 13:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39b4b96a-db5c-4588-86e9-dd4f565a9dc7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You configure this with&amp;nbsp;CONFIG_SOC_HFXO_CAP_INTERNAL=y and&amp;nbsp;CONFIG_SOC_HFXO_CAP_INT_VALUE_X2 set to the value you want, as described in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93284/configuring-internal-capacitors-for-crystal-oscillator/395150"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The default startup clock is the internal RC oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>