<?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>useing timer as a counter</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12815/useing-timer-as-a-counter</link><description>hi, i am getting a lot of help in here, thanks a lot 
 i&amp;#39;m using SDK 6.0.0 for my project. and i want to use timer as a counter like as the title. 
 then, i fount the app_timer_cnt_get which can get current RTC1 value. 
 but there are some problems</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Mar 2016 15:52:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12815/useing-timer-as-a-counter" /><item><title>RE: useing timer as a counter</title><link>https://devzone.nordicsemi.com/thread/48701?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 15:52:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad77500-73d4-4693-85d2-1a055377ca5c</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The RTC timer uses the 32.768kHz clock (sometimes references as the 32kHz clock), so with prescaler 0 it will only count 32768 times per second. I would suggest reading the RTC chapter (19) in the &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf"&gt;Reference Manua&lt;/a&gt;l to get a more thorough understanding of the RTC.&lt;/p&gt;
&lt;p&gt;Also be aware that app_timer will clear the timer sometimes, so if app_timer_cnt_get() is called two consecutive times the second value may be lower than the first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>