<?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>How can I get the exact time in standby mode with 24LE1?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12174/how-can-i-get-the-exact-time-in-standby-mode-with-24le1</link><description>hi, I am a beginer with 24le1. as we know, when the chip in standby mode, it can be waken up by rtc2 or RF interrupt. 
 
 
 if it is waken by RF, how do I know how long has passed in standby mode? on the other words, how do i get the current counter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Feb 2016 11:55:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12174/how-can-i-get-the-exact-time-in-standby-mode-with-24le1" /><item><title>RE: How can I get the exact time in standby mode with 24LE1?</title><link>https://devzone.nordicsemi.com/thread/46067?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 11:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88d20b47-2159-4f59-880e-5ea84a175b21</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;There is no specific function for time-keeping by-default, so you have to make your own.
In order to keep time between given events, I would recommend using the RTC as a time-keeper.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The RTC will keep running until it hits it&amp;#39;s set value in RTC2CMPx if field CompareMode in register RTC2CON is set to &amp;#39;11&amp;#39;. If this field is set to &amp;#39;10&amp;#39;, the timer will not clear.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This is regardless of wakeup-source from &amp;quot;Standby Mode&amp;quot;.&lt;/p&gt;
&lt;p&gt;If you look at the nRFgo SDK, there&amp;#39;s a HAL layer written for the RTC located here:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;\nRFgo SDK 2.3.0.10040\source_code\hal\nrf24le1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>