<?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>Device not booting up after SystemOff (NRF52840)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128668/device-not-booting-up-after-systemoff-nrf52840</link><description>NRF52840 
 We are using NCS v3.3.0, however this issue occurs also on NCS 3.0.0. 
 When using the SoftDevice Controller stack. ie MPSL etc enabled, at times we enter SYSTEMOFF without calling bt_disable and mpsl_unit. 
 There is a chance that our device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jul 2026 12:54:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128668/device-not-booting-up-after-systemoff-nrf52840" /><item><title>RE: Device not booting up after SystemOff (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/568905?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2026 12:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92bcc02f-fb2f-472d-a8f6-daea658136f0</guid><dc:creator>AGeegee</dc:creator><description>&lt;p&gt;Yes the steps are correct.&lt;/p&gt;
&lt;p&gt;1. Disable IRQs&lt;/p&gt;
&lt;p&gt;2. Setup GPIO&lt;/p&gt;
&lt;p&gt;3. SYSTEMOFF&lt;/p&gt;
&lt;p&gt;I would like to understand the situation where the lockup can occur, because it can cause our device to never turn back on.&lt;/p&gt;
&lt;p&gt;As a test inserted a SPI EasyDMA Tx between 2 &amp;amp; 3, and it doesn&amp;#39;t make the lockup any easier to reproduce.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not booting up after SystemOff (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/568904?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2026 12:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2e3e38a-86f8-4a15-8d1d-55642d67d065</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So just so I don&amp;#39;t misunderstand the flow, you are doing:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;&amp;nbsp;__disable_irq is made. ISB and DMB for good measure too&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.&amp;nbsp;the GPIOs are setup for DETECT on LATCH&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Go to System OFF&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Right? I just want to ensure you have not swapped step 1 and 2.&lt;/span&gt;&lt;/p&gt;
[quote user="AGeegee"]If there are on going EasyDMA transactions, what would happen?[/quote]
&lt;p&gt;Slightly undefined. Usually higher power consumption and partial transfer, but it may I guess also cause lockup.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not booting up after SystemOff (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/568901?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2026 11:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1cf555a-3932-4c8f-b32a-11e57cc3ec7a</guid><dc:creator>AGeegee</dc:creator><description>&lt;p&gt;Thanks for the quick reply.&lt;/p&gt;
&lt;p&gt;Before entering SYSTEMOFF a call to __disable_irq is made. ISB and DMB for good measure too. Before the System goes off all interrupts are disabled and the GPIOs are setup for DETECT on LATCH.&lt;/p&gt;
&lt;p&gt;If there are on going EasyDMA transactions, what would happen?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not booting up after SystemOff (NRF52840)</title><link>https://devzone.nordicsemi.com/thread/568900?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2026 11:38:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9276cf49-ee98-46df-acef-3623150fc8c3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Not directly related to the problem, but there is a note in the datasheet that: &amp;quot;Before entering System OFF mode, all on-going EasyDMA transactions need to have completed.&amp;quot;&lt;/p&gt;
&lt;p&gt;So in general we do recommend that you have a safe/proper disabling everything before going to system off. But in this case I suspect that there may be some higher level interrupts occurring shortly before you want to go to system OFF, and indirectly reconfigure or change &amp;quot;something&amp;quot; that prevent wakeup from system OFF to work. So you might also at some point shortly before you go to system OFF disable all interrupts before you configure the hardware exactly as you want before going to system OFF.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>