<?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 timer wakeup from lowest possible power mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126028/nrf52840-timer-wakeup-from-lowest-possible-power-mode</link><description>Hi 
 
 I have a nRF52840 setup with external 32 kHz xtal and external 32 MHz xtal, supplied by 3.3V. 
 I would like the system to be in as low power mode as possible. 
 Each x seconds it should wake up, do something and go back to as low power mode as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Dec 2025 15:00:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126028/nrf52840-timer-wakeup-from-lowest-possible-power-mode" /><item><title>RE: nRF52840 timer wakeup from lowest possible power mode</title><link>https://devzone.nordicsemi.com/thread/556578?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 15:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb87cce2-7e30-471a-9f27-0eff884101da</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Mikael,&lt;/p&gt;
&lt;p&gt;The lowest possible idle current can be achieved by system OFF from which you can wake up from a GPIO. However, the problem with system OFF is that wakeup is in form of a reset, so this is not suitable for all applications (as full re-initialization is also needed, most applications do not benefit from this). That said,&amp;nbsp;it is demonstrated in &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/boards/nordic/system_off/README.html#nrf_system_off"&gt;this sample&lt;/a&gt;&amp;nbsp;assuming you use nRF Connect sDK.&lt;/p&gt;
&lt;p&gt;I am not sure what you refer to by &amp;quot;the framework&amp;quot;, but if what you&amp;nbsp;mean without an SDK you can in principle configure the GPIO pin to wake with SENSE mechanism, and then enter system off using&amp;nbsp;nrf_gpio_cfg_sense_set() and then enter sytem off with &amp;quot;&lt;span&gt;NRF_POWER-&amp;gt;SYSTEMOFF = 1;&amp;quot;. But if you use nRF Connect SDK you should do as above, and if using the old nRF5 SDK with SoftDevice, you should use&amp;nbsp;sd_power_system_off() (there are severeal examples if this in the SDK).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Most applications will use system ON low power mode as the only low power mode. That is the normal sleep mode and does not need any special attention, as most SDK examples use it already. You would only need to configure the interrupt pin. Note that for low power GPIO interrupts, you should use the sense mechanism. Assuming nRF Connect SDK, you can configure sense for a pin by setting the pin in the&amp;nbsp;&lt;span&gt;sense-edge-mask for the GPIO port, as you see an example of &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/d65654518f1837a40c0b12cf98ece0b961e90605/tests/drivers/gpio/gpio_basic_api/boards/nrf52840dk_nrf52840_sense_edge.overlay"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can see expected current consumption under different sleep modes and wakeup sources &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/_tmp/nrf52840/autodita/CURRENT/parameters.i_sleep.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you need further assistance, please let me know which SDK version you use, and prefrably also share the code you have that does not work (and explain in what way it does not).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>