<?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>verifying 32kHz crystal accuracy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102994/verifying-32khz-crystal-accuracy</link><description>We have a custom board that is using the RTC with an external 32.768kHz crystal. I would like to verify the accuracy and tune the capacitors if necessary. I want to verify that what I am doing is reasonable. 
 We are using Zephyr. I have set up 
 
 CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Apr 2024 17:56:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102994/verifying-32khz-crystal-accuracy" /><item><title>RE: verifying 32kHz crystal accuracy</title><link>https://devzone.nordicsemi.com/thread/477374?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 17:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5265daf-a4ee-4f8c-8b81-5c587f171872</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m trying to use this example for the same purpose as the OP, but the example gives several build errors, including&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;.../nrf/subsys/debug/ppi_trace/ppi_trace.c: In function &amp;#39;get_gpiote&amp;#39;:
.../nrf/subsys/debug/ppi_trace/ppi_trace.c:56:22: error: unknown type name &amp;#39;nrfx_gpiote_t&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;.../nrf/subsys/debug/ppi_trace/ppi_trace.c:129:13: error: too many arguments to function &amp;#39;nrfx_gpiote_channel_alloc&amp;#39;
  129 |         if (nrfx_gpiote_channel_alloc(gpiote, &amp;amp;channel) != NRFX_SUCCESS) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
.../modules/hal/nordic/nrfx/drivers/include/nrfx_gpiote.h:185:12: note: declared here
  185 | nrfx_err_t nrfx_gpiote_channel_alloc(uint8_t * p_channel);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK 2.6.0.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: verifying 32kHz crystal accuracy</title><link>https://devzone.nordicsemi.com/thread/442299?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 12:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4834fd0c-0893-4492-bc5f-1c0f2282e830</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&lt;span&gt;This timer will be based on the 32.768kHz crystal, correct? &amp;#39;&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;yes LF 32.768 KHz is correct, if you just use PPI to toggle a GPIO pin on every RTC click,&amp;nbsp;not a timer like this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is a sample in NCS that can be used for testing this (&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/samples/debug/ppi_trace/readme.html" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/debug/ppi_trace/README.html" rel="noopener noreferrer" target="_blank"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/debug/ppi_trace/README.html&lt;/a&gt;)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>