<?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>nrf sleep without losing connection, (Power efficiency)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17481/nrf-sleep-without-losing-connection-power-efficiency</link><description>Hi, 
 I designed a pcb using nrf51 chip with some sensors,
this pcb should read ,every minutes, all values from sensors and saves them into the flash memory beside that it should update the value of the characteristic that represent the sensors data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Nov 2016 16:01:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17481/nrf-sleep-without-losing-connection-power-efficiency" /><item><title>RE: nrf sleep without losing connection, (Power efficiency)</title><link>https://devzone.nordicsemi.com/thread/67189?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 16:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd87d10-d000-4a32-b4e4-aa9e796e4399</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I assume that you are talking about System OFF mode when you say sleep mode.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;No, the connection requires the chip to be running. However, you can keep the chip in System ON IDLE mode (consumes about 4uA) most of the time and set the connection interval to 4 seconds (maximum interval) to keep the connection alive. This would not require much current.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The connection will be lost. You could theoretically make the phone auto-connect to your device if you create your own app, but that would require the phone to be scanning all the time while it&amp;#39;s not in connection, and that would consume a lot of current. Also, the nRF51 must be advertising.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the device resumes from System OFF most of the peripheral registers are erased and need to be initialized again. You can turn on RAM retention on some of the RAM blocks to retain data while in system OFF, and then, when you wake up, you can check if the reset reason was &amp;quot;System OFF&amp;quot; (RESETREAS register), and then choose to not initialize the data already stored in RAM. What code do you have that you think you would not need to run when the chip starts up?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;No, when in System OFF the chip is not running, and the Softdevice with BLE is definitely not running.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>