<?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>nrf9160 psm and eDRX mode Power consumption test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64417/nrf9160-psm-and-edrx-mode-power-consumption-test</link><description>1.Development board used is nrf9160DK，sim car is nb-lot,set&amp;#39;s network mode is nb mode，Turn off all peripherals 
 2.set eDRX mode,eDRX is 655.36s,pwt is 2.56s ,After the device is turned on and connected to the analog server, it will send a frame of data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Aug 2020 01:21:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64417/nrf9160-psm-and-edrx-mode-power-consumption-test" /><item><title>RE: nrf9160 psm and eDRX mode Power consumption test</title><link>https://devzone.nordicsemi.com/thread/263507?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 01:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce23d540-7eaf-4343-b498-7e93ed57d119</guid><dc:creator>copen</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;Martin L&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I&amp;nbsp;sure spm.conf serial is close and application serial also is close,but I measure&amp;nbsp;&lt;span&gt;measured current is 117ua,Doesn&amp;rsquo;t the data sheet say it is 7ua? Can there be routines and measured data for this&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 psm and eDRX mode Power consumption test</title><link>https://devzone.nordicsemi.com/thread/263413?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 11:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea23d8c1-18c5-4850-889f-1e32bedd9d0a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Copen,&lt;/p&gt;
&lt;p&gt;You request from the network:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CEDRXS=2,5,&amp;quot;1011&amp;quot;,&amp;quot;0000&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However the network grants you another Paging Time Window:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;+CEDRXP: 5,&amp;quot;1011&amp;quot;,&amp;quot;1011&amp;quot;,&amp;quot;0011&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So eDRX interval is 655,36 seconds and PTW is 10,24 sec.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is the UART that is drawing the extra current in your case.&amp;nbsp;&lt;br /&gt;You can disable UART simply by the following config in prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SERIAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You also need this in the Secure Partition Managers prj.conf file.&lt;/p&gt;
&lt;p&gt;Either you can add that configuration directly in &lt;em&gt;/nrf/samples/spm/prj.conf.&amp;nbsp;&lt;/em&gt;This will affect all other samples if you build with SPM, so I &lt;strong&gt;recommend&lt;/strong&gt; that you have a separate &lt;em&gt;spm.conf&lt;/em&gt; for each project instead.&lt;/p&gt;
&lt;p&gt;Here is how you do it:&lt;/p&gt;
&lt;p&gt;1. In your projects &lt;em&gt;CMakeLists.txt&amp;nbsp;&lt;/em&gt;you add the following&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;set(spm_CONF_FILE ${CMAKE_CURRENT_SOURCE_DIR}/spm.conf)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;right under the line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cmake_minimum_required(VERSION 3.13.1)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(check the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/applications/asset_tracker/CMakeLists.txt#L9" rel="noopener noreferrer" target="_blank"&gt;asset_tracker sample &lt;/a&gt;as reference)&lt;/p&gt;
&lt;p&gt;2. Then&amp;nbsp;make a file called&amp;nbsp;&amp;#39;&lt;em&gt;spm.conf&amp;#39;&amp;nbsp;&lt;/em&gt;in your project folder and add the configurations:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Configuration copied from the nRF Secure Partition Manager (SPM) sample:
CONFIG_IS_SPM=y
CONFIG_FW_INFO=y
CONFIG_GPIO=n

# Extra Configurations
CONFIG_SERIAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So when you rebuild your project, it will select this spm.conf file and turn of the UART for you.&lt;/p&gt;
&lt;p&gt;Then you should get lower numbers.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Martin L&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>