<?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>Timer in counter - reading 0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108544/timer-in-counter---reading-0</link><description>Hi 
 I tried to program a simple dual frequency meter - TIMER3 as gate, and TIMER1 and TIMER2 counting external signals on pins 
 I do not know why this didn&amp;#39;t count - reading always 0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Feb 2024 12:21:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108544/timer-in-counter---reading-0" /><item><title>RE: Timer in counter - reading 0</title><link>https://devzone.nordicsemi.com/thread/470448?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 12:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fbb0068-7b88-4127-97b9-a11e93fb3130</guid><dc:creator>mkoniarz</dc:creator><description>&lt;p&gt;Great - it works :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer in counter - reading 0</title><link>https://devzone.nordicsemi.com/thread/470444?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 12:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e99c0b89-5795-4ad8-b2fe-972f9ec9812c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for sharing.&lt;/p&gt;
&lt;p&gt;There were some issues:&lt;/p&gt;
&lt;p&gt;* incompatible types when init&amp;#39;ing your gpiote channel&lt;/p&gt;
&lt;p&gt;* Not enabling GPIOTE IN event&lt;/p&gt;
&lt;p&gt;* TIMERs 1/2 was not configured as COUNTER mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the fixed version:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/322552.zip"&gt;devzone.nordicsemi.com/.../322552.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you try this and see if it works now?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer in counter - reading 0</title><link>https://devzone.nordicsemi.com/thread/470301?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 14:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:320f15ef-3ea7-4749-8ccf-2d574eba368a</guid><dc:creator>mkoniarz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sbox.zip"&gt;devzone.nordicsemi.com/.../sbox.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NCS 2.5.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer in counter - reading 0</title><link>https://devzone.nordicsemi.com/thread/470278?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 13:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da63fe5b-3aef-41d6-b3a4-cdb4ea71413b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1: Which NCS version are you using?&lt;/p&gt;
&lt;p&gt;Q2: Can you .zip the project and share it? Right now, there&amp;#39;s pin definitions from DT that are missing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>