<?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>Maximum count speed of timer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83156/maximum-count-speed-of-timer</link><description>I am trying to measure the frequency of the square wave on the ARDUINO_6_PIN on the NRF52840 Dev Kit. It seems like it works well until the square wave goes above 2MHz. Is this the maximum speed that this method can achieve or is there something else</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Dec 2021 18:47:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83156/maximum-count-speed-of-timer" /><item><title>RE: Maximum count speed of timer</title><link>https://devzone.nordicsemi.com/thread/345296?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 18:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e50cf5c-25f0-44a0-a47d-e7bbb2dcd6a6</guid><dc:creator>Donovan</dc:creator><description>&lt;p&gt;Oops I linked the wrong files, I think those are the original example files.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/27413.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../27413.sdk_5F00_config.h&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2330.main.c"&gt;devzone.nordicsemi.com/.../2330.main.c&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That should be the updated ones, but your reply seems to agree with my findings.&amp;nbsp;&lt;span&gt;&amp;ldquo;If you have e.g. a 50% duty-cycle then max frequency will be 16 MHz / (3 low periods + 3 high periods) = 2.67 MHz.&amp;rdquo; Thanks for the response, I think I will have to figure out a different way to measure that signal.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum count speed of timer</title><link>https://devzone.nordicsemi.com/thread/345261?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 14:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a575ce91-65a4-4cb2-9f1f-40d21cc4081b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Donovan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume the code you provided is only the code to generate the square wave ?&amp;nbsp;&lt;br /&gt;Could you also provide the code where you capture the square wave and measure using a counter ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We have a similar question long ago and one of our engineer calculated the theoretically maximum capture speed of the GPIOTE &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23514/max-freqency-gpiote-event-ppi-to-counter"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>