<?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 measure XTAL with frequencemeter tuning the right frequency ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121996/how-measure-xtal-with-frequencemeter-tuning-the-right-frequency</link><description>Hello, 
 To finaly adjust the inside crystal capacitor at the end of production, I need measure the LFXO and HFXO frequencies signals to fine tuning. How should I do ? 
 Best regards. 
 
 Michaël C.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jun 2025 13:22:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121996/how-measure-xtal-with-frequencemeter-tuning-the-right-frequency" /><item><title>RE: How measure XTAL with frequencemeter tuning the right frequency ?</title><link>https://devzone.nordicsemi.com/thread/538071?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 13:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd9a722b-b01a-47bc-8509-4b353b5fb430</guid><dc:creator>Michael_C</dc:creator><description>&lt;p&gt;Hi! Thank you very much for the reply! All well noted!&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How measure XTAL with frequencemeter tuning the right frequency ?</title><link>https://devzone.nordicsemi.com/thread/538067?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 13:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaa673a4-b4ed-4d5b-84fe-576db7699935</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi Michaël,&lt;/p&gt;
&lt;p&gt;The easiest way to measure the LFXO without adding additional load to the crystal is to configure the GRTC to output the LFCLK clock to a GPIO pin:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/grtc.html#ariaid-title5"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/grtc.html#ariaid-title5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The HFXO is a little trickier to tune, the simplest way is to use the radio frequency accuracy, as the carrier frequency accuracy is directly dependent on the 32MHz crystal accuracy. To do this radio should be configured to output a unmodulated carrier. The radio test sample can be used to do this:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/peripheral/radio_test/README.html#user_interface"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/peripheral/radio_test/README.html#user_interface&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This tuning does not need to be done for all devices in production, it is enough to do this once on one sample to figure out what the internal load capacitors should be configured for. Once the optimal load capacitance is found the load capacitors can be configured in the firmware, using the devicetree:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;hfxo {
      load-capacitors = &amp;quot;internal&amp;quot;;
      load-capacitance-femtofarad = &amp;lt;...&amp;gt;;
};

&amp;amp;lfxo {
      load-capacitors = &amp;quot;internal&amp;quot;;
      load-capacitance-picofarad = &amp;lt;...&amp;gt;;
};&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>