<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>PPK2 missing samples depending on DUT</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88045/ppk2-missing-samples-depending-on-dut</link><description>Hi all, 
 I&amp;#39;m using the PPK2 to measure the current of our IoT device. To get the data from my PPK2, I wrote my own software in order to integrate it into our test setup. 
 However, during the analysis of the measured data, I noticed that there are sometimes</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 20 May 2022 10:38:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88045/ppk2-missing-samples-depending-on-dut" /><item><title>RE: PPK2 missing samples depending on DUT</title><link>https://test-devzone.nordicsemi.com/thread/368796?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 10:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac4bb7f-bb2f-429b-bfaf-d62df2bf047f</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I just spoke to one of the developers to confirm my suspicion, and yes, there are a few samples that will fall out as the voltage range is switched, as these samples will come out invalid. There is also a counter in the payload that should make sure the SW corrects itself if samples are lost between USB and SW handling.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 missing samples depending on DUT</title><link>https://test-devzone.nordicsemi.com/thread/368543?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 08:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894f4ca2-55ed-4c74-a6a3-b3d766d37f5e</guid><dc:creator>user116254</dc:creator><description>&lt;p&gt;My software configures the PPK2, starts the measurement, and logs the raw data into the memory. At the end of a run, I go through the data and have a look at the counter which is part of each sample.&lt;/p&gt;
&lt;p&gt;According to &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ppk/blob/main/src/device/serialDevice.js"&gt;https://github.com/NordicSemiconductor/pc-nrfconnect-ppk/blob/main/src/device/serialDevice.js&lt;/a&gt; a sample is 32 bits long and consists of the following data fields:&lt;/p&gt;
&lt;table style="border-color:#000000;" height="44"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;31 : 24&lt;/td&gt;
&lt;td&gt;23 : 18&lt;/td&gt;
&lt;td&gt;16:14&lt;/td&gt;
&lt;td&gt;13 : 0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Digital Inputs&lt;/td&gt;
&lt;td&gt;Counter&lt;/td&gt;
&lt;td&gt;Range&lt;/td&gt;
&lt;td&gt;Value&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;While inspecting my data I see missing counter values in all variations from one missing sample to 63.&lt;/p&gt;
&lt;p&gt;So, if I understood you correctly, you think that the MCU software is skipping samples if there is a change in the shunt value?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Johannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 missing samples depending on DUT</title><link>https://test-devzone.nordicsemi.com/thread/368511?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 06:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f42a90-02f9-4526-8f2f-51e43bebf940</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What exactly does the software you&amp;#39;ve written do? Is there a reason you&amp;#39;re not using the Power Profiler app in nRF Connect for Desktop, or are you? I don&amp;#39;t see why you would be missing samples depending on what the application is doing. The only thing I can think of is that the PPK2 is prone to some current spikes when switching between the voltage shifters, which your software might write off as &amp;quot;missing samples&amp;quot;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>