<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88216/how-to-get-low-current-consumption-nrf52840</link><description>HI 
 I am using this sequence functions in my main loop for low current consumption 
 __SEV(); __WFE(); __WFE(); 
 
 normally I have 13mA in my application when I am using those functions my current is 7.8 mA 
 but the velocity process get down in my</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 13 Jun 2022 11:48:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88216/how-to-get-low-current-consumption-nrf52840" /><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/372126?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 11:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72749397-ba79-4675-a7a5-3040d0293175</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems like snprintf() is dependent on retarget.c which overwrites the stido library such as fput and fcget to use UART commands such as app_uart_get() and app_uart_put(). Which means that if you want to disable UART to save current consumption then you would also have to omit the usage of snprintf().&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/371946?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 16:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a23ea933-bf75-448e-b6f8-e9173d46d5e0</guid><dc:creator>user109511</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;yes, sure&amp;nbsp;&lt;/p&gt;
&lt;p&gt;when I comment uart_init in my application, don&amp;#39;t works , but dont shows a specific error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654874752171v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;sdk_config is disabled uarte, and i dont have a problem abaut this&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654875068801v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;but if is diabled this app_uart_enable&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654875236012v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;shows this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;linking...
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_get (referred from main.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_put (referred from main.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 2 error messages.
&amp;quot;.\_build\nrf52840_xxaa.axf&amp;quot; - 2 Error(s), 6 Warning(s).
Target not created.
Build Time Elapsed:  00:00:52&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;i comented all about uart_init&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_get (referred from retarget.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol app_uart_put (referred from retarget.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 2 error messages.
&amp;quot;.\_build\nrf52840_xxaa.axf&amp;quot; - 2 Error(s), 3 Warning(s).
Target not created.
Build Time Elapsed:  00:00:03&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;i need to send and receive data over NUS, thats why&amp;nbsp; im using ble_uart example , but dont use the serial port tx/rx&amp;nbsp;&lt;/p&gt;
&lt;p&gt;im using this for to send data nrf52 to appNordic&lt;/p&gt;
&lt;p&gt;&lt;span&gt;memset(printf_buffer, 0x00, sizeof(printf_buffer));&lt;/span&gt;&lt;br /&gt;&lt;span&gt;snprintf(printf_buffer, 10, &amp;quot;E1&amp;quot;);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;length = strlen(printf_buffer);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;uint32_t err_code = ble_nus_data_send(&amp;amp;m_nus, (uint8_t *)printf_buffer, &amp;amp;length, m_conn_handle);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i comented&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uart_init&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uart_event_handle&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks and regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/371903?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 12:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81f5f935-a23b-4fc6-aed5-f4a2b614c421</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you specify what error you get? It would be great if you could share the error log?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/371734?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 18:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55ea8c37-140c-4abf-9e7e-ef0d043917fc</guid><dc:creator>user109511</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Aah ok,&amp;nbsp; you right, I disabled&amp;nbsp; uart, from sdk_config, And now I have low&amp;nbsp; consumption,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but sometimes i have a error when i am using this, &amp;quot;snprintf&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;memset(printf_buffer, 0x00, sizeof(printf_buffer));&lt;br /&gt; snprintf(printf_buffer, 10, &amp;quot;E1&amp;quot;);&lt;br /&gt; length = strlen(printf_buffer); &lt;br /&gt; uint32_t err_code = ble_nus_data_send(&amp;amp;m_nus, (uint8_t *)printf_buffer, &amp;amp;length, m_conn_handle);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for your help&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/371303?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 08:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae4cb8a1-80eb-47d5-af73-3362c85ef233</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The ble_app_uart example has not been power optimized. If you want to decrease current consumption, then you can adjust the advertising parameters such as the increasing the advertising interval and decreasing the TX power, you could also turn off the logger module.&amp;nbsp;&lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/78759/ble_app_uart-example-sdk-17-0-2_d674dde-draw-too-much-current"&gt;Here &lt;/a&gt;is a thread that sum up some suggestions for decreasing the current consumption for the ble_app_uart example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/370936?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 16:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2d35fa6-6cb3-4b4a-9289-6f42b61f06a0</guid><dc:creator>user109511</dc:creator><description>&lt;p&gt;HI jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested ble_app_beacon example , and the consumption was 0.3mA thats good, i am using ble_app_uart example, what is the diference? because i tested&amp;nbsp; ble_app_uart with two gpiote interrupts I am not using the serial port tx and rx,&amp;nbsp; only to receive messages over NUS , and the consumption was 1.2mA, do I need to disable&amp;nbsp; something? is my firts time using nrf52840 xd&lt;/p&gt;
&lt;p&gt;regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/370115?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 07:35:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69509d7e-58f7-491f-ba97-9faccc32737a</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have a nRF52 development kit that you can test application on? How do you differentiate the current consumed by the nRF52 and the ICM 20948?&lt;/p&gt;
[quote user="Marcos Tadeo"]&lt;p&gt;i am using ble_app_uart example , the ICM20948 is a fall detect application and I send a message by BLE when fall is detected&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using both scanning and connection BLE, nrf_calendar also,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;we detected possibly ICM20948 is the problem, because, I tested&amp;nbsp; ble app uart example with two buttons ,&lt;/p&gt;
&lt;p&gt;the buttons send a message over NUS, and the consumption was 1.3 mA&amp;nbsp; avg, the icm20948 manufacturer in their data sheet says the current consumption should be 1.26mA&amp;nbsp; &amp;nbsp;, I measure the device and the consumption was 7mA, I will check your guide , and test again&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;1.2 mA avg current for unmodified ble_app_uart is high. Can you test unmodified ble_app_beacon example too?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/369629?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 23:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:add12662-936f-4ce4-b615-87d872ef9100</guid><dc:creator>user109511</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the icm 20948 consumption is 7mA&lt;/p&gt;
&lt;p&gt;the module nrf52 3.1 mA, if i use the sequense&amp;nbsp;&lt;span&gt;&amp;nbsp;__SEV(), WFE(), WFE();&amp;nbsp; the current is .8mA but the process i little bit&amp;nbsp; slow&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/369600?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 15:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88ef03d1-2336-4e5b-82d1-c3e39f4c4daa</guid><dc:creator>user109511</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;i am using ble_app_uart example , the ICM20948 is a fall detect application and I send a message by BLE when fall is detected&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using both scanning and connection BLE, nrf_calendar also,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;we detected possibly ICM20948 is the problem, because, I tested&amp;nbsp; ble app uart example with two buttons ,&lt;/p&gt;
&lt;p&gt;the buttons send a message over NUS, and the consumption was 1.3 mA&amp;nbsp; avg, the icm20948 manufacturer in their data sheet says the current consumption should be 1.26mA&amp;nbsp; &amp;nbsp;, I measure the device and the consumption was 7mA, I will check your guide , and test again&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;sorry my English is not good&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/369439?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 07:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e73baee-e34e-4b86-a2c1-752e8df4ed14</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have this guide for the &lt;a href="https://test-devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;nRF52 &lt;/a&gt;series.&amp;nbsp;&lt;/p&gt;
[quote user="Marcos Tadeo"]ICM20948 and BLE is always turn on,&amp;nbsp; normally ssd1306 and max30101 is shutdown,&amp;nbsp; &amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;Are you advertising/scanning or in a connection?&lt;/p&gt;
&lt;p&gt;What do you measure if you flash the chip with the unmodified ble_app_beacon example from the SDK?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/369343?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 15:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:957f682c-d45a-4b66-a8f0-3b2551013e2e</guid><dc:creator>user109511</dc:creator><description>&lt;p&gt;HI Jared&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Not really, I am using a generic module (BAST), the 7mA&amp;nbsp; is current from ICM-20948(gyroscope and accelerometer) then 0.8 to 1mA is possibly of module , i am no sure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using different sensor devices , SSD1306(spi), MAX30101(I2C),ICM20948(I2C),&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ICM20948 and BLE is always turn on,&amp;nbsp; normally ssd1306 and max30101 is shutdown,&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if i dont use&amp;nbsp;&lt;span&gt;&amp;nbsp;__SEV(), WFE(), WFE(); the consumption is 13 mA with the module and ICM20948 turn on , then i have no idea why&amp;nbsp;, in my application i need the ICM always turn on,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="170" src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653403725853v1.jpeg" width="170" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I saw this guide &amp;quot;&lt;a href="https://test-devzone.nordicsemi.com/guides/short-range-guides/b/hardware-and-layout/posts/nrf51-current-consumption-guide"&gt;current consumption guide&lt;/a&gt;&amp;quot;&amp;nbsp;but I don&amp;#39;t have results&amp;nbsp;&lt;/p&gt;
&lt;p&gt;do you have other guide ? or example ?&lt;/p&gt;
&lt;p&gt;thanks and regards&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low current consumption nrf52840</title><link>https://test-devzone.nordicsemi.com/thread/369244?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 11:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38931917-bfef-4a92-b38f-5ee6e3245357</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;7 mA in sleep is a lot. Are you using a custom board or a development kit? There is no need to call __SEV(), WFE(), WFE() and&amp;nbsp;idle_state_handle() as they effectively do the same.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>