<?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>Putting the nRF51-DK to sleep periodically</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23022/putting-the-nrf51-dk-to-sleep-periodically</link><description>Hi, 
 I am using the capacitive sensing driver example given in the SDK(version 12.3) and it works fine. I want to extend the code to ensure that the SoC goes to sleep for 60 seconds and then wakes up for just one or two seconds to take measurements</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 25 Jun 2017 09:43:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23022/putting-the-nrf51-dk-to-sleep-periodically" /><item><title>RE: Putting the nRF51-DK to sleep periodically</title><link>https://devzone.nordicsemi.com/thread/90578?ContentTypeID=1</link><pubDate>Sun, 25 Jun 2017 09:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe554e9e-2d8e-41fa-8872-e8fd9b6432d7</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi, in case you don&amp;#39;t use SoftDevice then you could employ both RTC blocks on nRF51. But more likely you cannot, then usual solution is to use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/lib_timer.html?cp=4_0_1_3_33"&gt;Nordic &lt;code&gt;app_timer&lt;/code&gt; library&lt;/a&gt; which allows &amp;quot;almost infinite&amp;quot; number of independent &amp;quot;timers&amp;quot; all living on top of single HW peripheral RTC block tick (this is quite common trick used in pretty much every embedded application). See nRF5 SDK for more, it&amp;#39;s used in dozens of examples there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting the nRF51-DK to sleep periodically</title><link>https://devzone.nordicsemi.com/thread/90577?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 12:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c7139c2-59c2-4379-8ac0-5f1e32d4e517</guid><dc:creator>Ehsan</dc:creator><description>&lt;p&gt;Hi Jan, The code I currently have makes use of the RTC to trigger ADC sampling. Is it possible to have multiple instances of the RTC simultaneously or would I have to reconfigure it during run-time? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting the nRF51-DK to sleep periodically</title><link>https://devzone.nordicsemi.com/thread/90576?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 11:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdab63d1-fa5b-4271-a6c7-a2025cf8cbc2</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Ehsan,&lt;/p&gt;
&lt;p&gt;nRF5x chips support two power saving modes: SLEEP and SYSTEM OFF. The first one is basically used in every  application when there is nothing to process. System is then waiting for event and that can be timer interrupt or anything else. If you really want to go beyond that to nA range of SYSTEM OFF then you have problem with periodical wake-up because nRF5x chips don&amp;#39;t have any clock capability in SYSTEM OFF. It can be woken up by external trigger so you would need to generate it from other MCU (if you have it in your system) or you would need to go for some discrete low power RTC which you set from nRF5x before setting it to SYSTEM OFF and it will wake it back by GPIO pulse.&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>