<?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>Noise from power profiler analysis</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71824/noise-from-power-profiler-analysis</link><description>I&amp;#39;ve got several problems but they are all linked more or less with the power profiler. 
 All devices I have are nRF52840 dk. The code is written with Zephyr but I doubt it plays a big role. For power profiler, we have the power profiler kit. 
 1st problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Feb 2021 11:56:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71824/noise-from-power-profiler-analysis" /><item><title>RE: Noise from power profiler analysis</title><link>https://devzone.nordicsemi.com/thread/295810?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 11:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e04edd6-e3ea-4f25-b5c7-620a17df9ec6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Ripitchip00"]Is there a way to repair it ?&amp;nbsp;[/quote]
&lt;p&gt;I cannot really say, but if it is an issue with bad contact (let&amp;#39;s say bad soldering because of mechanical strain or similar) you could try to find it and fix it. This was jus tan idea, though - I cannot say for sure that is part of the problem.&lt;/p&gt;
&lt;p&gt;Regarding the general behaviour you see I am not able to reproduce or find similar past reports. Just as a shot in the dark, could you try to re-flash the onboard debugger on the DK&amp;#39;s and see if that has any effect? You can put the debugger in DFU mode by holding the reset button while power-cycling. Then copy&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6888.J_2D00_Link-OB_2D00_SAM3U128_2D00_V2_2D00_NordicSemi-170724.bin"&gt;devzone.nordicsemi.com/.../6888.J_2D00_Link-OB_2D00_SAM3U128_2D00_V2_2D00_NordicSemi-170724.bin&lt;/a&gt; onto it , wait a bit and power-cycle again. Does it change anything with any of the two DKs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Noise from power profiler analysis</title><link>https://devzone.nordicsemi.com/thread/295783?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 10:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00592fda-76d5-490f-bcb4-d99822bf219c</guid><dc:creator>Ripitchip00</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your answer.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/71824/noise-from-power-profiler-analysis/295577#295577"]&amp;nbsp;I assume you are using the first generation &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/Power-Profiler-Kit"&gt;PPK &lt;/a&gt;and not &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/Power-Profiler-Kit-2"&gt;PPK2&lt;/a&gt;?[/quote]
&lt;p&gt;Yes it&amp;#39;s the first generation PPK.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1st problem&lt;/strong&gt; :&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/71824/noise-from-power-profiler-analysis/295577#295577"]Are you trying to program the nRF on the DK or the nRF on the power profiler in this case (depending on the COM switch position)[/quote]
&lt;p&gt;I&amp;#39;m trying to program the nRF on the DK. When I&amp;#39;m trying to flash, the power profiler isn&amp;#39;t set on the DK, it&amp;#39;s removed. &lt;a href="https://zupimages.net/up/21/08/rjn2.jpg"&gt;I only have a DK with the jumper&lt;/a&gt;.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/71824/noise-from-power-profiler-analysis/295577#295577"]I suspect there could be an issue with the communication between the debugger on the DK and the nRF&amp;nbsp;being programmed[/quote]
&lt;p&gt;Is there a way to repair it ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2nd problem&lt;/strong&gt; :&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/71824/noise-from-power-profiler-analysis/295577#295577"]Could it be that you accidentally programed the nRF on the DK (which is the DUT here?) with the PPK firmware?[/quote]
&lt;p&gt;Well, here is the procedure I followed :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Remove the power profiler from any nRF&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Setup the jumper on the nRF with cut SB40&lt;/li&gt;
&lt;li&gt;Flash the beacon program, verify with nRF connect App that we really have a beacon device&lt;/li&gt;
&lt;li&gt;Turn off the nRF, setup the power profiler on the nRF, remove the jumper, turn on&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Open the Power Profiler app, select device. It doesn&amp;#39;t ask to flash so I suppose it&amp;#39;s ok ?&lt;/li&gt;
&lt;li&gt;The first result was &lt;a href="https://zupimages.net/up/21/08/6xjs.png"&gt;this&lt;/a&gt;, then I closed and reopened the Power profiler app and had only noise like the image in the original post.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For the sake of the experiment, I tried to setup the power profiler on the nRF that I can&amp;#39;t flash again. I have the right Power Profiler output.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3rd problem&lt;/strong&gt;&lt;span&gt;&amp;nbsp;:&lt;/span&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/71824/noise-from-power-profiler-analysis/295577#295577"]You are covering 7 seconds here, so if there is a lot changes in current consumption that would be squashed together and look like a big blue square.[/quote]
&lt;p&gt;&lt;span&gt;Yes you are right but if I zoom in, I just have line going from down to up, there is no sense. And this blue square would be followed by a straight line.&lt;br /&gt;I wanted to be able to flash the first device to see once again how the Power Profiler sees the mesh at the beginning as it&amp;#39;s normal to have a lot of packets sending and receiving before and during provisioning but it&amp;#39;s certainly not a blue square :)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I just was wondering if the change of device could impact the measurements, dunno.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Noise from power profiler analysis</title><link>https://devzone.nordicsemi.com/thread/295577?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 13:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c380354-ac69-476b-be75-bdf692b5b3c5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I assume you are using the first generation &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/Power-Profiler-Kit"&gt;PPK &lt;/a&gt;and not &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/Power-Profiler-Kit-2"&gt;PPK2&lt;/a&gt;?&lt;/p&gt;
[quote user=""]&lt;strong&gt;1st problem&lt;/strong&gt; : I had one device with which I could use the power profiler correctly. Unfortunately I&amp;#39;m not able to flash a program on it. [/quote]
&lt;p&gt;Are you trying to program the nRF on the DK or the nRF on the power profiler in this case (depending on the COM switch position) Based on the information in the 2nd question that this works with another DK, and the error message I suspect there could be an issue with the communication between the debugger on the DK and the nRF&amp;nbsp;being programmed. If you are trying to program the PPK, then it could be an issue with the headers connecting the two boards. Perhaps some modifications or hard treatment has caused a bad connection or similar?&lt;/p&gt;
[quote user=""]&lt;strong&gt;2nd problem&lt;/strong&gt; : I tried to use another nRF52840 with the power profiler. I cut the SB40. The problem is that I seem to get wrong measurements.[/quote]
&lt;p&gt;It is a bit interesting that you get seemingly correct measurements with the other DK, which you have issue programming. Could it be that you accidentally programed the nRF on the DK (which is the DUT here?) with the PPK firmware? That will not have the current consumption pattern you expect to see.&lt;/p&gt;
[quote user=""]&lt;strong&gt;3rd problem&lt;/strong&gt; : I tried to measure the power consumption of the sparkfun nRF52840 Mini as DUT and using the power profiler. When measuring the beacon app, &lt;a href="https://zupimages.net/up/21/07/1vxl.png"&gt;everything is working great&lt;/a&gt;, so I&amp;#39;m able to set up everything correctly. But then measuring a mesh network application, I only see a &lt;a href="https://zupimages.net/up/21/07/dv5y.png"&gt;blue square&lt;/a&gt;, or a straight line. Why is that ?&amp;nbsp;[/quote]
&lt;p&gt;You are covering 7 seconds here, so if there is a lot changes in current consumption that would be squashed together and look like a big blue square. It would not be possible to read anything from this plot. I suggest you look at a much smaller time window.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>