<?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>NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81515/nrf9160-watchdog-enable-during-system-off</link><description>Hi, 
 
 I have a firmware which need to transit to System-OFF under certain conditions. The startup code of the firmware enables the watchdog timer, which can&amp;#39;t be disable once started (register are not available anymore according to NRF9160 specifications</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Nov 2021 09:55:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81515/nrf9160-watchdog-enable-during-system-off" /><item><title>RE: NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/thread/339176?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 09:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8c270a2-34e0-4fa1-8f3c-f67cee8d442f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Loumay!&lt;/p&gt;
&lt;p&gt;Great! And thanks for letting me and the others who might find this thread later know!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/thread/339062?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 14:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54fd42d2-28b0-43be-a748-840b8149bf9a</guid><dc:creator>loumay</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thanks again for your support.&lt;/p&gt;
&lt;p&gt;I found out that my issue was due to the modem not turned off properly before requesting System-OFF.&lt;/p&gt;
&lt;p&gt;A power measurement helps me to figure this out.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is stated in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/chapters/pmu/doc/operationmodes/system_off_mode.html:"&gt;infocenter.nordicsemi.com/.../system_off_mode.html:&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The LTE modem also needs to be stopped, by issuing a command through the modem API, before entering System OFF mode. Once the command is issued, one should wait for the modem to respond that it actually has stopped, as there may be a delay until modem is disconnected from the network.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Waiting the response from the modem solve the issue.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Louis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/thread/338528?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 10:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d233598-ab71-4767-9d0c-4b42e5a88264</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Loumay!&lt;/p&gt;
[quote user="loumay"]Watchdog reset is not available in System OFF.&amp;quot;[/quote]
&lt;p&gt;It seems that you are right about that, my mistake. In system off all clocks are turned off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you checking this using debug mode? If that was the case it would change things.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/thread/338434?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 16:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ee1ae6-6ff4-428a-8170-32ce48aafc6a</guid><dc:creator>loumay</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;br /&gt;&lt;br /&gt;Thanks for your inputs.&lt;br /&gt;I&amp;#39;m aware of this configuration options for the watchdog and it does indeed prevent the SoC from resetting after entering System-OFF.&lt;/p&gt;
&lt;p&gt;However, it does more than this if I understand properly: The watchdog won&amp;#39;t count down after each call of `wfi` or `wfe`. This is an issue for me, as our firmware is expected to enter sleep mode regularly to save power. The watchdog won&amp;#39;t be able to do is duty and reset the firmware if this one is &amp;quot;stuck&amp;quot;, e.g.: in longer than expected sleep state, or simply in Idle loop.&lt;/p&gt;
&lt;p&gt;As this CONFIG.SLEEP can&amp;#39;t be configured after the watchdog is started, this will sadly not be an option for me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking at &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/pmureset.html,"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf9160/pmureset.html,&lt;/a&gt; I can see at the bottom &amp;quot;&lt;sup&gt;5&lt;/sup&gt; Watchdog reset is not available in System OFF.&amp;quot; .&lt;br /&gt;Doesn&amp;#39;t it means that watchdog should not be able to get the nrf9160 out of System-OFF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/thread/338428?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 16:15:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f6c439-eb33-4af6-a088-b6c88e4830aa</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey again!&lt;/p&gt;
&lt;p&gt;This is mentioned a bit in the product specification, though I guess it is more centered on allowing it to be awake than the opposite.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1636560541576v1.png" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1636560735332v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This configuration might be what you are looking for.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog enable during System OFF</title><link>https://devzone.nordicsemi.com/thread/338255?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 18:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:291ab781-98f8-4bd9-b96b-344824363bde</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Loumay!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking into it, but I will have to get back to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>