<?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>Power usage nRF52840 and nRF9160dk, BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88232/power-usage-nrf52840-and-nrf9160dk-ble</link><description>Hi 
 I combine the hci_lpuart on the nRF52840 and a program that uses BLE on the nRF9160 on the nRF9160dk. I want to measure the current of this. At the moment I measure on the &amp;#39;nRF current measurement&amp;#39;-pins. I get 0.5mA using (even using CONFIG_UART_CONSOLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Jun 2022 10:02:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88232/power-usage-nrf52840-and-nrf9160dk-ble" /><item><title>RE: Power usage nRF52840 and nRF9160dk, BLE</title><link>https://devzone.nordicsemi.com/thread/370393?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 10:02:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e345078-268d-443a-ae1d-1323acadc295</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi Sarah,&lt;/p&gt;
&lt;p&gt;Calling CONFIG_SERIAL=n&amp;nbsp;would disable the UART interface that is used for communicating with the hci_lpuart that is running on the nRF52840. I think that you should also add the LPUART implementation on the nRF9160 side for it work properly.&amp;nbsp;&lt;/p&gt;
[quote user=""]. At the moment I measure on the &amp;#39;nRF current measurement&amp;#39;-pins[/quote]
&lt;p&gt;These pins only measure the current consumption of the nRF9160, not the nRF52840 included.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share your entire prj config file?&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: Power usage nRF52840 and nRF9160dk, BLE</title><link>https://devzone.nordicsemi.com/thread/369608?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 16:49:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3a8f329-1ad9-4232-9e5a-2710c22be069</guid><dc:creator>Sarah Loos</dc:creator><description>&lt;p&gt;Hey Jared&lt;/p&gt;
&lt;p&gt;Sorry for the confusion!&lt;/p&gt;
&lt;p&gt;hci_lpuart is running on nrf52840 and the peripheral hr is running on the nrf9160d. This works!! (I added the 4 lines in my config-file and in the devicetree I changed some settings).&amp;nbsp;The messages that are sent every second over BLE arrive on my phone (via nrf connect for mobile I can see the incoming messages) and I can see the current rising every second. So the program works.&lt;/p&gt;
&lt;p&gt;But now I want to reduce the power consumption. To reduce the nrf9160-current, I added&amp;nbsp;&lt;span&gt;CONFIG_UART_CONSOLE&lt;/span&gt;&lt;span&gt;=n to the nrf9160dk config-file.&lt;br /&gt;(I already worked with nb-iot and then it worked)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Considering it worked before with an nb-iot program on the nrf9160, the consumed power is&amp;nbsp;caused by the nrf52840? Is there a way to get this reduced?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope this gives a clearer picture.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sarah&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power usage nRF52840 and nRF9160dk, BLE</title><link>https://devzone.nordicsemi.com/thread/369458?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 08:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:111fd3c5-d5f0-4365-8c74-a8f1d6502530</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I combine the hci_lpuart on the nRF52840 and a program that uses BLE on the nRF9160 on the nRF9160dk.[/quote][quote user="SarahL"]The code is built up&amp;nbsp;as follows: peripheral hr is changed so it can be flashed on the nrf9160 chip (lpuart on the nrf52840) with&amp;nbsp;[/quote]
&lt;p&gt;I&amp;#39;m a bit confused on what example that runs on each chip. The nRF9160 DK has a onboard nRF52840 which supports BLE and a nRF9160 which supports LTE. The latter does not support BLE, flashing the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/peripheral_hr/README.html#peripheral-hr"&gt; peripheral HR example&lt;/a&gt;&amp;nbsp;to the nRF9160 does therefore not make sense unless you meant the onboard nRF52840. If you meant the nRF52840, what is running on the nRF9160?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Online Power Profiler user guide contains useful tips for reducing the current on the nRF9160.&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: Power usage nRF52840 and nRF9160dk, BLE</title><link>https://devzone.nordicsemi.com/thread/369279?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 12:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3a0dd8f-0ee4-4326-bf43-7a956ada641e</guid><dc:creator>Sarah Loos</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m measuring with a Joulescope (so not the PPK 2) and I use the nRF measurement pins (J22 in this case). The picture shows the measurement, after 24 seconds, my phone connected with the nRF.&lt;/p&gt;
&lt;p&gt;The code is built up&amp;nbsp;as follows: peripheral hr is changed so it can be flashed on the nrf9160 chip (lpuart on the nrf52840) with&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_2_ASYNC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_2_INTERRUPT_DRIVEN&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_2_NRF_HW_ASYNC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_2_NRF_HW_ASYNC_TIMER&lt;/span&gt;&lt;span&gt;=2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;in de config-file and (if I understand correctly) pin 17 and 18 are the rx- and tx-pin&amp;nbsp;of uart2 to connect nrf52840 and nrf9160 with each other.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653394457757v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kind regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power usage nRF52840 and nRF9160dk, BLE</title><link>https://devzone.nordicsemi.com/thread/369242?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 11:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2358a91e-ac44-4b1c-b09e-28dc1307ab42</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you share your code and describe how you are measuring the current? Are you using the PPK 2? Can you share a screenshot of the current plot from the Power profiler?&lt;/p&gt;
&lt;p&gt;regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>