<?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>Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72770/intermittent-high-current-consumption-in-sleep</link><description>I have a custom board based on NRF52811. Salient features:- 
 Both HF and LF crystals are present on board. 
 Power supply is 3.3V. 
 MCU DC-DC is enabled. 
 
 I am using Apache Mynewt OS for the software and to test the low power capability in sleep</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Mar 2021 10:31:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72770/intermittent-high-current-consumption-in-sleep" /><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/300635?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 10:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0f6679-65ad-4f6c-9e86-1f14175689df</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Glad to hear that Navaneeth! I will close this case then.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/300552?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 02:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045c47da-1d11-430d-9521-2714cc825c8f</guid><dc:creator>navan93</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This issue has been resolved. It was a leakage in the PCB which after some rework has been fixed.&lt;/p&gt;
&lt;p&gt;Thank you very much for your time and support.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Navaneeth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/300268?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 02:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c30311b8-7ae9-4bd0-b0e3-d1b31e6984e7</guid><dc:creator>navan93</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;There is no particular reason why I used __DSB(); and __WFI(); , its just how it was there in the OS that I am using.&lt;/p&gt;
&lt;p&gt;I have also tried with NRF SDK15.3 using the &amp;quot;examples\peripheral\blinky\pca10056e\blank\ses&amp;quot; project , however I am seeing the same behavior.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/** @file
 *
 * @defgroup blinky_example_main main.c
 * @{
 * @ingroup blinky_example
 * @brief Blinky Example Application main file.
 *
 * This file contains the source code for a sample application to blink LEDs.
 *
 */

#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;boards.h&amp;quot;

/**
 * @brief Function for application main entry.
 */
int main(void)
{
    /* Configure board. */
    //bsp_board_init(BSP_INIT_LEDS);

    /* Toggle LEDs. */
    while (true)
    {
        __DSB();
        __WFI();
        //for (int i = 0; i &amp;lt; LEDS_NUMBER; i++)
        //{
        //    bsp_board_led_invert(i);
        //    nrf_delay_ms(500);
        //}
    }
}

/**
 *@}
 **/&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also tried using&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;{
    __SEV();
    __WFE();
    __WFE();
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;instead of __DSB(); and __WFI();. But as you already mentioned that did not make a difference.&lt;/p&gt;
&lt;p&gt;Also will you be able to check this same code on a board at your end?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Navaneeth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/300167?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 14:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bfb816e-1945-4e07-a5b3-08ca2c597323</guid><dc:creator>navan93</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I will try to replicate this using the nrf sdk as well.&amp;nbsp;&lt;br /&gt;The current measurements were done using an Ammeter only. I did not clearly understand what you are referring to regarding measure using Ampere meter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/300103?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 11:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f08ed7e0-388f-4912-84ce-19c9622e3acf</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;That sounds very strange indeed. Is there any reason you&amp;#39;re using __DSB(); and __WFI(); instead of the more &amp;quot;conventional&amp;quot; loop?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    {
        __SEV();
        __WFE();
        __WFE();
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t see why this would make a difference.&amp;nbsp;I&amp;#39;m not familiar with the OS you&amp;#39;re using, can you confirm that the current consumption is the same using an Ampere-meter for instance? As this is better for long term current consumption over time?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/299980?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 02:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f3c711e-a8a1-47d3-ae0b-4b48220b071a</guid><dc:creator>navan93</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thank you for your quick response.&lt;/p&gt;
&lt;p&gt;No I do not use any radio/BLE functionality. Basically this is all that is there in my main code. None of the timers are enabled nor is any other peripheral. Still I am seeing this periodic increase in Iq.&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace, &amp;#39;Droid Sans Fallback&amp;#39;;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;int&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#dcdcaa;"&gt;main&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;(&lt;/span&gt;&lt;span style="color:#569cd6;"&gt;void&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#c586c0;"&gt;while&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; (&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;1&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#dcdcaa;"&gt;__DSB&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#dcdcaa;"&gt;__WFI&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#6a9955;"&gt;// Should never come here.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#c586c0;"&gt;return&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;0&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Intermittent High current consumption in sleep</title><link>https://devzone.nordicsemi.com/thread/299795?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 13:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c01470bf-401b-47da-80bc-3ffd863d34fe</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Navaneeth&lt;/p&gt;
&lt;p&gt;Does your application use the radio for BLE or similar at all? How exactly do you put the device to sleep? Do you use the functions from the SDK to go to sleep, I.E. the idle_state_handle() which is used in most of our example projects. It prepares devices for sleep mode before calling the&amp;nbsp;nrf_pwr_mgmt_run() function.&lt;/p&gt;
&lt;p&gt;This doesn&amp;#39;t sound like any of our errata, but it might be that a timer wakes up for some reason after 2 minutes in your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>