<?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>Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103170/current-peaks-in-low-power-udp-example</link><description>Hi, I made some measurements with the NRF9160-DK and the Power Profiler Kit 2. 
 The settings are as follows: 
 
 
 (The IP and Port is set to xx... on purpose for the forum entry.) 
 I carried out some measurements for different CONFIG_UDP_DATA_UPLOAD_FREQUENCY_SECONDS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Sep 2023 10:39:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103170/current-peaks-in-low-power-udp-example" /><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444467?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2023 10:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a07f14f-57de-4e06-97a0-c4ebc9756bea</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Great. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444440?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2023 09:06:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70611cf7-bb20-4caf-8ffe-229ec23b92f8</guid><dc:creator>hypn0</dc:creator><description>&lt;p&gt;Dear Achim,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your time and answers. I really appreciate it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I updated the modem firmware to the&amp;nbsp;version 1.3.5 and carried out a new measurement:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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/current_5F00_measurement_5F00_2.png" /&gt;&lt;/p&gt;
&lt;p&gt;The current peaks are gone, so I guess the update did the trick.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will close this thread as solved.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you and best Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;hypn0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444138?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 14:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a05eb8c2-121b-47bc-a6c9-f98af6a173c5</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; &lt;span&gt;How can I lock the PLMN?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fnw_service%2Fcops.html"&gt;AT+COPS=1,2,&amp;quot;xyzAB&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(left question from your previous post:)&lt;/p&gt;
&lt;p&gt;&amp;gt; And how is this period determined?&lt;/p&gt;
&lt;p&gt;That&amp;#39;s configured on your &lt;a href="https://github.com/boaks/zephyr-coaps-client/blob/main/src/modem_sim.c#L388-L411"&gt;SIM card&lt;/a&gt; by your provider. Before you spend too much time in trying to circumvent a HPPLMN search, check if this is really the case.And check your IMSI with &amp;quot;AT+CIMI&amp;quot;. HPPLMN search is just my first guess, when someone comes with charts like yours.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444129?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 13:50:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c88a34-08cb-4efc-859b-380a8f80fdae</guid><dc:creator>hypn0</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;gt; For &amp;quot;low power cellular&amp;quot; this is poison for your battery.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;True. I am currently trying to convince my customer&amp;nbsp;that NB-IOT can be suitable for ultra low power applications as well. However, if I show him the measurements above, I am not so sure, if this will convince him :-D&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will update the modem firmware and carry out another longterm measurement.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hope I wont need it, but just in case:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I lock the PLMN?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444075?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 11:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b394ce0-b4d8-4d98-a397-63f2fd26df8c</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; it is not possible to turn off this search?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may lock the PLMN, but that comes also with other drawbacks.&lt;/p&gt;
&lt;p&gt;&amp;gt; What is the purpose of this search?&lt;/p&gt;
&lt;p&gt;In my opinion, this is an historical artifact, which helped to reduce expensive fees for roaming. If you&amp;#39;re abroad, you&amp;#39;re mobile usage may be charged extra when using other operators as the one your provider is preferring. With that HPPLMN search that classic mobile phone use-case was optimized.&lt;/p&gt;
&lt;p&gt;For &amp;quot;low power cellular&amp;quot; this is poison for your battery.&lt;/p&gt;
&lt;p&gt;Anyway, the main pain was the searching for global PLMNs (that&amp;#39;s the 9xxxx IMSI), where, why ever, Nordic believed and told, that this could be found everywhere.But in reality, it&amp;#39;s not found at all, and so the modem search repeating for very long to find nothing.&lt;/p&gt;
&lt;p&gt;It tokes then a year, and I don&amp;#39;t what makes Nordic change their position, but with 1.3.5 the modem doesn&amp;#39;t longer search for 9xxxx. What is left, that it may search for a HPPLMN in your country, if it&amp;#39;s connected to an other PLMN. That doesn&amp;#39;t harm too much, because it is much likely to find that real PLMN. There may be only very rare cases left, where in a region such a PLMN could not found. If you statically operate the device there, then I use the PLMN lock. &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444048?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 10:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:731ac8d2-dc56-4e13-b36f-3378544cbc18</guid><dc:creator>hypn0</dc:creator><description>&lt;p&gt;Dear Achim,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the immediate reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will try to read out the SIM parameter and update the modem firmware.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94702/hpplmn-search---please-consolidate-advice"&gt;your post&lt;/a&gt; some time ago it is not possible to turn off this search?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What is the purpose of this search?&lt;br /&gt;My hardware is connected to the network and can send the data without problems. During the measurement shown above, I did not move the hardware to another location, the environment remained the same. Why does the hardware have to search for the network every 2.5 h? &lt;br /&gt;And how is this period determined?&lt;/p&gt;
&lt;p&gt;Best Regards!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444018?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 08:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded2f0c8-fafe-4035-9554-3b55f094c35f</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I guess HPPLMN search ;-).&lt;/p&gt;
&lt;p&gt;Or some other kind of network search.&lt;/p&gt;
&lt;p&gt;You may read out your SIM card to see the parameters for that.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://github.com/boaks/zephyr-coaps-client/blob/main/src/modem_sim.c"&gt;modem - read SIM&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you use a mfw version between 1.3.2 and 1.3.4, an update to 1.3.5 may help in the case, that you use a global SIM (IMSI 9xxxx).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/444016?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 08:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04a1b8b6-698f-4cd2-b0dd-4ef24fd9a3d8</guid><dc:creator>hypn0</dc:creator><description>&lt;p&gt;Hi Michal and Achim&lt;/p&gt;
&lt;p&gt;Thanks for your answers!&lt;/p&gt;
&lt;p&gt;I made a &amp;#39;longterm&amp;#39; measurement in order to get some more current data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I used the same configuration shown above, but set the transmission time to 30 minutes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The measurement data show high power consumption, which occurs regularly every 2.5 hours. &lt;br /&gt;As far as I can see, I have switched off eDRX, so I am not sure now what exactly the hardware is doing during this time.&lt;/p&gt;
&lt;p&gt;Do you have any ideas?&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/current_5F00_measurement.png" /&gt;&lt;/p&gt;
&lt;p&gt;The following figure shows a zoom of on of the high current peaks:&lt;/p&gt;
&lt;p&gt;&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/current_5F00_measurement_5F00_zoom.png" /&gt;&lt;/p&gt;
&lt;p&gt;Have a great day!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/443413?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 14:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c57d0948-5ef0-4e93-96f8-401e4f332add</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I would recommend zooming into those peaks first, but I think I may know the answer.&lt;/p&gt;
&lt;p&gt;This may be caused by the regulators running in the refresh mode. You can find some information (and measurements) here: &lt;a href="https://devzone.nordicsemi.com/guides/hardware-design-test-and-measuring/b/nrf9x/posts/getting-started-with-current-measurements-on-the-nrf9160"&gt; Getting started with current measurements on the nRF9160&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current peaks in low-power udp example</title><link>https://devzone.nordicsemi.com/thread/443239?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2023 15:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511ef449-3265-4e9c-b9b1-4ee89d1fddb2</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Beside the academical general benefit, did you try to get&amp;nbsp; the amount of energy spend in that peaks? Sometimes such peaks are that small, that investigations do not really pay off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>