<?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>nRF52 idle current in timeslot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20737/nrf52-idle-current-in-timeslot</link><description>Hi, 
 I have an application running on a nRF52832, roughly based on the OpenMesh ( github.com/.../nRF51-ble-bcast-mesh) code with respect to the timeslot API usage. In one test I disabled the RADIO and HF crystal and looked at the current consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Mar 2017 15:31:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20737/nrf52-idle-current-in-timeslot" /><item><title>RE: nRF52 idle current in timeslot</title><link>https://devzone.nordicsemi.com/thread/80925?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 15:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec77f7ae-e41c-4b3b-a7d9-f2278d51fe2b</guid><dc:creator>Thiemo van Engelen</dc:creator><description>&lt;p&gt;OK... Some more observations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Changing to constant latency mode in the beginning of the timeslot does not increase the current consumption in the timeslot, but does increase the current consumption outside of the timeslot such that they are almost the same level. From this I draw the conclusion that the thing drawing the current in the timeslot stays active outside of the timeslot when constant latency is enabled.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Changing the prescaler of TIMER0 to 0 does increase the current consumption quite a lot, but changing to 1 does not increase the consumption a lot. Apparently, the consumption of the timer is more related to the prescalar intself than its clock source (PCLK1M vs PCLK16M).&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 idle current in timeslot</title><link>https://devzone.nordicsemi.com/thread/80927?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 14:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55ef2890-6023-4dab-9bc2-451aa5353b2f</guid><dc:creator>Thiemo van Engelen</dc:creator><description>&lt;p&gt;It looks like the current is fully caused by TIMER0 and HFCLK, apparently requiring more current then specified in the product specification.&lt;/p&gt;
&lt;p&gt;I concluded this by stopping TIMER0 (using TASKS_SHUTDOWN) a bit before really ending the timeslot by starting RTC2 on the TIMER0 interrupt, waiting 2msec for the RTC2 interrupt, signaling the RADIO interrupt, triggering a timeslot radio signal callback where the timeslot is ended and rescheduled. In the period between disabling TIMER0 and the real ending of the timeslot, the idle current was the same as when the timeslot was ended and thus much lower (200 uA) than when TIMER0 was still running.&lt;/p&gt;
&lt;p&gt;Possible causes for the excess current consumption:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The current consumption of TIMER0 is a lot more than 5 uA.
Perhaps the automatic selection of PCLK16M vs PCLK1M fails in this case. I will test this by setting the prescalar to 8 instead of 16. This should lead to increases current usage while the timer is running. If this is not the case, the automatic selection is faulty.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The current consumption of HFINT is a lot more than 60 uA&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The HFXO is still running although HFCLKSTAT says that HFINT is used.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 idle current in timeslot</title><link>https://devzone.nordicsemi.com/thread/80926?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 11:33:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d93df29-e05f-42b2-8f5a-5532859c3a76</guid><dc:creator>Thiemo van Engelen</dc:creator><description>&lt;p&gt;I found out that I did not have the DC/DC converter enabled. Enabling this reduces the difference to approx 200 uA. This still leaves around 130 uA unaccounted for, which apparently depends on the DC/DC converter regarding its power. Maybe this gives a clue on what it could be.&lt;/p&gt;
&lt;p&gt;I did check the MWU when the timeslot enters starts and the REGIONEN register is 0, so no watches are enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 idle current in timeslot</title><link>https://devzone.nordicsemi.com/thread/80924?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2017 21:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:489f335c-1eb2-476b-8b7a-b312dc2f8529</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;most probably the memory watch unit (MWU) is consuming some more. &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.Rev1.errata%2Fanomaly_832_75.html&amp;amp;cp=2_2_1_0_1_15"&gt;PAN&lt;/a&gt;.
I do not have source code at hand now, but it is possible that softdevice enables MWU when it gives control to application via timeslots. I can check later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>