<?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>About current consumption nrf52810 in idle mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66626/about-current-consumption-nrf52810-in-idle-mode</link><description>Hi, 
 I try to use the online power profiler to estimate the current consumption in both connected mode and advertising mode. 
 The setup for my online power profiler is as below: 
 
 However, the current consumption on my real board get a average current</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Oct 2020 15:25:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66626/about-current-consumption-nrf52810-in-idle-mode" /><item><title>RE: About current consumption nrf52810 in idle mode</title><link>https://devzone.nordicsemi.com/thread/273557?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 15:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:296963db-5eb7-4e48-ac5d-ceca866e00c7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you using a custom board? Are you able to reproduce the same behavior on a nRF5x DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About current consumption nrf52810 in idle mode</title><link>https://devzone.nordicsemi.com/thread/273545?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 14:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27e226aa-2ef3-4cba-8d33-7c9da2b80aaf</guid><dc:creator>Jones</dc:creator><description>&lt;p&gt;I didn&amp;rsquo;t enabled that.&lt;/p&gt;
&lt;p&gt;I have tried enabled it and then set &amp;ldquo;false&amp;rdquo; in the app_button_cfg_t, the current still not reducing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About current consumption nrf52810 in idle mode</title><link>https://devzone.nordicsemi.com/thread/273543?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 14:43:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a30de408-f50f-4adb-8376-c8fc0093cf27</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;20 uA does not sound like leakage current from GPIO pull resistors, those should have been higher. Can you check if you have the config &amp;quot;BUTTON_HIGH_ACCURACY_ENABLED&amp;quot; set in your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About current consumption nrf52810 in idle mode</title><link>https://devzone.nordicsemi.com/thread/272855?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 04:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e49f349-8bfb-4c65-94e9-6073ffdbfab0</guid><dc:creator>Jones</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry for the late reply.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am able to lower the current consumption by disabling the nrf_log, thank you very much.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, I got another problem which is related to GPIO.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I got a sensor which has a push-pull output pin to tell me on/off status of some other part.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have already configured the my input pin into &amp;quot;NRF_GPIO_PIN_NOPULL&amp;quot;. But when the input pin is LOW, the current consumption still 20uA higher than that when the input is HIGH.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have already checked that if I disconnected the sensor output pin from nrf52810 (the sensor still power on), no matter the output pin is high or low, the current consumption remains the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I suspect it is gpio setting problem. Below is my app_button init code:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void buttons_init(void)
{
    ret_code_t err_code;

    static app_button_cfg_t buttons[] =
    {
        {SENSOR_INPUT, false, NRF_GPIO_PIN_NOPULL, button_event_handler},
    };
    
    err_code = app_button_init(buttons, ARRAY_SIZE(buttons), APP_TIMER_TICKS(50));
    APP_ERROR_CHECK(err_code);
    
    err_code = app_button_enable();
    APP_ERROR_CHECK(err_code);
}

static void button_event_handler(uint8_t pin_no, uint8_t button_action)
{
    ret_code_t err_code;

    switch (pin_no)
    {
        case SENSOR_INPUT:
        if(button_action == APP_BUTTON_PUSH)
        {
            NRF_LOG_INFO(&amp;quot;SENSOR_LOW&amp;quot;);
        }
        else
        {
            NRF_LOG_INFO(&amp;quot;SENSOR_HIGH&amp;quot;);
        }
        break;

        default:
            APP_ERROR_HANDLER(pin_no);
            break;
    }
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jones&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About current consumption nrf52810 in idle mode</title><link>https://devzone.nordicsemi.com/thread/272765?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 14:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dbe2fe8-e282-4944-9b33-c36d0de8f1cf</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you running your tests on one of our DKs, or on your own custom board? If testing on your custom board I would recommend you to do the measurements on a DK as well, to make sure that it is not the board itself drawing excessive current.&lt;/p&gt;
&lt;p&gt;1. Typically if you see (significantly) higher current than the estimated average, there is some peripheral running in your application drawing excessive current. A typical example is that the NRF_LOG module could be enabled, or you have added some serial interface (SPI/TWI/etc.) to gather sensor data, etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. By default, the examples in the SDK are configured to use external crystal for the LFCLK source. This post shows how to change it to internal RC oscillator. Note that you must have the 32.768 kHz crystal on the board to utilize this.&lt;/p&gt;
&lt;p&gt;3. The chip will not enter low power mode unless you tell it to do so in your code. If you are using the power management library (nrf_pwr_mgmt), a call to&amp;nbsp;nrf_pwr_mgmt_run() is typically run in an endless loop inside main() to put the CPU in sleep mode whenever no other tasks needs to be handled. You can also enter System ON sleep mode by calling _WFE() directly.&lt;/p&gt;
&lt;p&gt;4. The DC-DC converter can typically reduce the high-currents generated by the radio and other peripherals with high power demands, especially when powering the chip on the higher end of the supported supply voltage range. Note that the DC-DC converter will only be activated by the chip when it is the most efficient option. Enabling DC-DC will not reduce sleep currents. Again, DC-DC requires additional external components, so you should make sure you have these mounted if using a custom board, before enabling this option. The simples code to enable DC-DC converter is to add this line at the start of your main() function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_POWER-&amp;gt;DCDCEN = 1;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>