<?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>nRF52840 - Lowest consumption while being able to wake from timer ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62089/nrf52840---lowest-consumption-while-being-able-to-wake-from-timer</link><description>How to achieve the lowest power consumption while &amp;quot;sleeping&amp;quot; but still being able to awake from an internal timer ? 
 For the timer I&amp;#39;m using the Ticker class from mbed...</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jun 2020 10:16:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62089/nrf52840---lowest-consumption-while-being-able-to-wake-from-timer" /><item><title>RE: nRF52840 - Lowest consumption while being able to wake from timer ?</title><link>https://devzone.nordicsemi.com/thread/253235?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 10:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68a32d76-cb8d-41b8-9c31-035b321ef969</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&amp;quot;Deep sleep&amp;quot; (&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html#unique_1227688711"&gt;System OFF mode&lt;/a&gt;) is not possible with wake on RTC. In this mode, all clock sources are turned off, and a wakeup from one of the supported sources (RESET, GPIO, LPCOMP, NFC, USB) will trigger a reset. How to enter System ON idle mode depends on the system you are using. In our SDK we use the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When softdevice is not present/disabled: Call to __WFE() will enter sleep mode.&lt;/li&gt;
&lt;li&gt;When softdevice is enabled: Call to sd_app_evt_wait() will enter sleep mode.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These are typically called in a loop in main(), to enter sleep whenever CPU is not required for other tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - Lowest consumption while being able to wake from timer ?</title><link>https://devzone.nordicsemi.com/thread/253232?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 10:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afcbbab6-2762-4bcb-b1f2-33dcb1985927</guid><dc:creator>pjrebordao</dc:creator><description>&lt;p&gt;In the meantime I checked that the mBed implementation for my board&amp;nbsp; (Arduino Nano 33 BLE) is very lacking, so I&amp;#39;m willing to bypass mBed.&lt;/p&gt;
&lt;p&gt;So, how to make the board enter &amp;quot;deep sleep&amp;quot;, while maintaining the capability to wake up from the RTC ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - Lowest consumption while being able to wake from timer ?</title><link>https://devzone.nordicsemi.com/thread/252947?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 09:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba7b056-7c94-4bbe-9b3f-c271b31df199</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The lowest possible current with wake on timer is in system ON mode with RTC running and RAM retention turned off (1.5 uA - see&amp;nbsp;&lt;a title="Sleep" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/_tmp/graviton/autodita/CURRENT/parameters.i_sleep.html?cp=4_0_0_4_1_0_0"&gt;Sleep&lt;/a&gt;). It looks like the &lt;a href="https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_NORDIC/TARGET_NRF5x/lp_ticker.c"&gt;lp_ticker implementation&lt;/a&gt; for nRF5x in mbed uses the RTC, but I&amp;#39;m not sure if this is what&amp;#39;s used by the Ticker Class. I&amp;#39;m also not sure if mbed has any APIs for turning off RAM retention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general, we do not provide support for mbed anymore. You may direct your questions to the &lt;a href="https://os.mbed.com/forum/"&gt;mbed forum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>