<?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>After 3 minutes, the micro reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77996/after-3-minutes-the-micro-reset</link><description>Hi, i&amp;#39;m working with NRF51822, and i saw on reference manual that micro enter in the SYSTEM OFF mode. The problem is i dont want the micro enter on this mode. 
 I make de load of the firmware and make a teste. After 3 minutes, the micro reset, and the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jul 2021 12:35:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77996/after-3-minutes-the-micro-reset" /><item><title>RE: After 3 minutes, the micro reset</title><link>https://devzone.nordicsemi.com/thread/322458?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 12:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e010ec4-51df-490d-a475-abb88f67080c</guid><dc:creator>matiasrode</dc:creator><description>&lt;p&gt;Ok Jorgen. I will do that. Thanks for the help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After 3 minutes, the micro reset</title><link>https://devzone.nordicsemi.com/thread/322456?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 12:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb03214d-d5ec-4744-97f5-85b4cb2b48e4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The chip should only reset if it enters SYSTEM OFF during debugging (it will run &amp;quot;Emulated System OFF mode&amp;quot; as described in reference manual), as this will generate an error which will reset the chip, or if the chip is waken from System OFF by one of the wakeup sources.&lt;/p&gt;
&lt;p&gt;Adding a while(1) after entering System OFF in&amp;nbsp;&lt;span&gt;sleep_mode_enter() (before APP_ERROR_CHECK) should prevent the chip from resetting due to an error code.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After 3 minutes, the micro reset</title><link>https://devzone.nordicsemi.com/thread/322451?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 12:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a68a2bf-35bb-459f-a1df-1deef9b90703</guid><dc:creator>matiasrode</dc:creator><description>&lt;p&gt;Hello Jorgen. Thanks for the help. In the case, have so way to avoid the chip restart? I see an example that make a way to avoid the micro reset. If you have some example about this.&lt;/p&gt;
&lt;p&gt;Again, thanks for the help. I remove the sleep_mode_enter() and works.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After 3 minutes, the micro reset</title><link>https://devzone.nordicsemi.com/thread/322407?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 09:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce6ad5fb-b23e-4c1a-808e-965072b48472</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;By default, the BLE examples have set the advertising duration to 180 seconds. When the advertising becomes idle, the chip will enter SYSTEM OFF mode.&lt;/p&gt;
&lt;p&gt;This can be controlled in the application:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set&amp;nbsp;APP_ADV_DURATION to 0 to disable timeout and advertise forever.&lt;/li&gt;
&lt;li&gt;Remove call to&amp;nbsp;sleep_mode_enter() in case&amp;nbsp;BLE_ADV_EVT_IDLE in function&amp;nbsp;on_adv_evt(). This will prevent the chip from going to System OFF sleep mode, but advertising will end after 3 minutes.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>