<?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>NRF51822 can not wakeup from sheep mode with RTC interrupt.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20558/nrf51822-can-not-wakeup-from-sheep-mode-with-rtc-interrupt</link><description>I did not use softdevice;
//this my code 
 void SysClk_LFInit(void)
 {

 NRF_CLOCK-&amp;gt;LFCLKSRC = (CLOCK_LFCLKSRC_SRC_RC &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos);
 NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;
 NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;
 while (NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Mar 2017 12:51:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20558/nrf51822-can-not-wakeup-from-sheep-mode-with-rtc-interrupt" /><item><title>RE: NRF51822 can not wakeup from sheep mode with RTC interrupt.</title><link>https://devzone.nordicsemi.com/thread/80147?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2017 12:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:597c3e44-9f6f-4b24-906d-0d53cb0084db</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;In order for the COMPARE0 to trigger an interrupt, the interrupt needs to be enabled:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_RTC1-&amp;gt;INTENSET = RTC_INTENSET_COMPARE0_Msk;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In addition, in the the interrupt event should be cleared in the interrupt handler:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_RTC0-&amp;gt;EVENTS_COMPARE[0] = 0;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Please check if the above suggestions change anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>