<?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 current consumption test problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60471/nrf9160-psm-current-consumption-test-problem</link><description>Hi Nordic： 
 
 I burned the AP &amp;amp; Modem firmware in the picture below, and found that the current consumption when entering PSM is 500μA. Please help to analyze. What caused it? 
 Attachment is hardware &amp;amp; software &amp;amp; log. 
 
 Many thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Apr 2020 12:42:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60471/nrf9160-psm-current-consumption-test-problem" /><item><title>RE: nRF9160 PSM current consumption test problem</title><link>https://devzone.nordicsemi.com/thread/246039?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 12:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90ac2904-0e8d-4737-b72f-7cfcc2f52fb8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s an older sample for psm available here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/udp_with_psm"&gt;https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/udp_with_psm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you already have an example that goes into sleep (with low consumption), you can request eDRX &lt;em&gt;or&amp;nbsp;&lt;/em&gt;PSM using these function calls:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L458"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L458&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L349"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/lte_link_control/lte_lc.c#L349&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&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: nRF9160 PSM current consumption test problem</title><link>https://devzone.nordicsemi.com/thread/245941?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 06:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c709f5f-8217-42d7-9d7b-7320e67d210b</guid><dc:creator>dacheng</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon&lt;/p&gt;
&lt;p&gt;Thank you very much for your answers.The UART of my firmware is not turned off.&lt;br /&gt;I have read the specification of nRF9160.Its current consumption in PSM and eDRX modes is 4uA and 19uA respectively, which is really low, especially EDRX, but I still want to actually test it. Do you have a hex file that can verify the current consumption of PSM &amp;amp; EDRX?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4064.1587524319_2800_1_2900_.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Dacheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM current consumption test problem</title><link>https://devzone.nordicsemi.com/thread/245872?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 14:14:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d220d172-c29c-4892-9cc4-a26217831f43</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The base current when UART is on, is 500 uA, so when testing with at_client, this is expected. Disabling UART in at_client essentially breaks the application, so I would not recommend to optimize it further. In general, you can add &amp;quot;CONFIG_SERIAL=n&amp;quot; to the prj.conf to disable uart printing, but there&amp;#39;s a catch with this as there&amp;#39;s a secure and non-secure image running.&lt;/p&gt;
&lt;p&gt;When testing PSM with an application, remember to disable serial in the secure part, spm, as well. This can be done by adding this to the CMakeLists.txt file in your project folder, just below the &amp;quot;cmake_minimum_version&amp;quot; line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if (EXISTS &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/spm.conf&amp;quot;)
  set(spm_CONF_FILE
    prj.conf
    ${CMAKE_CURRENT_LIST_DIR}/spm.conf
  )
endif()

 

if (EXISTS &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/mcuboot.conf&amp;quot;)
  set(mcuboot_CONF_FILE
    prj.conf
    ${CMAKE_CURRENT_LIST_DIR}/mcuboot.conf
  )
endif()

 

if (EXISTS &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/${BOARD}.overlay&amp;quot;)
  set(mcuboot_DTC_OVERLAY_FILE &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/${BOARD}.overlay&amp;quot;)
  set(spm_DTC_OVERLAY_FILE &amp;quot;${CMAKE_CURRENT_SOURCE_DIR}/${BOARD}.overlay&amp;quot;)
endif()
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;then you create a file named &amp;quot;spm.conf&amp;quot;, with CONFIG_SERIAL=n.&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>