<?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>wake up the CPU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3297/wake-up-the-cpu</link><description>hello, 
 could anyone tell me how to wake up the CPU after a sd_power_system_off () ? 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jul 2014 19:47:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3297/wake-up-the-cpu" /><item><title>RE: wake up the CPU</title><link>https://devzone.nordicsemi.com/thread/12025?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 19:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83fc5943-c5d0-4173-9297-2b80b022e481</guid><dc:creator>syntroniks</dc:creator><description>&lt;p&gt;Howdy: I&amp;#39;ve updated my question. Alternatively you can power down the whole system with your switch but I can see certain circumstances where you may not want to do that...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wake up the CPU</title><link>https://devzone.nordicsemi.com/thread/12024?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 16:19:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f57ff25-e1c0-47d8-a0c2-110ffdc4b217</guid><dc:creator>smart</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to Switch the system off or one with a switch pin :
Switch-off == 1 {system off}
Switch-off == 0 {system on}&lt;/p&gt;
&lt;p&gt;which one of the referred to wake up the system do recommand ?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wake up the CPU</title><link>https://devzone.nordicsemi.com/thread/12023?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 15:54:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f3b754-e239-4b51-b424-4c64edb3b98b</guid><dc:creator>syntroniks</dc:creator><description>&lt;p&gt;Yes, one way is to configure a GPIO pin for wakeup. This is demonstrated in nordic sample applications. They generally go to system off after the long advertising timeout.&lt;/p&gt;
&lt;p&gt;Reset sources like power-on reset will also bring a device out of system off.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;After learning more about your application, I&amp;#39;d like to recommend this approach to you:&lt;/p&gt;
&lt;p&gt;Register your switch/button with the app_button module and when you detect a low to high transition, go into system_off. Before that, run this code:
// Configure switch with sense level low as wakeup source.
nrf_gpio_cfg_sense_input(YOUR_PIN_NUMBER, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_LOW);&lt;/p&gt;
&lt;p&gt;When the switch level goes back to low, you leave system_off and begin executing code @ the top of main(); Let me know if you have any other concerns.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>