<?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-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42566/nrf52-dk-with-hrm-application---expected-average-current</link><description>Hello, DevZone, 
 I have programmed an nRF52-DK with the unmodified SDK&amp;#39;s ble_app_hrs_pca10040_s132 (heart rate monitor) BLE peripheral application. I also have a Power Profiling Kit to measure the current. I have cut SB9 as directed so that the PPK can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jan 2019 13:48:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42566/nrf52-dk-with-hrm-application---expected-average-current" /><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166261?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 13:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea585aed-90a2-439b-ab19-2a2b4f553aad</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I found this link that may be useful for others that find this thread in future:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;https://devzone.nordicsemi.com/b/blog/posts/optimizing-power-on-nrf52-designs&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166254?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 13:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbc1b2d0-4ad0-43fe-940b-1dd152827bb2</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;I appreciate the help, no matter how small.&amp;nbsp; Thanks, Kenneth!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166223?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 12:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f7095d-67a6-49f0-9c6f-4e02fcc1a324</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Not sure how much help I was in this case, but good an FAE stepped in an found that dcdc was not enabled by default. I have reported it internally (NRFFOETT-2213).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166096?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 21:30:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:755d4208-c11c-428b-a8d1-2c01981bc6fe</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Kenneth and DevZone,&lt;/p&gt;
&lt;p&gt;I got some help from my local FAE, and he confirmed that he saw similar current values to what my setup was reporting.&lt;/p&gt;
&lt;p&gt;Further, he indicated that enabling the DC-DC converter could reduce the current consumption by ~40%.&amp;nbsp; This was accomplished by adding the line:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE);&lt;/p&gt;
&lt;p&gt;right after the call to advertising_start(erase_bonds); in main.c.&lt;/p&gt;
&lt;p&gt;After rebuilding the project in Release mode, reprogramming my nRF52-DK, and reinstalling the PPK, the average current during advertising dropped to about 370 uA.&amp;nbsp; Much better!&amp;nbsp; Very grateful for the excellent help on this.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1547674182376v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Some other techniques can evidently be used to reduce power further, including disabling the UART logging, and increasing the advertising interval and connection interval.&amp;nbsp; I will continue to experiment, but this one call made a huge difference in average current draw.&lt;/p&gt;
&lt;p&gt;Thanks for the help, Kenneth and Nordic!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166048?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 15:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1eba778-3d78-416a-8fa0-249b9e0659aa</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Yes, after programming the Release configuration, I power cycled the nRF-DK board.&amp;nbsp; LED1 starts blinking indicating that advertising has started.&lt;/p&gt;
&lt;p&gt;I then started nRF Connect and launched the Power Profiler.&amp;nbsp; I selected the serial port (COM8).&lt;/p&gt;
&lt;p&gt;I then get a confirmation dialog that asks &amp;quot;Would you like to program the development kit on COM8 (682153254) with the required firmware?&amp;quot;&amp;nbsp; I&amp;#39;m not sure why this is happening.&amp;nbsp; Can you explain?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I say Yes, I get notifications in the Log window &amp;quot;Failed to read PPK metadata&amp;quot; and &amp;quot;Failed to start the PPK&amp;quot;.&amp;nbsp; I exited nRF Connect and re-ran it, launching the Power Profiler again.&amp;nbsp; Same Log messages.&amp;nbsp; After restarting Power Profiler the third time, I get a Log message indicating &amp;quot;PPK started&amp;quot;.&amp;nbsp; When I click Start within the Power Profiler, I can see the advertising and my average current is around 582 uA.&lt;/p&gt;
&lt;p&gt;Am I doing something wrong?&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166043?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb21e424-99a1-4258-aedb-1808f553b8a0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;First a question, have you power cycled the board to avoid it is still in debug mode after programming the firmware?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166042?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caab03cc-bb42-4100-84d3-7a21920f2863</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Kenneth, I did a quick search through sdk_config.h to see what logs are enabled.&amp;nbsp; I found the following:&lt;/p&gt;
&lt;p&gt;C:/Nordic_Semi/nRF5_SDK_15.2.0/examples/ble_peripheral/ble_app_hrs/pca10040/s132/config/sdk_config.h:#define NRF_LOG_ENABLED 1&lt;br /&gt;C:/Nordic_Semi/nRF5_SDK_15.2.0/examples/ble_peripheral/ble_app_hrs/pca10040/s132/config/sdk_config.h:#define NRF_SDH_BLE_LOG_ENABLED 1&lt;br /&gt;C:/Nordic_Semi/nRF5_SDK_15.2.0/examples/ble_peripheral/ble_app_hrs/pca10040/s132/config/sdk_config.h:#define NRF_SDH_LOG_ENABLED 1&lt;br /&gt;C:/Nordic_Semi/nRF5_SDK_15.2.0/examples/ble_peripheral/ble_app_hrs/pca10040/s132/config/sdk_config.h:#define NRF_SDH_SOC_LOG_ENABLED 1&lt;br /&gt;C:/Nordic_Semi/nRF5_SDK_15.2.0/examples/ble_peripheral/ble_app_hrs/pca10040/s132/config/sdk_config.h:#define PM_LOG_ENABLED 1&lt;/p&gt;
&lt;p&gt;Could these have an impact on the average current?&amp;nbsp; I am new to the nRF52 and SDK, so I am not even sure what these defines actually control.&amp;nbsp; Do they generate output via the UART, or via the Segger JLink RTT?&lt;/p&gt;
&lt;p&gt;Apologies for the &amp;quot;newbie&amp;quot; questions, but I am trying to get up the learning curve, which seems a bit steep at the moment!&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/166025?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfda0692-351c-49db-968d-95c74f2e649b</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Thanks for the pointer, Kenneth.&amp;nbsp; I do not understand what could be wrong with my configuration.&amp;nbsp; I am trying to use the &amp;quot;stock&amp;quot; ble_app_hrs_pca10040_s132 heart rate monitor peripheral.&amp;nbsp; I am using nRF5_SDK_15.2.0_9412b96.&amp;nbsp; I have selected the Release configuration in Segger Embedded Studio, done a rebuild, and have then selected Build and Run&lt;/p&gt;
&lt;p&gt;Perhaps there are peripherals turned on that I&amp;#39;m not aware of, or do not fully understand the purpose of.&amp;nbsp; One example is in sdk_config.&amp;nbsp; NRF_LOG_ENABLED is defined to 1.&amp;nbsp; Could that be generating unexpected UART traffic that is driving the current up?&lt;/p&gt;
&lt;p&gt;I have attached my sdk_config.h.&amp;nbsp; Would it be possible for you to run this example with the PPK to see if you get similar current measurements to what I am seeing?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0523.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../0523.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52-DK with HRM application - expected average current?</title><link>https://devzone.nordicsemi.com/thread/165944?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 11:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e2edf01-c99d-49a6-a00b-3e3dd58cea1d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you disable debugging output and don&amp;#39;t have other peripheral activity (uart, spi, twi), then the chip should draw the current shown here:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/power/"&gt;https://devzone.nordicsemi.com/power/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>