<?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>strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74890/strange-power-profile-from-power-on-vs-debugger</link><description>Hello, 
 I just receive a PPK2 and looking at power usage/profile. Below is the captured profile when the application is run from the debugger and then detached. This captures the difference in power when transitioning from fast to slow advertising. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 May 2021 07:41:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74890/strange-power-profile-from-power-on-vs-debugger" /><item><title>RE: strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/thread/309381?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 07:41:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e603a3-dbfb-4156-9e61-888b4a92aeab</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Allen,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Im not sure I received the full trace but this is the no_jtag trace in my computer:&amp;nbsp;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/598x288/__key/communityserver-discussions-components-files/4/pastedimage1620805225955v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t look right to me. The constant high frequency at 3mA is not normal. Could you try measuring something very simple like the RTC example or the ble_app_pwr_profiling ? We need to&amp;nbsp;see the base line sleep current of 3-4uA.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/thread/309337?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 20:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a37d47f4-a212-48bb-838e-8a302994b3a9</guid><dc:creator>Allen</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ppk_2D00_20210507T225303_2D00_no_5F00_jtag_5F00_at_5F00_adv_5F00_fast_2D00_slow.ppk.zip"&gt;devzone.nordicsemi.com/.../ppk_2D00_20210507T225303_2D00_no_5F00_jtag_5F00_at_5F00_adv_5F00_fast_2D00_slow.ppk.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ppk_2D00_20210507T225132_2D00_dbg_5F00_then_5F00_disconnect.ppk.zip"&gt;devzone.nordicsemi.com/.../ppk_2D00_20210507T225132_2D00_dbg_5F00_then_5F00_disconnect.ppk.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/thread/309336?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 20:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78802053-813c-4063-91d2-d14ece22e926</guid><dc:creator>Allen</dc:creator><description>&lt;p&gt;Hello H,&lt;/p&gt;
&lt;p&gt;The concern is not the current draw when the debugger is attached. All the plots provided are the the debugger &amp;quot;detached&amp;quot;. The only difference is that in the first plot, the program was started using the debugger. The second graph, is a normal power-on startup. Because of the noise, the power is higher in the power-on scenario.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/thread/309161?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 09:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def4491b-cd64-4f61-a9b9-927ea6260cd6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Allen,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you send us the trace ? Preferably with some BLE activity. You can test using the ble_app_pwr_profiling.&amp;nbsp;&lt;br /&gt;When you connect the debugger (and you actually run the debugger) the HFCLK will be kept running and it might explain why you see higher current. And the CPU wouldn&amp;#39;t enter sleep mode as it should.&amp;nbsp;&lt;br /&gt;The base current when sleeping (System ON CPU Idle) should be around 2-3 uA (not mA).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/thread/309104?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 04:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c92875c-565f-4a3c-945f-c2ba0aa8c26b</guid><dc:creator>Allen</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My computer is an iMac with an Intel i7. And the PPK is connected via a hub. See the images below. The base current is 1.3mA. I am pretty sure sleep is working.&lt;/p&gt;
&lt;p&gt;Is there any place in the processor startup code that differs when run with the debugger? I am not sure what to look for.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620705887277v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620706024182v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: strange power profile from power-on vs. debugger</title><link>https://devzone.nordicsemi.com/thread/308973?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 12:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c36d235d-2d3c-4d5d-a7bf-52bd7c5afc52</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Allen,&amp;nbsp;&lt;br /&gt;Could you&amp;nbsp;export the trace and send us ?&amp;nbsp;&lt;br /&gt;We experienced that the PPK2 has some incompatible issue with AMD Ryzen mainboard/CPU. And found that if you connect the PPK2 to a USB hub it can give more stable result.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to test with very simple application, for example just sleep and wake up to toggle GPIO with a RTC timer.&amp;nbsp; So that we make sure we can get to the base sleep current.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>