<?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>Beginner&amp;#39;s questions on nRF51822 timers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7389/beginner-s-questions-on-nrf51822-timers</link><description>I have two questions: 
 Question 1 :
What is the timer timeout limit on nRF51822? 
 The reason I ask is that I want to update the advertising packet periodically. Below are part of the related code in main.c: 
 #define APP_TIMER_PRESCALER 0
#define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2015 14:27:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7389/beginner-s-questions-on-nrf51822-timers" /><item><title>RE: Beginner's questions on nRF51822 timers</title><link>https://devzone.nordicsemi.com/thread/26272?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 14:27:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1110824e-1fe3-4c8e-a347-64cf483adc07</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi diode&lt;/p&gt;
&lt;p&gt;First question: the application timers use RTC1 in the background.&lt;/p&gt;
&lt;p&gt;Second question: Yes, that is correct, you can only wake up from System Off with reset, from GPIO or with the LPCOMP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner's questions on nRF51822 timers</title><link>https://devzone.nordicsemi.com/thread/26271?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 01:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:042da347-dbba-4d1f-b2a5-9fcd8a17eefd</guid><dc:creator>diode</dc:creator><description>&lt;p&gt;Thanks for your reply. For the first question, I realize the RTC is 24-bit, which makes sense in terms of my  observation. I am still a little confused about the RTC vs Timer. What timer sources do those application timers use? I think they are two different things. For the second question, I probably meant the System Off mode. I thought it could be waken up by some internal interrupt (e.g. RTC), but it seems the only option will be GPIO event or a reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner's questions on nRF51822 timers</title><link>https://devzone.nordicsemi.com/thread/26270?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 00:06:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3698ed0d-5a8f-4dba-9b91-5387af830659</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand your first question because I&amp;#39;m not sure you actually asked a question. The limits on RTC for a given prescalar are in table 149 of the nRF51 series reference manual and yes at 0 the max is 512 seconds. APP_TIMER_TICKS() doesn&amp;#39;t check for overflow, and you&amp;#39;re overflowing it.&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;#39;deep sleep&amp;#39; mode? No such mode is defined in the manual. There is System On - which has two different sleep modes, low power and low latency, both of which can be exited by a timer interrupt and there&amp;#39;s System Off where the entire chip, including timers, is off and can only be woken up from a pin event or a reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>