<?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>Known Problems with Deep Sleep on the NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107125/known-problems-with-deep-sleep-on-the-nrf52840</link><description>Hello, 
 
 Currently, we are using the NRF52840 chip, S113, and SDK v17. We are receiving customer complaints that the NRF52840 is being delivered to the user with the system on. In manufacturing, we put the system into deep sleep (&amp;quot;system OFF&amp;quot;) and only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jan 2024 13:30:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107125/known-problems-with-deep-sleep-on-the-nrf52840" /><item><title>RE: Known Problems with Deep Sleep on the NRF52840</title><link>https://devzone.nordicsemi.com/thread/463764?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 13:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:969dfa63-1040-4e92-a182-1c9bbcb45675</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The RESETREAS register, in the case of a full power on reset, will be 0x0.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Known Problems with Deep Sleep on the NRF52840</title><link>https://devzone.nordicsemi.com/thread/463244?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 23:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8998e7c2-0a03-4db0-a70d-e52726a41a88</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;So if a poor or intermittent battery contact is happening, which reset vector would be expect to see?&lt;/p&gt;
&lt;p&gt;&amp;quot;RESETPIN&amp;quot; ?&lt;/p&gt;
&lt;p&gt;&amp;quot;OFF&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Known Problems with Deep Sleep on the NRF52840</title><link>https://devzone.nordicsemi.com/thread/462830?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 09:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01d72727-f308-4d48-9118-575e0b513538</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this something you have been able to reproduce? What first comes to my mind is that if you have had a power cycle, the chip will turn on. This may happen if the battery has a bad contact, and the device is dropped, it may experience a power cycle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are able to reproduce this, you can check the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_6_10#register.RESETREAS"&gt;reset reason register&lt;/a&gt;&amp;nbsp;(0x40000400).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can add this to the start of your application to check:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t reset_reason = NRF_POWER-&amp;gt;RESETREAS;
NRF_LOG_INFO(&amp;quot;Reset reason: %08x&amp;quot;, reset_reason);
NRF_POWER-&amp;gt;RESETREAS = reset_reason; // write the bits that you want to reset, because this register is sticky between resets.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The reset reason register will either way give some hints on what started/reset the device. If the issue poor battery contact, causing some devices to experience power cycles during shipping, you may use this register to only power on if the reset reason is a button press. If it is something else, and perhaps particularly a power on reset, you can tell the application to go back to system off.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>