<?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>BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85954/bl652-vs-nrf52832-dk---current-draw-configuration-differences</link><description>Hello, 
 I have been developing on a nRF52832 DK using nRF5 SDK v17.1.0, and am very close to a production ready state. The final program will use soft devices, app_timers, and multiple uart connections across peripherals and central connections. Because</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Apr 2022 08:21:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85954/bl652-vs-nrf52832-dk---current-draw-configuration-differences" /><item><title>RE: BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/thread/361413?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 08:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:166f4f55-011e-4ac9-ac66-a8aa4d52b456</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry about the late reply, but I&amp;#39;ve been out of office for the last few days, and are just getting to my backlog.&lt;/p&gt;
&lt;p&gt;Just to make sure, you set the defines I mentioned to 0 instead of 1 in your sdk_config.h file, right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the GPIOs being left &amp;quot;open&amp;quot;, are they in a floating state? If they are, and they&amp;#39;re connected to peripheral devices, that might explain the current draw. As explained in the nRF52 power optimization guide I linked to earlier, the default &amp;quot;from reset&amp;quot; state of GPIOs are as disconnected inputs. Have you configured them as something else? Unused pins should be left in their default state and physically disconnected to draw no current.&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: BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/thread/360614?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 18:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3def9b1-b0ae-4e04-9ae4-73ba620a7358</guid><dc:creator>smartventSystems</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I made those changes to the sdk_config.h, ensured that the sdk_config was the one that was being used, and it still draws the same current (~0.5mA).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are there any other peripherals that might be drawing power? All of the GPIO pins are left open.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/thread/360206?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 09:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe43ebb-d608-48b0-b1a3-e444316672d6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Indeed, scanning will draw a lot of current, and the ~0.5mA current consumption is very likely a peripheral (like the UART or similar) drawing current. Can you try turning off the defines enabling logging in your sdk_config.h file? Here are the ones I found that are enabled in your attached sdk_config.h file:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_LOG_ENABLED&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_SDH_BLE_LOG_ENABLED&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_SDH_LOG_ENABLED&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_SDH_SOC_LOG_ENABLED&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;PM_LOG_ENABLED&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&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: BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/thread/359674?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 21:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47124c6f-728d-4bf6-aac7-ed196f9097cc</guid><dc:creator>smartventSystems</dc:creator><description>&lt;p&gt;I was able to find that the uart_init() would draw an extra 350uA or so on the BL652 chip. Is there anything on my code that I could get rid of to reduce power consumption? I thought I already disabled UART logging. Does the UART&amp;nbsp;peripheral&amp;nbsp;usually draw this amount of current? Because I have this active for the development kit, and I&amp;#39;m not getting this much current while it&amp;#39;s running there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void uart_init(void)
{
    uint32_t                     err_code;
    app_uart_comm_params_t const comm_params =
    {
        .rx_pin_no    = RX_PIN_NUMBER,
        .tx_pin_no    = TX_PIN_NUMBER,
        .rts_pin_no   = RTS_PIN_NUMBER,
        .cts_pin_no   = CTS_PIN_NUMBER,
        .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
        .use_parity   = false,
#if defined (UART_PRESENT)
        .baud_rate    = NRF_UART_BAUDRATE_115200
#else
        .baud_rate    = NRF_UARTE_BAUDRATE_115200
#endif
    };

    APP_UART_FIFO_INIT(&amp;amp;comm_params,
                       UART_RX_BUF_SIZE,
                       UART_TX_BUF_SIZE,
                       uart_event_handle,
                       APP_IRQ_PRIORITY_LOWEST,
                       err_code);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/thread/359672?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 21:03:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a251451-a8e2-4bc4-86ef-b3aefa8e792d</guid><dc:creator>smartventSystems</dc:creator><description>&lt;p&gt;Thanks for the prompt reply,&lt;/p&gt;
&lt;p&gt;Update: I found out that the BL652 central scanning was drawing the super high 4-5mA. When connected to its peripheral, this drops to around 0.4-0.7mA. This is still much higher than expected though, so I&amp;#39;m sure something is still amiss.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, the project still runs properly on the BL652 even though current draw is off.&lt;/p&gt;
&lt;p&gt;I am measuring the current draw via a multimeter right at the power input lead to my board (which is a direct PCB connection into the power pin for the BL652 chip). The average current consumption on the development kit (using the exact same code and configurations) is around 4uA - 15uA when connected.&lt;/p&gt;
&lt;p&gt;I have tried switching the DCDC on and off, and it has no visible impact on current draw.&lt;/p&gt;
&lt;p&gt;I have attempted some of the applicable suggestions in the link you provided - I have turned off NRF_LOG_BACKEND_UART already prior, and even ran&amp;nbsp;sd_power_system_off(). Doing this, the current draw on my&amp;nbsp;project became 0.7mA (or around the same as if it were connected) . Doing this on the blinky project running on the BL652 still drew current of 13uA instead of the couple hundred nA.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;At this point, I&amp;#39;m assuming that there is some peripheral that is running in the background - would there be any peripherals on the BL652 chips that could be activated while the same configurations do not activate them on the development kit?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Are the GPIO outputs draining power on the BL652 when not configured, not connected, and not powered compared to the pinouts on the development kit?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BL652 vs nRF52832 DK - Current Draw Configuration Differences</title><link>https://devzone.nordicsemi.com/thread/358894?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 14:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:082f4653-4203-4510-91bf-b3006a6d7f7e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;First off, how are you measuring the current consumption on your DK and module exactly? What is the average current consumption on the DK side of things? Does the application still run as expected on the BL652 even though the current draw is off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An average of 4-5mA sounds incredibly high, and the only thing drawing that amount of current constantly would be the CPU running constantly, so it seems the device doesn&amp;#39;t go into sleep mode between advertisements. Simply changing the LF clock source and accuracy should not cause this big of a change in current consumption. However, enabling the DCDC if you don&amp;#39;t have the necessary inductors on the DCC pin in your design will likely cause trouble, and might cause a big current draw, but if that&amp;#39;s the case, the application shouldn&amp;#39;t run as expected either. If you&amp;#39;d like I can do a review of the schematics of your custom board with this module.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;Here is a guide on optimizing current consumption on nRF52 designs&lt;/a&gt;. Try some of the suggestions there as well to see if you&amp;#39;re able to run it as intended.&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>