<?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>sleep and wakeup ble services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59580/sleep-and-wakeup-ble-services</link><description>Hai Nordic 
 I have a question related to nordic nrf52 sleep and wakeup 
 
 I want my ble services are to be in sleep mode for 5sec and it has to wake up after 5sec. is that possible in nrf52840? 
 And give me proper knowledge of sleep and wake-up functionality</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Mar 2020 09:09:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59580/sleep-and-wakeup-ble-services" /><item><title>RE: sleep and wakeup ble services</title><link>https://devzone.nordicsemi.com/thread/242330?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 09:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bffb2a5d-f14d-4ff1-87d5-779667f78cbc</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;You can set the application to System On sleep by calling&amp;nbsp;nrf_pwr_mgmt_run() as in most of the BLE examples in the SDK. This function call will minimize the current consumption while the CPU waits for any event. You can use the app timer library to generate&amp;nbsp;an interrupt&amp;nbsp;after 5 seconds which will make the CPU wake-up&amp;nbsp;from System On sleep. Note, that any event will &amp;quot;wake&amp;quot; the CPU up from System On sleep. See our application timer tutorial for SDK 15.2 &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>