<?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>Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38486/sleep-mode-power-consumption</link><description>I would like to confirm that my hardware design is correct and in addition that I am following the correct procedure to place the nRF52832 to sleep to achieve the lowest possible sleep current. I am using the standard unmodified power management example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 02:38:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38486/sleep-mode-power-consumption" /><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148892?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 02:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c469dd-9afb-4398-a137-8255e1ef8168</guid><dc:creator>fgeldenh</dc:creator><description>&lt;p&gt;Edvin - The reason why the board did not go to sleep was due to the incorrect board. With the correct board set, it works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148821?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 12:19:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9036dfc-86c0-4222-b545-62f199538411</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;As I mentioned, if you use the unmodified nrf_pwr_profiling_pca10040 with a different board (using custom_board.h) with the number of buttons defined less than 2, then it will automatically go into advertising, and not sleep. This is done in the main() function.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I did in the hex file that I sent you was to remove everything that has to do with buttons, so that it will go into sleep no matter what.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see that we were speaking of two different examples, though. I was referring to examples\ble_peripheral\ble_app_pwr_profiling, and you meant the examples\peripheral\nrf_pwr_mgmt_pca10040.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is a lot of button setup in this example. It might be that you get an assert if you don&amp;#39;t have as many button defines in that example. From your logs, it doesn&amp;#39;t look like the custom board is actually going to sleep. Try to do some debugging, and see if you can figure out why.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148765?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 09:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27209799-c4fa-4034-ae45-81eff1a81ff0</guid><dc:creator>fgeldenh</dc:creator><description>&lt;p&gt;Edvin - OK I admit that I have not read all the Nordic documentation. (There is a lot!). I have established that my issues are all related to the board configuration. If I set up a correctly formed custom_board.h, then all my issues clear up.&lt;/p&gt;
&lt;p&gt;Thank you for your assistance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148760?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 09:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcb0e427-4406-422e-aed0-3e4adf016f60</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Did you try the .hex file that I attached in the previous post?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148710?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 04:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4905d0e5-faf7-4100-8d81-d5b94d772183</guid><dc:creator>fgeldenh</dc:creator><description>&lt;p&gt;I my have not attached the files&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Images.zip"&gt;devzone.nordicsemi.com/.../Images.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148708?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 04:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:963aca72-b59c-45ef-9057-9e38500c66cc</guid><dc:creator>fgeldenh</dc:creator><description>&lt;p&gt;Edvin - Thank you for your prompt response.&lt;/p&gt;
&lt;p&gt;I am using the very simple peripheral (nrf_pwr_mgmt_pca10040) sample code. I attach two files, the one is using ublox&amp;nbsp;EVK-NINA-B1 kit which is pretty similar to the nRF52 DK, and the other is my custom board.&lt;/p&gt;
&lt;p&gt;These files depict the output from the sample code. In the case of Ublox it works as expected whilst my board does not shut down. I sent the schematic so you can look and see why there may be different behaviour.&lt;/p&gt;
&lt;p&gt;The Ublox kit has a built in Segger debugger while in my case I am using the Segger J-Link debugger.&lt;/p&gt;
&lt;p&gt;Maybe you can help me find out what the difference may be.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank You&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/custom.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode power consumption</title><link>https://devzone.nordicsemi.com/thread/148640?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 13:25:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c876083-86ee-4f4d-90ee-ecc0ad3732f5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You mean the example ble_app_pwr_profiling, from SDK\examples\ble_peripheral\ble_app_pwr_profiling, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This example, if not modified, will start advertising if the number of buttons is less than or equal to 2:&lt;/p&gt;
&lt;p&gt;#if BUTTONS_NUMBER &amp;gt; 2&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;#else&lt;/p&gt;
&lt;p&gt;m_is_notification_mode = true&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I compiled a version that does nothing but going to system off.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-dad51bbae28c42d9b41cf88440ad6cc6/nrf52832.hex"&gt;devzone.nordicsemi.com/.../nrf52832.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you please try to program the attached .hex file? It is a merge of the application and the softdevice, so you don&amp;#39;t have to program the softdevice first. If you use nrfjprog, you can just type:&lt;/p&gt;
&lt;p&gt;nrfjprog -e&lt;/p&gt;
&lt;p&gt;nrfjprog --program nrf52832.hex&lt;/p&gt;
&lt;p&gt;nrfjprog --reset&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And the application should start. Connect the PPK, and do some measurements, and see if the PCB still draws a lot of current.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>