<?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>Differing hfclk behavior when flashing with nrfjprog directly versus nrfjprog via Ozone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98278/differing-hfclk-behavior-when-flashing-with-nrfjprog-directly-versus-nrfjprog-via-ozone</link><description>Hello, I&amp;#39;ve been puzzled with a strange issue that I was hoping to be helped with. 
 I am noticing differing behavior in the external high frequency clock when flashing with nrfjprog directly compared to using flashing through Segger Ozone. 
 First off</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Mar 2023 12:01:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98278/differing-hfclk-behavior-when-flashing-with-nrfjprog-directly-versus-nrfjprog-via-ozone" /><item><title>RE: Differing hfclk behavior when flashing with nrfjprog directly versus nrfjprog via Ozone</title><link>https://devzone.nordicsemi.com/thread/418285?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 12:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d752d20-c936-43b6-9409-1a094994fa20</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you&amp;#39;re in debug mode, certain features in hardware are kept alive in sleep as well, such as the supply voltage to the flash and clocks etc, and gives you a base current consumption of around 1.2 mA.&lt;/p&gt;
&lt;p&gt;This gives you better timing values compared to actually going into low power mode (ie. sub 10 uA scenario).&lt;/p&gt;
&lt;p&gt;If you want to have the same timing on wakeup, you can do this by setting NRF_CLOCK-&amp;gt;TASKS_CONSTLAT:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_3_0#unique_441713022"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_3_0#unique_441713022&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However; this has a drawback of drawing ~0.5 mA in sleep (HFCLK will be kept running)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Differing hfclk behavior when flashing with nrfjprog directly versus nrfjprog via Ozone</title><link>https://devzone.nordicsemi.com/thread/418190?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 03:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdbc2b0b-8a3b-4d2c-bcdc-3db1d0c4618d</guid><dc:creator>EugeneBrod</dc:creator><description>&lt;p&gt;Update: I think I&amp;#39;ve found the source of the delay. I put the chip into WFE mode while awaiting new interrupts. Turns out, according to&amp;nbsp;&lt;a id="" href="https://devzone.nordicsemi.com/f/nordic-q-a/70548/what-is-the-delay-time-from-wfe-to-interrupt,"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/70548/what-is-the-delay-time-from-wfe-to-interrupt,&lt;/a&gt;&amp;nbsp;the delay from WFE to interrupt can be 12us, so I think my situation is consistent with my theory. Ozone must have attached to the debugger and cause the WFE to be &amp;quot;faked&amp;quot;. I am curious how the debugger is still considered attached even after a hardware reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>