<?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>Interrupt Based Pulse Counter on nRF52833 dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99215/interrupt-based-pulse-counter-on-nrf52833-dk</link><description>Hi, 
 i am using nrf connect extension in vs code with Zephyr os version v3.2.99-ncs2 , our Application requirement to measure the pulse count duration. pulses are given at interrupt pin of nrf52833. are there any input capture mode to calculate frequency</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 May 2023 12:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99215/interrupt-based-pulse-counter-on-nrf52833-dk" /><item><title>RE: Interrupt Based Pulse Counter on nRF52833 dk</title><link>https://devzone.nordicsemi.com/thread/423991?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 12:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa7eb30-04a7-4d0f-bc8b-e276f89f728f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Glad I could help Abhishek. The best of luck with your project &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Based Pulse Counter on nRF52833 dk</title><link>https://devzone.nordicsemi.com/thread/423886?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 05:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1893d332-dc26-4105-8b58-0111ca8040b6</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;HI&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your response . it is very useful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards Abhishek&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Based Pulse Counter on nRF52833 dk</title><link>https://devzone.nordicsemi.com/thread/423304?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 12:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d956eca-7479-4650-8e14-e6ed9875c973</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To calculate the frequency you just have to divide the pulse count with the measurement time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example, if you measure every 100ms just divide the count by 0.1, which is the same as multiplying by 10.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the measurement time is one second then the pulse count and the frequency is the same, and no conversion is required.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that the accuracy of this method&amp;nbsp;is poor if the pulse count value is small, and you need to adjust the measurement interval according to the expected range of pulses in your application (the lower the pulse count the higher measurement interval you need, generally speaking).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Based Pulse Counter on nRF52833 dk</title><link>https://devzone.nordicsemi.com/thread/423228?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 09:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34329f7c-145d-4e1c-a806-5e0d94814466</guid><dc:creator>starkAbhi</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;thanks for Providing the Pulse counter example. its working fine. how can i calculate the frequency from pulse count?&amp;nbsp; could you please guide me through code? what kind of changes are required to calculate frequency?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Based Pulse Counter on nRF52833 dk</title><link>https://devzone.nordicsemi.com/thread/423189?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 07:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49deaf73-f97c-4603-be08-19a7be854f02</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I made a small pulse counter example some time ago, and you can find it &lt;a href="https://github.com/too1/ncs-nrfx-pulse-count-example"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you read the pulse count at a fixed interval you can use that to calculate the frequency.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have any questions or comments regarding the example please let me know, and I will do my best to help &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>