<?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>cpu can&amp;#39;t go to slepp when gpiote event occured?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47941/cpu-can-t-go-to-slepp-when-gpiote-event-occured</link><description>The cpu can&amp;#39;t goto sleep when gpiote port event occured,after about 1 second later,the cpu then goes to sleep well, 
 I use the code bellow to enter sleep mode.Is there any thing wrong ,why when the event occured,thc cpu is can&amp;#39;t go to sleep as I wanted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 29 Jun 2019 08:28:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47941/cpu-can-t-go-to-slepp-when-gpiote-event-occured" /><item><title>RE: cpu can't go to slepp when gpiote event occured?</title><link>https://devzone.nordicsemi.com/thread/195448?ContentTypeID=1</link><pubDate>Sat, 29 Jun 2019 08:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b997bf2-405c-45b4-91d3-6a7d0177be26</guid><dc:creator>Pupil</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;I changed my program&amp;#39;s scheme,seems work good now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cpu can't go to slepp when gpiote event occured?</title><link>https://devzone.nordicsemi.com/thread/190487?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 11:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780ab6fc-ffe5-4252-9fbd-b7dc05d13398</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Not sure what you are doing here, but typically you will have an infinite while() or for() loop in you main, e.g.:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int main(void)
{
    // Init
    
    for(;;)
    {
        // Process application code
        
        // Wait for an event.
        __WFE();
        // Clear the internal event register.
        __SEV();
        __WFE();
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cpu can't go to slepp when gpiote event occured?</title><link>https://devzone.nordicsemi.com/thread/190037?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 09:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c977b4f-f04a-42dc-bbdf-15462150355b</guid><dc:creator>Pupil</dc:creator><description>&lt;p&gt;It seems like when the int pin trigered gpiote,and stay at high or low level,the next 1or 2 seconds before I wake up from the sleep,and goto sleep again,It consumes that current same as the cpu runing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>