<?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>Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66112/best-possible-strategy-for-deep-sleep-and-awakening</link><description>Hello, 
 I&amp;#39;m working on NRF9160-DK. I would like to be able to put the card to sleep in the deepest sleep possible to be able to save as much energy as possible and to wake it up if the state of one of my 3 inputs changes (button press, accelerometer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Oct 2020 08:41:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66112/best-possible-strategy-for-deep-sleep-and-awakening" /><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/277297?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 08:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2f84d65-2ef5-4490-8c75-6b0f010d2a6c</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, Hugo!&lt;br /&gt;&lt;br /&gt;No worries. The current consumption during lte_lc_offline() and lte_lc_power_off() both reflect the power consumption during PSM (~2.7µA). In addition you can call bsdlib_shutdown() to achieve ~2.35µA. Note that when powering of the modem will also save configuration to flash which will consume some power. Starting up again will also consume some power. I recommend sticking to lte_lc_offline() when PSM is unavailable.&lt;br /&gt;&lt;br /&gt;To be clear: you can then expect a total SIP power consumption of ~2.7µA.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If your request PSM you can use &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cereg.html"&gt;AT+CEREG&lt;/a&gt; afterwards to see if the network granted the desired values. If PSM isn&amp;#39;t available the&amp;nbsp;Periodic-TAU will be 11100000 (which means that it&amp;#39;s disabled).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What do you mean by this? That the nRF9160 should be powered by the nRF52840, or by the same power supply hardware? Anyways, you can expect much higher peak currents from the nRF9160 compared to the nRF52840, meaning that the power supply must be adapted to this. I suggest taking a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/nwp_037/WP/nwp_037/nwp_037_intro.html"&gt;nRF9160 Hardware Design Guidelines&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As well as the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/intro.html"&gt;HW design of the nRF9160 DK&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/277093?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 10:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e278ae06-7333-401b-883f-f0ffe456be00</guid><dc:creator>lecozahu</dc:creator><description>&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span title=""&gt;Hello again ! &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span title=""&gt;I just have one last question, the current consumption indicated in MCUON1 (2.35&amp;micro;A), is well calculated for with k_sleep (I&amp;#39;m sure now) combined with the function lte_lc_offline () or with lte_lc_power_off ().&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span title=""&gt;I am sorry to insist but I have to be sure for the specification of the product.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span title=""&gt;Also, I would like to have the choice between PSM (24h standby) and modem off if PSM is not available.&lt;/span&gt; &lt;span class="" title=""&gt;Is there a way to test on the board if the psm is available (depending on the netwok) or should I use: lte_lc_psm_req and see if there is an error?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="" title=""&gt;Last question, can the power supplier of the NRF5284 go on the NRF9160DK?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="" title=""&gt;Thanks in advance,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Best regards, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Hugo LE COZANNET &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/275959?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 13:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb80e9fb-3cfb-4819-a793-ee02e7fafee6</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again!&lt;br /&gt;&lt;br /&gt;I see. For the nRF9160 system ON mode is what I recommend! When entering sleep in k_sleep(...) is usually the way to go. When all threads are sleeping the application will enter an idle thread and go to System ON sleep.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can read more about the Zephyr power management module in the &lt;a href="https://docs.zephyrproject.org/latest/reference/power_management/index.html"&gt;documentation&lt;/a&gt;. It also contains info about device power management. However, we do not have a specific example showing all of this functionality, but I recommend looking at the customer code in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/61383/low-power-ble-advertising-with-zephyr-on-nrf52840-is-it-supported"&gt;this thread&lt;/a&gt;. This demonstrates how System ON mode can be used together with BLE functionality.&lt;br /&gt;&lt;br /&gt;Reach out if you wonder more about this.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/275760?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 07:15:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1381ab3-d9d1-4259-87a6-626b01c14db5</guid><dc:creator>lecozahu</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span title=""&gt;I have read several things since this message and I understand that the system ON is activated with WFE () and WFI () but one wakes up on an event or an interrupt and the other only on the interrupt (&lt;/span&gt; &lt;span title=""&gt;WFI).&lt;/span&gt; &lt;span title=""&gt;So does WFI wake up on an RTC interrupt? I&lt;/span&gt;&lt;span class="" title=""&gt;s the RTC what we see in the screenshot as MCUON1? Do you have an example of use of MCUON1 and wake up with RTC timer ? &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;br /&gt;&lt;span class="" title=""&gt;Thank you in advance.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Best regards, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/275668?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 14:03:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5054126-0c93-4b08-9680-895de4d088d7</guid><dc:creator>lecozahu</dc:creator><description>&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span title=""&gt;Hello,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;br /&gt;&lt;span class="" title=""&gt;I am more interested in the ON system.&lt;/span&gt;&lt;br /&gt;&lt;span class="" title=""&gt;I have the impression that there are several ways to switch to &amp;quot;System ON&amp;quot;: k_cpu_idle (), k_sleep (..) and sd_app_evt_wait (), WFE / WFI.&lt;/span&gt; &lt;span title=""&gt;Is there one better than the other?&lt;/span&gt; &lt;span class="" title=""&gt;I would like to save as much energy as possible and wake up either on a timer or an interruption.&lt;/span&gt;&lt;br /&gt;&lt;span class="" title=""&gt;Moreover, if I understood correctly, he wakes up at the slightest task.&lt;/span&gt; &lt;span class="" title=""&gt;Is there a way to know if all the processes are stopped? Do you have an example ? &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Best regards, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/275392?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 13:35:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ac122d9-009a-4b95-8055-3feb83751966</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;No problem! Glad to hear that I could help!&lt;br /&gt;&lt;br /&gt;Have a nice weekend.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/275345?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 12:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8088592f-b3a4-4e32-88f4-ba434a713883</guid><dc:creator>lecozahu</dc:creator><description>&lt;p&gt;Hello !&lt;/p&gt;
&lt;p&gt;I forgot to answer... I&amp;#39;m sorry !!&lt;/p&gt;
&lt;p&gt;Thank you very much for your help, it helps me a lot&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Hugo LE COZANNET&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/271450?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 08:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccc9f683-bd92-4a37-85b7-73cdee09bdc7</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, again!&lt;br /&gt;&lt;br /&gt;Good to hear that the answers were helpful. In System OFF mode only Reset and GPIO can wake up the device, the RTC is unavailable. As seen in the current consumption specifications I added in my previous comments the RTC is available as a wake up source, with a resulting minimum of 2.35µA.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;System ON mode is not to be confused with PSM, which is a feature of the modem. The current used during PSM will add to the current used by the MCU. From our tests you can expect ~7µA with PSM in combination with System ON. Note that the modem in this case maintains connection to the network, saving power and time costs when waking up. My fellow engineer, Håkon, has done a quite good explanation of the Low Power modes in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52450/nrf9160-low-power-modes---entering-and-measuring-current"&gt;this thread&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Hope this is helpful!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/271374?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 14:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e190af-e34d-4ece-a23f-9fa55fad8a6b</guid><dc:creator>lecozahu</dc:creator><description>&lt;p&gt;Thank you for your help, y&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;our answer helped me a lot.&lt;/span&gt;&lt;br /&gt;&lt;span class="" title=""&gt;However I still have one or two questions, can we wake up with an RTC timer in the off system?&lt;/span&gt;&amp;nbsp;&lt;span class="alt-edited" title=""&gt;&lt;span class="" title=""&gt;it&amp;#39;s noted&lt;/span&gt; that there &amp;#39;can wake up only with the GPIOs and a reset but I want to be sure.&lt;/span&gt; &lt;span class="" title=""&gt;If you can&amp;#39;t, what is the minimum level allowing a revival with an RTC timer and a GPIO interrupt? Is that PSM&amp;nbsp; ? &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Best regards, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Lecozahu&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best possible strategy for deep sleep and awakening</title><link>https://devzone.nordicsemi.com/thread/270780?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 09:50:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a489f1-65ff-4082-8299-79981ca5ce92</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, Lecozahu!&lt;br /&gt;&lt;br /&gt;It is possible to set the device in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/pmu.html?cp=2_0_0_4_0_0_1#system_off_mode"&gt;System OFF mode&lt;/a&gt;, being the deepest internal power saving mode. In this mode it&amp;#39;s possible to wake the device through GPIO peripherals. However, in most cases I will recommend using power saving mode (PSM), if that is available from your network provider. This puts the modem in sleep, enabling low power operation. Interrupts can then be used to wake the device from PSM for transmissions.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/hardware-design/posts/measuring-psm-idle-current-on-the-nrf91-dk"&gt;This blogpost&lt;/a&gt;&amp;nbsp;may be helpful with regards to how PSM is used (there they use k_sleep()).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The reason I recommend PSM is that waking up from System OFF mode takes a long time, and consumes quite a lot of power as the connection to the LTE network has to be established again.&lt;br /&gt;&lt;br /&gt;For wake up on interrupts you can also take a look at&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49607/nrf9160-wake-up-from-button-interrupt-not-working"&gt;this thread&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The expected power consumption for the different modes are shown in the pictures below. Note that the floor current may vary with nRF9160 SiP generation and other factors.&lt;/p&gt;
&lt;p&gt;Modem:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b29f0344dbe2483ea0000c343b6d2732/pastedimage1600767724954v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;System OFF:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b29f0344dbe2483ea0000c343b6d2732/pastedimage1600767737083v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Hope this is helpful!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>