<?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 measurements with CoAP IPv6 example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42808/power-measurements-with-coap-ipv6-example</link><description>Hello, 
 
 I am using the CoAP IPv6 example from the SDK 15.2 on a nRF52840 board. I am measuring the energy consumption with the Power Profiler Kit. My problem is that the values I get are much higher than expected, when compared to the Online Profiler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jan 2019 14:48:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42808/power-measurements-with-coap-ipv6-example" /><item><title>RE: Power measurements with CoAP IPv6 example</title><link>https://devzone.nordicsemi.com/thread/168504?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 14:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e22178d8-6490-4031-9407-b344e579037d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Olivia,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, if you&amp;#39;re performing current consumption measurements, then make sure that you disable the logging module.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The timer is created using the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/lib_iot_timer"&gt;IoT Timer&lt;/a&gt;&amp;nbsp;library and in the examples you will find the&amp;nbsp;LWIP_SYS_TICK_MS definition that sets the system clock interval. The timer is essential as&amp;nbsp;it is&amp;nbsp; periodically&amp;nbsp; servicing the LwIP protocol timers and is also used to &amp;nbsp;trigger sending on the TCP Connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think it will be hard to sync the BLE connection with the lwIP protocol timer interrupts.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power measurements with CoAP IPv6 example</title><link>https://devzone.nordicsemi.com/thread/167908?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 12:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bebd642d-d985-4bee-9cd2-f74e71afd7aa</guid><dc:creator>Olivia</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
[quote userid="7571" url="~/f/nordic-q-a/42808/power-measurements-with-coap-ipv6-example/167728"]all example applications for lwIP that are included in theSDK implement a timer[/quote]
&lt;p&gt;&lt;br /&gt;What is&amp;nbsp;exactly the purpose of this timer, how essential is it and can we modify its value? Would it be possible to synchronize its function with the connection event in order to minimize the energy consumption?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power measurements with CoAP IPv6 example</title><link>https://devzone.nordicsemi.com/thread/167752?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 17:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28d6f5a7-40c8-4a19-b964-158d1efdda1f</guid><dc:creator>Olivia</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;br /&gt;&lt;br /&gt;Thank you for the explanation. In the IoT SDK examples for CoAP, there are 2 folders: one called IPv6, the other lwIP.&amp;nbsp;Here we are talking about the IPv6 one. Does it also implement lwIP? What is the difference, then?&lt;br /&gt;&lt;br /&gt;For the power measurements, it turns out that disabling UART logging in the sdk_config.h reduced it greatly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power measurements with CoAP IPv6 example</title><link>https://devzone.nordicsemi.com/thread/167728?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 16:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42463f61-56ca-47f7-917c-798519aa5067</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Raja,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the Online Power Profiler is designed for BLE examples that only runs the SoftDevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The IoT examples does use the SoftDevice, but in addition there is a&amp;nbsp;&lt;span&gt;embedded IPv6 stack running in the application region,&amp;nbsp; also referred to as the&amp;nbsp;lwIP stack. ThelwIP requires regular servicing of the stack to check out time-outs, so all example applications for lwIP that are included in theSDK implement a timer, servicing lwIP time-outs every 100 ms.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This regular servicing in addition to the BLE stack interrupts might lead to a higher current consumption compared to a standard BLE app.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hence, the figures from the Online Power Profiler isnt directly comparable to the measured current consumption of the IoT examples. Note: These examples are also labled experimental so they might not be full optimized.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;BJørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>