<?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>Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88108/serial-lte-modem-app-in-ncs-main-has-unexpected-power-consumption-after-xsleep-2</link><description>NCS main, nRF9160 DK, PPK2 
 git log -n 1 --oneline 4f916da03 (HEAD -&amp;gt; main, origin/main, origin/HEAD) west.yml: rebase OSS trees 
 
 SLM prj.conf changes: 
 CONFIG_SLM_START_SLEEP=y 
 CONFIG_SLM_WAKEUP_PIN=6 
 CONFIG_SLM_INDICATE_PIN=2 
 CONFIG_NRF_MODEM_LIB_TRACE_ENABLED</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 30 May 2022 07:50:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88108/serial-lte-modem-app-in-ncs-main-has-unexpected-power-consumption-after-xsleep-2" /><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369892?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 07:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97d5e032-6e1b-4971-8d59-7628103ac9d6</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="michalm"]Manual intervention is not option for stability and testing reliability.[/quote]
&lt;p&gt;For a final product test jig, I agree.&lt;/p&gt;
&lt;p&gt;However; you are trying to address leakage in current in your system as a whole. Running the same firmware on a stock nRF9160-DK does not show this issue, while running it on your modified platform does. You have to incrementally go from either &amp;quot;bad&amp;quot; to &amp;quot;good&amp;quot;, or from &amp;quot;good&amp;quot; to &amp;quot;bad&amp;quot; state in order to identify which specific feature/pin/signal causes this leakage. This will require either removing or adding your hw-modifications in a step-by-step procedure to find the root cause.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="michalm"]nrf_gpio_cfg_default() loop does not help.[/quote]
&lt;p&gt;This indicates that the issue is either the UART pins, or something external to the nRF.&lt;/p&gt;
&lt;p&gt;If your USB-to-UART converter is running on 3.3V, and the nRF9160&amp;#39;s VDD_IO is 3.0V, there can be smaller leakage through this connection (ie. the ESD protection inside the nRF pads, or in the pull-ups).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the ext. UART converter is 3.3V, VDD_IO is 3.0V, that gives a diff. of 0.3V potentially through a pull up of ~13k:&lt;/p&gt;
&lt;p&gt;0.3V/13k = 23 uA. This corresponds with your measurements of approx. 25 uA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you check this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369630?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 23:32:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:490ccef7-4ffd-49e6-9805-e23c1799cf96</guid><dc:creator>user7170</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;we are quite on opposite side, we try to use minimal HW setup (as simple as possible) who allow automated test scenarios for nRF9160/SLM.&lt;/p&gt;
&lt;p&gt;That is why we use nRF9160DK in this setup&amp;nbsp;&lt;a href="https://docs.google.com/document/d/1HuWBlC9k0IS1NcfX7aGUEJqAxwaqZV2D8SHFDCM0CXs/edit?usp=sharing"&gt;https://docs.google.com/document/d/1HuWBlC9k0IS1NcfX7aGUEJqAxwaqZV2D8SHFDCM0CXs/edit?usp=sharing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We&amp;#39;re far far far away from application space&amp;nbsp;&lt;a href="https://www.hardwario.com/chester/"&gt;https://www.hardwario.com/chester/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Automated tests are necessary to be able to do 100% reproducible testing and to be able to test all required functionality for nRF9160/SLM for every NCS relese/fixes.&lt;/p&gt;
&lt;p&gt;That allows us to make tests directly comparable for any NCS SW release without human errors and with possibility to test all critical functionality. Manual intervention is not option for stability and testing reliability.&lt;br /&gt;We could not afford to deliver faulty parts of our products, automated functionality tests (including power consuption) is key to hold decent quality.&lt;/p&gt;
&lt;p&gt;If you have proposals how to make better setup for automated testing, advice please.&lt;/p&gt;
&lt;p&gt;What is your setup for automated nRF9160/SLM functionality testing please (quality assurtance) ?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do not see reasonable way how to simplify (or remove modifications) test setup described above.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_gpio_cfg_default() loop does not help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Michal&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369425?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 06:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d305dd-cdaa-4211-8883-046f639e62c0</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi Michal,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="michalm"]We can not test on unmodified nRF9160DK, because it does not allow automated testing in repetable way (testing by test scenarios without manual intervention). The modifications are only to allow automated testing.[/quote]
&lt;p&gt;I understand that you&amp;#39;re wanting to test this in your application space, but we are now hunting an issue that causes your overall current consumption to rise. That will require to look exactly at specific features of the firmware and hardware setup, to try to isolate the issue, and thus pin-point where it originates from. This will include things like testing manually, and possibly physically disconnecting IOs while watching the current consumption for any change.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="michalm"]&lt;p&gt;&lt;span&gt;we are testing NCS main because we were asked by NordicSemi (Lorenzo Amicucci) to do so.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And that is why I reported several issues here from NCS main (nRF9160 test scenarios) -&amp;nbsp;Lorenzo&amp;nbsp;asked me to do so.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;In the future, I would recommend that you use &amp;quot;git cherry-pick&amp;quot; to pick specific commits on top of a tagged release. This gives you much better control of the code base.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please try the below steps?&lt;/p&gt;
&lt;p&gt;1. Add the nrf_gpio_cfg_default() loop as I previously described to see if this has an impact on the sleep current?&lt;/p&gt;
&lt;p&gt;2. If the above mentioned nrf_gpio loop does not help, can you please test manually, by removing your HW modifications that goes directly to the nRF9160 one-by-one?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369315?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 14:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:368b9456-e2ca-419b-a99a-281c9418983f</guid><dc:creator>user7170</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;we are testing NCS main because we were asked by NordicSemi (Lorenzo Amicucci) to do so.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And that is why I reported several issues here from NCS main (nRF9160 test scenarios) -&amp;nbsp;Lorenzo&amp;nbsp;asked me to do so.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Our main target is to use SLM in low power design (&lt;a href="https://www.hardwario.com/chester/)"&gt;https://www.hardwario.com/chester/)&lt;/a&gt;&amp;nbsp;controlled by nRF52. It can not be done without INDICATE, so we can not test on&amp;nbsp;&lt;span&gt;v1.9.1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We can not test on unmodified nRF9160DK, because it does not allow automated testing in repetable way (testing by test scenarios without manual intervention). The modifications are only to allow automated testing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In case you have better proposal for nRF9160 automated testing setup on nRF9160DK, please advice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Michal&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369245?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 11:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6685b3fb-83d5-44f1-940f-6d0149faaf5c</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi Michal,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The difference between my setup and yours is essentially that you&amp;#39;ve modified the hardware itself.&lt;/p&gt;
&lt;p&gt;Could you please test without the custom changes to the hardware to see if this is the root-cause of the leakage?&lt;/p&gt;
[quote user="michalm"]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am testing against NCS main, not v1.9.1:&lt;br /&gt;git log -n 1 --oneline&lt;br /&gt;e6dbb172c (HEAD -&amp;gt; main, origin/main, origin/HEAD) bluetooth: rpc: Fixes after moving to zcbor&lt;/p&gt;[/quote]
&lt;p&gt;You cannot assume that main is always stable. Please test on tags if possible.&lt;/p&gt;
&lt;p&gt;main is a moving target, so I try not to link to src / lines, as that will highly likely change in the future.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the lines on main:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/serial_lte_modem/src/slm_at_commands.c#L130-L131"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/applications/serial_lte_modem/src/slm_at_commands.c#L130-L131&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369241?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 10:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:354c93a4-07ce-4fd1-8111-4a5a62b9fc79</guid><dc:creator>user7170</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;additional USB-UART is used to control RESET, WAKEUP and monitor INDICATE from test script on PC.&lt;/p&gt;
&lt;p&gt;nRF9160DK does not have such functionality unfortunately.&lt;/p&gt;
&lt;p&gt;Control of RESET, WAKEUP and monitoring of INDICATE is required to be able to automate test scenarios, ensure repeatibility (precise timing) and automate nRF9160 power consuption measurements.&lt;/p&gt;
&lt;p&gt;Do you have other proposal how to make that on nRF9160DK please ?&lt;/p&gt;
&lt;p&gt;USB-UART configuration and wiring is same during whole test, so it affects power consuption same way after RESET like after #XSLEEP=2 - state of USB-UART is same. So difference cause in power of nRF9160 between state after RESET and state after #XSLEEP=2 is in nRF9160.&lt;/p&gt;
&lt;p&gt;I am testing against NCS main, not v1.9.1:&lt;br /&gt;git log -n 1 --oneline&lt;br /&gt;e6dbb172c (HEAD -&amp;gt; main, origin/main, origin/HEAD) bluetooth: rpc: Fixes after moving to zcbor&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369201?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 08:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c615004-9525-4153-9074-a0f487baaf7f</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for providing a detailed setup description.&lt;/p&gt;
&lt;p&gt;Is there a specific reason why you&amp;#39;re using an external usb/uart converter? Have you tried disconnecting this to see if that is the source of the added consumption? If the voltage levels are not equal on these two setups, you will get leakage.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am unable to reproduce the issue that you&amp;#39;re seeing, unfortunately.&lt;/p&gt;
&lt;p&gt;Could you try to add a gpio disconnect loop between these two lines?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/applications/serial_lte_modem/src/slm_at_commands.c#L135-L136"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/applications/serial_lte_modem/src/slm_at_commands.c#L135-L136&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	/* For testing purposes */
	for (int i= 0; i &amp;lt; 32; i ++) {
		nrf_gpio_cfg_default(i);
	}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/369096?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 15:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cdfc4c7-5a88-42c2-8efc-a4c33320bc0f</guid><dc:creator>user7170</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I described test setup in&amp;nbsp;&lt;a href="https://docs.google.com/document/d/1HuWBlC9k0IS1NcfX7aGUEJqAxwaqZV2D8SHFDCM0CXs/edit?usp=sharing"&gt;https://docs.google.com/document/d/1HuWBlC9k0IS1NcfX7aGUEJqAxwaqZV2D8SHFDCM0CXs/edit?usp=sharing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is stock SLM application,&amp;nbsp;&lt;span&gt;running on the nRF9160-DK with no additional sensors.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do not know, why your nRF9160 power consuption during&amp;nbsp;#XSLEEP=2 is so high, ~42uA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/368974?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 10:42:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f57c8cb-fd7b-4f8c-86a2-e26905dbe397</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi Michal,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure how you&amp;#39;re testing this, but I&amp;#39;m unable to reproduce the behavior that you see.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a sleep period, wake-up condition, and issuing &amp;quot;AT#XSLEEP=2&amp;quot; after wakeup:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653302380079v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you explain your test-setup more in-depth? Is this a stock SLM application, running on the nRF9160-DK with no additional sensors?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/368966?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 10:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ed0249f-1843-48c4-b13e-ba99ce3a3eea</guid><dc:creator>user7170</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using 12k pull-down on INDICATE pin now.&lt;/p&gt;
&lt;p&gt;I do not uderstand, why power consuption after RESET is stable but higher and unstable after #XSLEEP=2.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/368928?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f990f12-120d-4915-8934-112ac7894f88</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think I&amp;#39;ve found what is floating. Are you connecting this signal to an external host controller?&lt;/p&gt;
[quote user=""]CONFIG_SLM_INDICATE_PIN=2[/quote]
&lt;p&gt;When starting directly in sleep, this pin is floating, with configuration input buffer disconnected.&lt;/p&gt;
&lt;p&gt;This means that the nRF will not draw extra current, but any external logic connected on this pin can potentially draw added current.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/368898?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 00:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4a06a59-3790-4332-a767-60492b338831</guid><dc:creator>user7170</dc:creator><description>&lt;p&gt;With disabled tracing sleep power consuption is more unstable without obvious reason:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[PPK2] Found PPK2 at COM9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;[PPK2] DUT Powered, Measurement started&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 0.16 &amp;lt;RESET&amp;gt; Mon May 23 02:41:30 2022&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 1.01 [PPK2] 100k/s AVG 3.99 mA Max 44.3 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 2.03 [PPK2] 100k/s AVG 1.57 mA Max 26.3 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 3.01 [PPK2] 100k/s AVG 0.008mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 4.03 [PPK2] 100k/s AVG 0.011mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 5.04 [PPK2] 100k/s AVG 0.012mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 6.02 [PPK2] 100k/s AVG 0.007mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 7.01 [PPK2] 100k/s AVG 0.016mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 7.11 &amp;lt;WAKEUP&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 8.04 [PPK2] 100k/s AVG 0.955mA Max 20.5 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 8.47 [RX] Ready&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 9.01 [PPK2] 100k/s AVG 2.23 mA Max 33.4 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 10.02 [PPK2] 100k/s AVG 0.698mA Max 14.6 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 11.02 [PPK2] 100k/s AVG 0.693mA Max 16.9 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 12.03 [PPK2] 100k/s AVG 0.695mA Max 16.1 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 13.03 [PPK2] 100k/s AVG 0.697mA Max 16.0 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 13.62 [TX] AT#XSLEEP=2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 13.62 [RX] OK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 14.01 [PPK2] 100k/s AVG 0.509mA Max 16.5 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 15.02 [PPK2] 100k/s AVG 0.008mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 16.03 [PPK2] 100k/s AVG 0.009mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 17.03 [PPK2] 100k/s AVG 0.005mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 18.03 [PPK2] 100k/s AVG 0.009mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 19.01 [PPK2] 100k/s AVG 0.008mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 20.02 [PPK2] 100k/s AVG 0.007mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 21.02 [PPK2] 100k/s AVG 0.010mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 22.02 [PPK2] 100k/s AVG 0.007mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 23.03 [PPK2] 100k/s AVG 0.007mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 24.05 [PPK2] 100k/s AVG 0.008mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 25.01 [PPK2] 100k/s AVG 0.022mA Max 21.0 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 26.04 [PPK2] 100k/s AVG 0.030mA Max 16.5 mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 27.04 [PPK2] 100k/s AVG 0.024mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 28.02 [PPK2] 100k/s AVG 0.024mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 29.02 [PPK2] 100k/s AVG 0.026mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 30.04 [PPK2] 100k/s AVG 0.023mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 31.02 [PPK2] 100k/s AVG 0.022mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 32.01 [PPK2] 100k/s AVG 0.023mA Max 0.711mA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; 33.03 [PPK2] 100k/s AVG 0.025mA Max 0.711mA&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem app in NCS main has unexpected power consumption after #XSLEEP=2</title><link>https://test-devzone.nordicsemi.com/thread/368844?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 13:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:957c1039-aa65-4569-ae50-5dc51d61ad9b</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are the functions called when going to sleep:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/applications/serial_lte_modem/src/slm_at_commands.c#L132-L134"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/applications/serial_lte_modem/src/slm_at_commands.c#L132-L134&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The UART is disabled, SLM (and deps) are uninit&amp;#39;ed, and GPIOs are set to an idle level for the UART that is chosen for the SLM interface.&lt;/p&gt;
&lt;p&gt;However:&lt;/p&gt;
[quote user=""]CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y[/quote]
&lt;p&gt;This is not handled by SLM. You need to disable uart1, and set the rxd/txd gpio&amp;#39;s to an idle level, similar to what is done in SLM, for instance by calling&amp;nbsp;nrf_gpio_cfg_default() on those pins.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to either disable tracing, or set those to the default (ie. reset value) state?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>