<?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 LFCLK ~40 uA consumption with SRC=Xtal</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38348/nrf52-lfclk-40-ua-consumption-with-src-xtal</link><description>Hello, 
 I&amp;#39;m seeing higher than expected power consumption when running an RTC peripheral using LFXO as the LFCLK source compared to using the internal RC. Specifically, I&amp;#39;m observing a constant ~40 uA current consumption using the external 32 kHz Xtal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 13:33:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38348/nrf52-lfclk-40-ua-consumption-with-src-xtal" /><item><title>RE: nRF52 LFCLK ~40 uA consumption with SRC=Xtal</title><link>https://devzone.nordicsemi.com/thread/149061?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 13:33:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3c1f5f-f67d-46b2-b8fe-150bb3a48b06</guid><dc:creator>damaki</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Thanks for testing these on your end. It&amp;#39;s good to know that with a power analyzer the current consumption meets my original expectation.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll get a newer version of the DK for performing current measurements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 LFCLK ~40 uA consumption with SRC=Xtal</title><link>https://devzone.nordicsemi.com/thread/149037?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 12:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47754541-9f57-4e9a-97d8-b4c0a28322b1</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I tried measuring both of the hex files on a Preview DK with the eng. A chip revision as you are referring to. With a Power analyzer I got 3-4 µA on both the hex files you sent. And with the PPK I got 44 uA on both hex files.&lt;/p&gt;
&lt;p&gt;I recommend you to get a newer version of the DK. The DK version corresponding to QIAAAA (eng A) was the first version released and it was not very stable. Not really sure where the 40 µA comes from but this is not related to LFXO vs LFRC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 LFCLK ~40 uA consumption with SRC=Xtal</title><link>https://devzone.nordicsemi.com/thread/148176?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 11:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2916a50d-d418-4a95-970f-0bf0f2cb615b</guid><dc:creator>damaki</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Thanks for the reply and suggestion.&lt;/p&gt;
&lt;p&gt;I am already checking the that the LFCLK is starting before using the RTC with the same code you posted (start the LFCLK, wait for it to start, then clear the event). I have also confirmed that the LFCLK is starting correctly and with the correct source by inspecting the CLOCK registers via a debugger once the code has started.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached the two hex files using the LFRC or LFXO clock source. I built these by only changing the line of code which sets the LFCLKSRC register. The attached programs should both blink LED2 with a period of 500 ms on, 500 ms off.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinky_5F00_lfrc.hex"&gt;devzone.nordicsemi.com/.../blinky_5F00_lfrc.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinky_5F00_lfxo.hex"&gt;devzone.nordicsemi.com/.../blinky_5F00_lfxo.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 LFCLK ~40 uA consumption with SRC=Xtal</title><link>https://devzone.nordicsemi.com/thread/148165?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 10:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:156611a9-934d-4649-8fb8-aa3b568c0761</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Did you add any checks to determine that the LF crystal is actually starting up? It needs to start up before you can enable the RTC. Something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;
while(NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0){}
NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If this is not working, can you please post the hex file here, both the LFXO and the LFRC one. Then I can try to measure here on a preview DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 LFCLK ~40 uA consumption with SRC=Xtal</title><link>https://devzone.nordicsemi.com/thread/148067?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 14:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c9e2c41-b64a-424b-b933-63515b0de88e</guid><dc:creator>damaki</dc:creator><description>&lt;p&gt;Some additional information:&lt;/p&gt;
&lt;p&gt;The chip marking is: N52840 Q1AAAA 1716AK&lt;/p&gt;
&lt;p&gt;I perform the same errata workarounds in my startup code from system_nrf52840.c in the nRF5 SDK. I.e the workarounds for erratas 36, 66, 98, 103, 115, 120, and 136.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>