<?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 to check nRF52840 CPU frequency ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20883/how-to-check-nrf52840-cpu-frequency</link><description>Hi
I am working with nRF52840 , since it is said that it can work on 64Mhz, i just want to confirm by using Oscilloscope. 
 You have any inputs that how i can check the frequency accurately? 
 Thanks and Regards
R Madhu.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Mar 2017 07:06:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20883/how-to-check-nrf52840-cpu-frequency" /><item><title>RE: How to check nRF52840 CPU frequency ?</title><link>https://devzone.nordicsemi.com/thread/81550?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 07:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c178b607-ba1e-4b86-b89b-4d987444794a</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;You mean how you can see if it is the internal RC oscillator or the external crystal that is running? You will probably see a significant deviation from 16.000Mhz on your LED pin when running on the RC oscillator, while the crystal should be quite accurate. You can also read the NRF_CLOCK-&amp;gt;HFCLKSTAT register to see which clock source you are using. One of them is always being used when the CPU is doing something.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to check nRF52840 CPU frequency ?</title><link>https://devzone.nordicsemi.com/thread/81549?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 06:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3816e2fc-4861-47e2-9228-bdf0eb30c6d3</guid><dc:creator>madhu</dc:creator><description>&lt;p&gt;Thank you Martin,
I have toggled an LED directly writing in to the registers, putting in a while loop and I am able to see 16MHz clock. But how can I make sure that HFCLK of 64MHz is enabled or not??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to check nRF52840 CPU frequency ?</title><link>https://devzone.nordicsemi.com/thread/81548?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 14:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ca23bf-2312-4fc8-9057-ba0af4506494</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The best way is probably to use a timer, PPI, and a GPIOTE channel to toggle a pin. The Timer base frequency is 16MHz so that means you can toggle a pin at 16MHz, and get an 8MHz signal out that you can measure on. The timer and CPU use the same system clock so this should give you what you need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>