<?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>Aplication Timer Library, BSP and Power Management Library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58455/aplication-timer-library-bsp-and-power-management-library</link><description>Hi, 
 I&amp;#39;m writting a simple test code that uses the aplication timer library (app_timer) to wake up from SystemON Idle mode to SystemOn mode every 1 minute. The idea is to stay 1 minute in SystemOn Idle to save power. 
 An app_timer, as far as I know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Feb 2020 16:18:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58455/aplication-timer-library-bsp-and-power-management-library" /><item><title>RE: Aplication Timer Library, BSP and Power Management Library</title><link>https://devzone.nordicsemi.com/thread/237211?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 16:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1da82a5-08b4-4fff-84d7-88c7e82e226f</guid><dc:creator>Jose Forno</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Sorry for my confusing question :). You get the idea anyway. My doubts about app_timer are clarified. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aplication Timer Library, BSP and Power Management Library</title><link>https://devzone.nordicsemi.com/thread/237186?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 14:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed25cf8-2bac-469d-a52b-d7d7d1b09326</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jose,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand what you meant by &lt;em&gt;&amp;quot;&amp;nbsp;if every time my app_timer event handler is called, the library&amp;nbsp;internally &amp;quot;produces&amp;quot;&amp;nbsp;multiple interrupt events from the RTC1. So, the CPU won&amp;#39;t be waking up every minute, but multiple times in that minute (because RTC1 events). Is this assumption correct?&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Why whould the library produce multiple interrupt for a single event ? The way the app timer work is to use the CC register to set to the next event timing. When you have multiple app_timers registered, the CC register will be set to the event of the closest app_timer and so on.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So if you you have a timer of 1 minute, the CPU will be woken up every 1 minute. If you have another timer at 0.5 minute, the CPU will be woken up every half a minute and every 1 minute for the other timer so it can be less than 0.5 minute between the 2 times the CPU woken up.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>