<?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>Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93560/power-profiling-variance-on-ble-transmission-using-ppk2</link><description>Hello, 
 I&amp;#39;m using the PPK2 to evaluate a DUT which is transmitting over BLE using NUS in SDK 17.0.2. I&amp;#39;m seeing very large variability over each transmission and was wondering if there were any ways to optimize this. Here is one graph for example showing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Nov 2022 07:54:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93560/power-profiling-variance-on-ble-transmission-using-ppk2" /><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/395907?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 07:54:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d761609-02fc-4e99-a928-565f5a55d265</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, in ampere mode you can connect the PPK2 in series with the battery.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/395885?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 23:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8391ec9d-1c38-4ced-b286-c37bbe9d7413</guid><dc:creator>jake11212</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/93560/power-profiling-variance-on-ble-transmission-using-ppk2/395474"]No, in source mode you would have to disconnect the battery and supply the DUT from the PPK.[/quote]
&lt;p&gt;In ampere mode would I be able to put the ppk2 in series with the battery?&amp;nbsp; Sorry I meant to ask about ampere mode in the last question not source mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/395474?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 08:14:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5484d971-0ae1-4173-88a6-48d6bad60faa</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="jake11212"]So putting it in source mode with the battery would just be placing the Vin on the positive lead of the battery and vout on the negative lead?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;No, in source mode you would have to disconnect the battery and supply the DUT from the PPK.&lt;/p&gt;
[quote user="jake11212"]I was confused because in the documentation about Ampere meter mode it has both the Vin/Vout on the same pin, so to try and match that originally I put them both on the same Vdd pin on my DUT.[/quote]
&lt;p&gt;They are connected to the same pin header, but not the same pin. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/395445?ContentTypeID=1</link><pubDate>Sun, 13 Nov 2022 22:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ee34d95-b69d-4cb2-bd50-18378725acfe</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;So putting it in source mode with the battery would just be placing the Vin on the positive lead of the battery and vout on the negative lead?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was confused because in the documentation about Ampere meter mode it has both the Vin/Vout on the same pin, so to try and match that originally I put them both on the same Vdd pin on my DUT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394835?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 07:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4093b21a-9fc3-4276-887d-329a09116a0a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It does not make sense to have multiple power sources when measuring, so you either have to use an external power source (you can use the PPK2 in source mode for that), or connect the PPK2 in series with the battery.&lt;/p&gt;
&lt;p&gt;You also need make the ground connection as shown here: &lt;span&gt;&lt;a title="Measuring current in Ampere Meter mode" href="https://infocenter.nordicsemi.com/topic/ug_ppk2/UG/ppk/measure_current_ampere_meter.html?cp=10_9_5_2"&gt;Measuring current in Ampere Meter mode&lt;/a&gt; to get common ground between the ppk2 and DUT. I did not include this connection in my sketch. &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394803?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 19:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64f5227e-0818-4739-87f4-b89a14dd34c7</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;The DUT is currently being powered by a battery.&amp;nbsp; So do I need an external voltage source to run through the PPK2 before reaching the DUT in series?&amp;nbsp; Also in the picture you provided does the circuit complete to gnd of the PPK2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394647?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 10:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7af48790-ed03-4c99-97dd-89aaffa1f20d</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="jake11212"]I changed to source mode and this was the behavior which is more in line with what you saw.&amp;nbsp; How did you change to the line graph?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;You should see the same if you zoom more in on the waveform. The length of an &lt;span&gt;&lt;a title="Advertising event" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_power_profiles/advertising_event.html?cp=4_7_4_0_17_0"&gt;Advertising event&lt;/a&gt;&lt;/span&gt; is about 5 ms.&lt;/p&gt;
[quote user="jake11212"]Also in my setup I have the same point of Vdd connected to both vin and vout on the ppk2.&amp;nbsp; Do I need two separate points of Vdd for Vin and Vout?&amp;nbsp; I didn&amp;#39;t think it would make a difference but I wasn&amp;#39;t sure.[/quote]
&lt;p&gt;OK, this explains the strange measurements. The ammeter must be connected in series with the PPK. Otherwise, the current will just flow past the ammeter inside the PPK2.&lt;/p&gt;
&lt;p&gt;How to connect VDD in series with the PPK ammeter:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1667904179287v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="jake11212"]A last question I have is about the enable power output toggle.&amp;nbsp; What does it do when the device is in ampere meter mode?&amp;nbsp; And if it is toggled off during source mode does that cause source mode to act as ampere meter mode?[/quote]
&lt;p&gt;As illustrated by the silkscreen on the backside of the PPK2, the power source is not connected in ampere mode. In other words, toggling the power button will have not have any effect in this mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394515?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 16:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4fa9ab8-1d8e-4633-a555-99c63591d356</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;I changed to source mode and this was the behavior which is more in line with what you saw.&amp;nbsp; How did you change to the line graph?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also in my setup I have the same point of Vdd connected to both vin and vout on the ppk2.&amp;nbsp; Do I need two separate points of Vdd for Vin and Vout?&amp;nbsp; I didn&amp;#39;t think it would make a difference but I wasn&amp;#39;t sure.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a reason why source mode would cause the results to change so much?&amp;nbsp; The peaks that I obtained earlier did line up with when the device began advertising confirmed on the nRF toolbox app, so it is definitely reading values from the DUT.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;A last question I have is about the enable power output toggle.&amp;nbsp; What does it do when the device is in ampere meter mode?&amp;nbsp; And if it is toggled off during source mode does that cause source mode to act as ampere meter mode?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1667837577365v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394455?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 13:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eab9256f-d1d9-492b-8048-538bd4c3fa63</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;OK, thanks for confirming. It sounds like you have set up everything correctly, but the measurements results are wrong for some reason.&lt;/p&gt;
&lt;p&gt;Could you please try to use it in source mode instead to see if you can get some more meaningful results?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394189?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 14:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aadeecd4-2e0e-4a4c-9727-ef167a3259bf</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;I&amp;#39;m using the PPK2 in Ampere mode.&amp;nbsp; The DUT is a custom board.&amp;nbsp; I connected the Vdd of the custom board to the Vin/Vout circuit of the PPK2 and gnd on the custom board to ground of the PPK2.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiling Variance on BLE Transmission using PPK2</title><link>https://devzone.nordicsemi.com/thread/394133?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 12:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94a65842-cb4e-48e7-a61d-353de75eb26b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is something wrong with the measurements. The peak currents should have been well above 5 mA for if you were measuring a BLE advertisement event. For comparison, the screenshot below is of an adv. event I measured here on my desk with a nRF52840DK +PPK2 &lt;span&gt;&lt;a title="Measuring current in Source Meter mode" href="https://infocenter.nordicsemi.com/topic/ug_ppk2/UG/ppk/measure_current_source_meter.html?cp=10_8_5_1"&gt;in Source Meter mode&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1667560179877v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This also matches the profile shown in the &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/power/w/opp/2/online-power-profiler-for-bluetooth-le"&gt;Online Power Profiler for Bluetooth LE&lt;/a&gt;&amp;nbsp; if I input the same parameters.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you maybe describe your measurement setup in a bit more detail? For instance, if you are using the PPK in &lt;span&gt;&lt;a title="Measuring current in Source Meter mode" href="https://infocenter.nordicsemi.com/topic/ug_ppk2/UG/ppk/measure_current_source_meter.html?cp=10_8_5_1"&gt;Source Meter mode or A&lt;/a&gt;mpere mode&lt;/span&gt;, and if your DUT is a DK or custom board, etc.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>