<?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>Switching between power modes and soft reset (nRF51822)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/592/switching-between-power-modes-and-soft-reset-nrf51822</link><description>Hi, 
 Is it possible to wakeup nrf51822 without using the GPIO peripheral&amp;#39;s (i.e configuring a gpio button as a sense enabled)? 
 how to do soft reset? 
 Actually my requirement is, i need to put the controller in off mode for some minutes, then i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 05 Oct 2013 08:52:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/592/switching-between-power-modes-and-soft-reset-nrf51822" /><item><title>RE: Switching between power modes and soft reset (nRF51822)</title><link>https://devzone.nordicsemi.com/thread/3077?ContentTypeID=1</link><pubDate>Sat, 05 Oct 2013 08:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:156931e6-cafe-4775-85f2-d9df3230cb8a</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Thanks for your reply,
Any sample code regarding your logic will give a clear idea to make it work on our project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching between power modes and soft reset (nRF51822)</title><link>https://devzone.nordicsemi.com/thread/3075?ContentTypeID=1</link><pubDate>Sat, 05 Oct 2013 08:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36e4efb7-ecd1-44de-89a1-a0dfec1ce246</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Thanks for your reply.
Actually i tried it in heart rate monitor source code as follows
case BLE_GAP_EVT_TIMEOUT:
if (p_ble_evt-&amp;gt;evt.gap_evt.params.timeout.src == BLE_GAP_TIMEOUT_SRC_ADVERTISEMENT)
{
led_stop();
GPIO_WAKEUP_BUTTON_CONFIG(HR_INC_BUTTON_PIN_NO);
GPIO_WAKEUP_BUTTON_CONFIG(HR_DEC_BUTTON_PIN_NO);
sd_nvic_SystemReset();&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;//NVIC_SystemReset();  
//system_off_mode_enter();
        }
        break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;but it is not working. i am not sure what is happening here.&lt;/p&gt;
&lt;p&gt;if you have any sample codes for switch off and switch on through application(when soft device is enabled) it will be very helpful for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching between power modes and soft reset (nRF51822)</title><link>https://devzone.nordicsemi.com/thread/3076?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 12:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a03e6c1-690e-4f66-aaba-5b2f39bfb24b</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;In system off mode, all clocks will be turned off, and it is therefore not possible to wake up from this mode in any other way than by a GPIO or reset.&lt;/p&gt;
&lt;p&gt;If you need to wake up after a certain time, you will have to use the RTC and system on, idle, mode. This can be done for example using the app_timer module, by just disabling the softdevice and all other peripherals that you don&amp;#39;t need, start the timer and do sd_app_event_wait(). This should then consume 2-3 µA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching between power modes and soft reset (nRF51822)</title><link>https://devzone.nordicsemi.com/thread/3074?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 11:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a55f15ba-39bb-48d3-b282-44cad0bc257e</guid><dc:creator>Nils Minor</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;yes it&amp;#39;s possible i asked this before here is the link to my Question with an helpfull example how to do this
&lt;a href="https://devzone.nordicsemi.com/index.php/how-to-reset-the-device"&gt;devzone.nordicsemi.com/.../how-to-reset-the-device&lt;/a&gt;
best regards Nils&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>