<?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>Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91848/match-capacitance-for-teh-crystall-oscillator-nrf5340-and-nrf-connect-sdk</link><description>Hello everyone, 
 I&amp;#39;m developing my own board using the nRF5340. I am quite lost because of the capacitance matching that I need to perform with the 32M Crystal and the 32k Crystal, and I would like to do it with external capacitors. 
 Following both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Sep 2022 12:27:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91848/match-capacitance-for-teh-crystall-oscillator-nrf5340-and-nrf-connect-sdk" /><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/386392?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 12:27:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d48a1d91-bfa1-4304-b82e-cc2eaa41ae50</guid><dc:creator>dario.sortino</dc:creator><description>&lt;div id="MathJax_Message" style="display:none;"&gt;&lt;/div&gt;
&lt;p&gt;Thanks. Everything is clear now.&lt;br /&gt;I really appreciate your answers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/386390?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 12:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:babade8a-2935-4e28-8f10-38883a601680</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The traces from the XL1 and XL2 pin to the LF crystal on the DK is very long, which will increase the capacitance. By setting the internal capacitor to 7pF the extra capacitance from the traces are compensated for. There is not need to change the internal load caps to 9pF when using the DK.&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><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/386290?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 07:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:438d9039-734f-450d-9173-a5aab39e7e98</guid><dc:creator>dario.sortino</dc:creator><description>&lt;div id="MathJax_Message" style="display:none;"&gt;&lt;/div&gt;
&lt;p&gt;Thank you, I&amp;#39;m finally understanding how the whole system is working.&lt;/p&gt;
&lt;p&gt;Just one last question: in the DK the 32K crystal has CL = 9 pF, but in the SDK examples (like blinky), the internal match is set to 7 pF. I would say that this is not wrong because blinky doesn&amp;#39;t make any use of the 32K crystal, so in that context, everything works. But I guess if I want to use some RF functionalities the internal match needs to be set at 9 pF (or matched with an external capacitor).&lt;/p&gt;
&lt;p&gt;Do you confirm this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/386230?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 14:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d20c4c39-6f31-4306-8a64-1d90cd130fc1</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Default _register_ settings are external caps. But the SDK examples will probably have this set to match a 32 MHz crystal with CL = 8 pF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;12.5 pF is out of spec, max is 9 pF:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/oscillators/doc/oscillators.html#unique_63981518"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/oscillators/doc/oscillators.html#unique_63981518&lt;/a&gt;. Hence, you can set only 7, 8 or 9 pF for the LFXO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/386225?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 14:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca362ad-5762-4ce1-9c4d-dac9dfe323db</guid><dc:creator>dario.sortino</dc:creator><description>&lt;div id="MathJax_Message" style="display:none;"&gt;&lt;/div&gt;
&lt;p&gt;Hi ketiljo,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t get why in the DK there are no external load caps, the blinky example works fine but the default settings are external loads.&lt;/p&gt;
&lt;p&gt;Also, if my LF crystal have 12.5 pF, I should use both the _CL_ value and external capacitors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/386221?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 14:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:216aa96e-373b-444d-a359-cdcdd606300e</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;The default setting of both the LF and HF XOSC caps are external load caps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the cap settings are done differently for the LF and HF oscillators. For the HF clock, what you write to the register is the actual cap setting you want, but for the LF clock, you select the _CL_ value of the crystal. So if you have a crystal with CL ) 9 pF, you need to write 3 to the XOSC32KI.INTCAP register:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/oscillators/doc/oscillators.html#register.XOSC32KI.INTCAP"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/oscillators/doc/oscillators.html#register.XOSC32KI.INTCAP&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/385855?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 07:42:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edfd1391-9819-4a8a-bf00-4756412c635b</guid><dc:creator>dario.sortino</dc:creator><description>&lt;div id="MathJax_Message" style="display:none;"&gt;&lt;/div&gt;
&lt;p&gt;Also, according to the calculation and the datasheet, for the 32k crystal, I should have in the nrf5340DK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ccap = 9 pF * 2 - (7 pf + 1 pf) = 10 pf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But the internal capacitor by default is set at 7 pF, or am I missing something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/385753?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 13:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c492a7dd-13e0-474e-84ab-05d93de130d9</guid><dc:creator>dario.sortino</dc:creator><description>&lt;div id="MathJax_Message" style="display:none;"&gt;&lt;/div&gt;
&lt;p&gt;Hi Ketiljo, thank for your confirmation.&lt;/p&gt;
&lt;p&gt;In case I want to keep the internal capacitor on for the 32Mhz crystal, what is the default setting for its value?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Match capacitance for teh crystall oscillator nrf5340 and nrf Connect SDK</title><link>https://devzone.nordicsemi.com/thread/385742?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 12:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6c7bbdb-1b36-4401-ba75-10d7228bff4a</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;You can calculate the cap values like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ccap = CL * 2 - (Cpin + Cpcb).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can assume ~1 pF for Cpcb and 5.5 pF for Cpin. So for a crystal with Cl = 8 pF, you need 8 *2 - (5.5 +1) = 10 pF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both&amp;nbsp;crystals on the DK have a CL value of 8 pF so any example that uses this will work with your crystal as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>