<?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>Nrf52 with softdevice doesn&amp;#39;t exit system off</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16725/nrf52-with-softdevice-doesn-t-exit-system-off</link><description>Hi 
 I am trying to put nrf52 device to system off mode, and wake up by button press. 
 If I do not enable the softdevice everything works fine, and button press wakes up the device. But if I enable the softdevice then button press has no affect. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Sep 2016 12:02:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16725/nrf52-with-softdevice-doesn-t-exit-system-off" /><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63973?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 12:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:315996d2-3788-433d-ab86-4672b9f1443c</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Can you test on a nRF52 DK? I don&amp;#39;t see how this is not working unless the actual button is not working correctly. As I said I was able to get it to work on nRF52 DK when I changed to &lt;code&gt;SOFTDEVICE_HANDLER_INIT(..)&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63972?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 08:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da3bab9f-4ff5-41d4-87cc-3b9022ec2d22</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;I am using chip revision Rev 1 (QFAA-B00). Yes, I am sure I have flashed the softdevice. (otherwise, I would not go pass the init stage)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63971?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 08:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a3ae45-9ad6-428b-9356-eb35beffee90</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;What hardware are you using? You are sure that you have flashed the SoftDevice on board first?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63970?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 08:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7701a9bc-479f-44bf-8080-2400327f4c15</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;I have already tried using &amp;quot;SOFTDEVICE_HANDLER_INIT&amp;quot;, it doesn&amp;#39;t work...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63968?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 08:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:957762a3-2c79-4ddb-aa45-f28fb16cbe6c</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You should update the SoftDevice and the SDK sooner or later so why not do it know? SDK 0.9.1 and SD S132 v1 alpha has a lot of bugs that are fixed in the later versions, and in addition they were designed for the Engineering A version of the chip.&lt;/p&gt;
&lt;p&gt;If you want to test this now you can use &lt;code&gt;SOFTDEVICE_HANDLER_INIT(..)&lt;/code&gt; instead. It will call sd_softdevice_enable(..) and in addition set up buffers and enable the ble event interrupt. If this does not work let me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63969?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 07:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043102aa-55ae-47ba-8097-c1b98f4bc93d</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;Hi Ole. Thanks for your answer.
I wanted to avoid updating the softdevice for now. I don&amp;#39;t get an error upon calling sd_softdevice_enable. My problem is just the wakeup from system off, that doesn&amp;#39;t work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52 with softdevice doesn't exit system off</title><link>https://devzone.nordicsemi.com/thread/63967?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 07:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d64f6566-afcb-4260-96c0-45c46f880235</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;&lt;strong&gt;You should not use SDK 0.9.1 and SoftDevice alpha, these are outdated and not production versions&lt;/strong&gt;. You should use the newest SDK 12 and SoftDevice S132 v3.0.0. With this SDK and SD it should work.&lt;/p&gt;
&lt;p&gt;When I tested with SDK 0.9.1 it did not work for me neither, I got a strange error code. I am not sure why you get this error, but if you change&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err = sd_softdevice_enable(NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION,    softdevice_assertion_handler1);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION, NULL);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>