<?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>Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92482/thingy-91-and-current-consumption</link><description>Hi! I have a Thingy:91 v1.6.0 and doing some current measurement on the device. I&amp;#39;ve disconnected the LiPo cell, and feed the Thingy from an Otii connected to the P3 (Li-po) connector using 4.0v. The Thingy is then connected via JTAG cable to a nRF9160DK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 12 Nov 2022 07:26:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92482/thingy-91-and-current-consumption" /><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/395415?ContentTypeID=1</link><pubDate>Sat, 12 Nov 2022 07:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b727239-d19b-4c37-93ae-9ce08c7dbf3d</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;gt; I&amp;#39;m not entirely sure what consumes this extra current on the 3.3V domain, but yes, it could be the GNSS PA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I compared the schematics of 1.5.0 vs. 1.6.0. From the changelog:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt; Power optimization, added circuitry to turn off RF switches when not used&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;v1.6.0 adds a &amp;quot;RF frontend power switch&amp;quot; (TCK106AG), which seems to doe the job without switching off the 3.3V.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/392533?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 08:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c292926-b467-4b33-beb4-273579768f2e</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/392528?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 08:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f98f882-7490-422c-922d-3fd77a21de85</guid><dc:creator>ArmNewbie</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/achimkraus"&gt;Achim Kraus&lt;/a&gt; , this works as a charm!&lt;br /&gt;&lt;br /&gt;Switching off the 3.3v during LTE sleep removes the excessive ~150uA seen on the v1.4 Thingy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/392384?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 12:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a921f40f-3242-44e6-9874-604963648e68</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;There are callbacks on modem events.&lt;/p&gt;
&lt;p&gt;in prj.con add&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS&lt;/span&gt;&lt;span style="color:#000000;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;in the code:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;static&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;"&gt;void&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#000000;"&gt;lte_handler&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;const&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;"&gt;struct&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#2b91af;"&gt;lte_lc_evt&lt;/span&gt;&lt;span style="color:#000000;"&gt; *&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;const&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#808080;"&gt;evt&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;"&gt;switch&lt;/span&gt;&lt;span style="color:#000000;"&gt; (&lt;/span&gt;&lt;span style="color:#808080;"&gt;evt&lt;/span&gt;&lt;span style="color:#000000;"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;type&lt;/span&gt;&lt;span style="color:#000000;"&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case LTE_LC_EVT_MODEM_SLEEP_ENTER:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lte_power_management_3v3 = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // switch off&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case LTE_LC_EVT_MODEM_SLEEP_EXIT:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lte_power_management_3v3 = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // switch on&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&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;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#000000;"&gt;lte_lc_modem_events_enable&lt;/span&gt;&lt;span style="color:#000000;"&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#000000;"&gt;err&lt;/span&gt;&lt;span style="color:#000000;"&gt; = &lt;/span&gt;&lt;span style="color:#000000;"&gt;lte_lc_connect_async&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#000000;"&gt;lte_handler&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;switch off/on must be implemented.&lt;/div&gt;
&lt;div&gt;Hope, the snippet helps.&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: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/392316?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 08:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c95f0677-6b2a-4135-a9ba-7f67f97a4f49</guid><dc:creator>ArmNewbie</dc:creator><description>&lt;p&gt;Thanks Achim and Stian, I&amp;#39;m now able to control the 3.3v from the ADP536 via I2C. Nice!&lt;/p&gt;
&lt;p&gt;But where to &amp;quot;hook in&amp;quot; when the nRF9160 is going in/out of sleep?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/390969?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 11:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:026309f7-1039-4e35-9eb4-b2451f69bc2b</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; #define ADP536X_I2C_DEV_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp; DT_LABEL(DT_NODELABEL(i2c2))&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, NCS 2.1.0 breaks that API of NCS 2.0.0, see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92409/ncs-2-1-0---config_adp536x_bus_name-not-longer-valid"&gt;NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s now &amp;quot;DEVICE_DT_GET(DT_NODELABEL(i2c2))&amp;quot; and not longer configurable via Kconfig.&lt;/p&gt;
&lt;p&gt;If a Thingy:91 is used, the &amp;quot;adp536x_init(ADP536X_I2C_DEV_NAME);&amp;quot; is not required, it&amp;#39;s called during the boot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/390948?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 10:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fed977e-c8d0-407e-959a-bc9dfc28daff</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; Of course, some of the sensors which are powered from the 3.3V domain will not work&lt;/p&gt;
&lt;p&gt;Especially the LEDs will not work.&lt;/p&gt;
&lt;p&gt;I switch 3.3V only off in the quiet-phase. In order the reduce the on-flank, I also adapted the&amp;nbsp;Soft Start Time to 512ms. It looks like the LEDs &amp;quot;dim on&amp;quot;.&lt;/p&gt;
&lt;p&gt;If switching off 3.3V for newer Thingy:91 is not required, is there a API to check the board-revisions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/390943?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 09:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15d89582-d613-424e-b907-b653fde05298</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I check the difference between version 1.6.0 and 1.0.0, and I see the same thing.&lt;/p&gt;
&lt;p&gt;I tried turning off the 3.3V regulator, as Achim suggested, and the current on 1.0.0 now matches the current on 1.6.0. I&amp;#39;m not entirely sure what consumes this extra current on the 3.3V domain, but yes, it could be the GNSS PA. I will investigate a little bit more to be sure, and let you know.&lt;/p&gt;
&lt;p&gt;If someone is wondering; the 3.3V output on the ADP536 can be turned off through the I2C interface, which is already wired to the nRF91.&lt;/p&gt;
&lt;p&gt;Add the following to main.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;adp536x.h&amp;gt;
#define ADP536X_I2C_DEV_NAME    DT_LABEL(DT_NODELABEL(i2c2))

void main(void){
    adp536x_init(ADP536X_I2C_DEV_NAME);
    adp536x_buckbst_enable(false);
    
    .....
    
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The i2c2 interface should already be configured with the right pins if you compile for the thingy91 board.&lt;/p&gt;
&lt;p&gt;Of course, some of the sensors which are powered from the 3.3V domain will not work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/390363?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 07:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cbdfee4-fdb2-4c38-8566-61ee74251ab4</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Just to mention:&lt;/p&gt;
&lt;p&gt;I run Thingy:91s from 1.0.0 to 1.5.0. Disabling the 3.3V on a 1.0.0 results for me in ~40uA. With enabled 3.3V I get also the ~200uA.&lt;/p&gt;
&lt;p&gt;In the meantime, I switch the 3.3V on, when the Thingy:91 is active, and off, when it sleeps.&lt;/p&gt;
&lt;p&gt;From the schematics, the 3.3V are also used for GNSS, but I don&amp;#39;t use and the GNSS has anyway it&amp;#39;s own consumption which requires to limit that ontime as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/390204?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 09:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20056207-1b30-49f4-bc52-543eb9b77ef8</guid><dc:creator>ArmNewbie</dc:creator><description>&lt;p&gt;Hi Stian, and thanks for good and informative hints!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve done some &amp;quot;research&amp;quot; against our sim provider, and we are now successfully running PSM (against Telenor). &lt;br /&gt;The 640ms spikes we saw earlier was due to eDRX as you assumed.&lt;/p&gt;
&lt;p&gt;Reading some of the other answers as you suggested, and are now running without logging via UART, and we now see an idle current of 20-40uA running the asset_tracker_v2 on the Thingy 1.6.&lt;br /&gt;Which is good!&lt;/p&gt;
&lt;p&gt;However, we also have a couple of Thingys of version 1.4.0, and those show and idle current of ~200uA running the exact same FW. &lt;br /&gt;Is it expected that the v1.4 has so much higher idle current than the v1.6, and what might be the cause of that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-Alf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 and current consumption</title><link>https://devzone.nordicsemi.com/thread/389149?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 08:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5205b50c-5292-4c0e-9117-047655177eb7</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, the 600 uA base current is probably because of the logging module which uses UART. Please have a look at my answer in&lt;a href="https://devzone.nordicsemi.com/support-private/support/296173"&gt; this thread&lt;/a&gt;, which explains how to turn off the UART in the LwM2M sample. It should be similar in the asset tracker sample.&lt;/p&gt;
&lt;p&gt;The ~630 ms (which I believe should be 640 ms) spikes could be DRX paging. I&amp;#39;m thinking that the modem does not enter PSM mode, and continues in RRC idle mode, aka. eDRX, iDRX, etc. In the online power profiler you can simulate this by turning off PSM, and set the iDRX interval to 0.64. Of course this assumes that you are getting these spikes after a successful connection to the network. Is that correct?&lt;/p&gt;
&lt;p&gt;Please have a look at this guide for more information regarding how to check if the network supports PSM or not: &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/hardware-design-test-and-measuring/b/nrf9x/posts/getting-started-with-current-measurements-on-the-nrf9160"&gt;Getting started with current measurements on the nRF9160&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The guide suggests using either the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/udp/README.html"&gt;UDP example&lt;/a&gt;, or &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/README.html"&gt;AT commands directly&lt;/a&gt; to check the network status.&lt;/p&gt;
&lt;p&gt;A quick note about the UDP sample; it has UART logging disabled by default in order to demonstrate a power optimized application, and to fit the numbers in the online power profiler. In order to see the network connection status log output, you need to turn on the serial module by changing CONFIG_SERIAL to =y in the prj.conf file. Now you will also see that the current consumption increases by around 600 uA, which matches your initial measurements of the asset tracker application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Stian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>