<?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>nRF52832 32MHz / 32KHz CLOCK to GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95863/nrf52832-32mhz-32khz-clock-to-gpio</link><description>Hello, 
 I am primarily an STM32 user, delving into Nordic. I will be creating a product using the nRF52832. I would like to measure the 32MHz &amp;amp; 32KHz clock inputs to the MCU, how would I go about doing this? 
 On the STM32WB, it is possible to send the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Aug 2024 13:59:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95863/nrf52832-32mhz-32khz-clock-to-gpio" /><item><title>RE: nRF52832 32MHz / 32KHz CLOCK to GPIO</title><link>https://devzone.nordicsemi.com/thread/499232?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 13:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d58db96-bffc-4a7f-a4e3-31ee1b24d7a3</guid><dc:creator>Fred@Eur-Ohm</dc:creator><description>&lt;p&gt;Hello Bendik,&lt;/p&gt;
&lt;p&gt;I have exatly the same question as Shabin excepted I am using a nrf52840.&lt;/p&gt;
&lt;p&gt;Is there an update for your answer ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any other new solution to check the real clock frequency now (2 years later !) ?&lt;/p&gt;
&lt;p&gt;The main aim is to fine tune our antenna rf adaptation filters according to the real frequency.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Fred Prin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 32MHz / 32KHz CLOCK to GPIO</title><link>https://devzone.nordicsemi.com/thread/405656?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 12:07:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32804cfb-27d7-430b-97b5-6fb3b00a8921</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;Quick reply!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the 32K this suggestion is perfect. To further understand the 32MHz accuracy testing, I will have to wait for the boards to be made for me to implement this example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Shahin Haque&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 32MHz / 32KHz CLOCK to GPIO</title><link>https://devzone.nordicsemi.com/thread/405635?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 10:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed133054-45eb-4598-964c-1ba7308a460e</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi Shahin,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not possible to send the 32MHz clock to a GPIO pin. The way we measure the accuracy of the 32MHz clock is to use the radio. The accuracy of the carrier signal is directly dependent on the accuracy of the 32MHz crystal. By configuring the radio to transmit a unmodulated carrier on 2440MHz the frequency offset of the radio/32MHz crystal can be measured using a spectrum analyzer. The radio test sample can be used to configure the radio for this measurement.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html#radio-test"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html#radio-test&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The best method for measuring the accuracy of the 32.768kHz crystal is to configure a GPIO pin to toggle on each RTC tick using PPI. This will result on a square wave of half the LF crystall frequency. The PPI trace sample can be used for this testing:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/debug/ppi_trace.html#ppi-trace"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/debug/ppi_trace.html#ppi-trace&lt;/a&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>