<?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>nRF52832 wake up from sleep mode from internal timer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79366/nrf52832-wake-up-from-sleep-mode-from-internal-timer</link><description>SDK 17_0_2 
 Hi! 
 I can&amp;#39;t understand is it any possibility to wake up nRF32 from sleep mode via internal RTC timer? 
 For example- I set ADV duration 30 sec. After that time nRF32 goes to sleep mode. After some time I need to wake up it without any GPIO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Sep 2021 15:36:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79366/nrf52832-wake-up-from-sleep-mode-from-internal-timer" /><item><title>RE: nRF52832 wake up from sleep mode from internal timer</title><link>https://devzone.nordicsemi.com/thread/328448?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 15:36:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3fc8934-e201-4838-89cb-c4600b9f899b</guid><dc:creator>Kenneth</dc:creator><description>[quote user="metcenger"]Do you mean that in the event&amp;nbsp;&lt;span&gt;BLE_ADV_EVT_IDLE&amp;nbsp;instead of go to&amp;nbsp;sd_power_system_off() func, should I run app timer and after it goes off, run advetrising again?&lt;/span&gt;[/quote]
&lt;p&gt;For instance yes, or any other action you want to do when the timer goes off.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 wake up from sleep mode from internal timer</title><link>https://devzone.nordicsemi.com/thread/328447?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 15:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0fdd47-1773-429e-9df3-342870bc1d64</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;Thanks. I able to run app timer. But I can&amp;#39;t understand what do you mean.&lt;/p&gt;
&lt;p&gt;Yes, after advertising time elapsed, I go to the&amp;nbsp;&amp;nbsp;sd_power_system_off(); function.&lt;/p&gt;
&lt;p&gt;Do you mean that in the event&amp;nbsp;&lt;span&gt;BLE_ADV_EVT_IDLE&amp;nbsp;instead of go to&amp;nbsp;sd_power_system_off() func, should I run app timer and after it goes off, run advetrising again?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 wake up from sleep mode from internal timer</title><link>https://devzone.nordicsemi.com/thread/328433?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 14:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:230b94e3-48b3-4b60-9507-c1c0bb439213</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You will notice that on advertisment timeout that there is&amp;nbsp;BLE_ADV_EVT_IDLE event in&amp;nbsp;on_adv_evt() for most BLE peripheral examples. Typically the chip then go to system OFF state by calling&amp;nbsp;sd_power_system_off(). In your case you must remove&amp;nbsp;sd_power_system_off(), and instead start an app_timer with a 30second timeout, on app_timer timeout you can for instance start advertisement again (or do other action). You should find several examples that show&amp;nbsp;how to define, create, and start app timer.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>