<?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>having trouble capturing from timer2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57541/having-trouble-capturing-from-timer2</link><description>I just want timer2 to run at 1Mhz so I can grab a microsecond counter as a timestamp. I don&amp;#39;t care that it&amp;#39;ll overflow after 32 bits. Put together what I thought should be a simple piece of code, but my captured value in CC[0] is always zero. 
 Thoughts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Feb 2020 15:50:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57541/having-trouble-capturing-from-timer2" /><item><title>RE: having trouble capturing from timer2</title><link>https://devzone.nordicsemi.com/thread/233348?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 15:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98cce729-0e65-460d-b93d-1365b113aa9c</guid><dc:creator>Rob Philip</dc:creator><description>&lt;p&gt;This is why it&amp;#39;s dangerous working when one is very tired. Set mode to &amp;quot;timer&amp;quot; and everything works perfectly. Thanks &amp;amp; have a good weekend!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: having trouble capturing from timer2</title><link>https://devzone.nordicsemi.com/thread/233331?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 14:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:209bf4eb-38aa-4108-ac61-32208963505c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You need to be in the Timer mode and not in the counter mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Select the mode to be correct.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_TIMER2-&amp;gt;MODE = 0;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>