<?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>Wakeup Interrupt Controller</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62318/wakeup-interrupt-controller</link><description>Hi, we are seeing subtle timing differences in code execution between when we have a debugger attached or not (same build of code). 
 Does the nRF52832 implement the optional wakeup interrupt controller https://developer.arm.com/docs/dui0553/a/the-cortex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jun 2020 18:37:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62318/wakeup-interrupt-controller" /><item><title>RE: Wakeup Interrupt Controller</title><link>https://devzone.nordicsemi.com/thread/253886?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 18:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c40a7bff-457b-4405-ad1c-0d78fa90a80a</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The debugger actually disables &amp;quot;deep sleep&amp;quot; entirely when connecting.&lt;/p&gt;
&lt;p&gt;Without the debugger, HFINT (or HFCLK) is stopped during sleep (WFE/WFI) and thus must be restarted before wakeup. With a debugger connected, HFINT (or HFCLK) runs all the time.&lt;/p&gt;
&lt;p&gt;Since Systick is fed from the HF clock, it can be used to &amp;quot;measure&amp;quot; how long the HF oscillator actually runs. Just configure it for 100 ints/sec, count the actual occuring interrupts and you have a &amp;quot;usage percent&amp;quot; value once per second. And yes, with a debugger you&amp;#39;d get full 100ints/sec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>