<?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 active time problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86778/nrf9160-psm-active-time-problem</link><description>Hi Nordic, 
 Using nrf-connect 1.9.99 and Zephyr 2.7.99 (*** Booting Zephyr OS build v2.7.99-ncs1-1 ***) 
 I am using then nRF9160-DK and everything is fine. Getting 40uA in LTE-M PSM mode when sleeping. However, am trying to control the active time and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Apr 2022 08:38:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86778/nrf9160-psm-active-time-problem" /><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/363130?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 08:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a24988ab-abac-4564-ad70-3dffcda34163</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Please &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/collect_modem_trace.html"&gt;provide a modem trace&lt;/a&gt;&amp;nbsp;for us to see what is going on in the modem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/362987?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 10:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:422110a5-93a9-469e-9424-3a49dc0c381f</guid><dc:creator>akofoed</dc:creator><description>&lt;p&gt;Yes, I can see that what commands are executed in the lte_lc.c file (+CPSMS). I can also confirm that I get the values back from the network - allowing me to be active in 2 seconds. Everything is good.&lt;/p&gt;
&lt;p&gt;But my question then: &lt;span style="text-decoration:underline;"&gt;Why is the modem consuming power in 6.88 seconds (JouleScope image above) and not 2 seconds?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is the modem supposed to be awake 2 seconds and then go to sleep? Or are there some housekeeping going on with Zephyr power management or some LTE modem stuff? I can confirm that my code finishes in less than 1 sec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/362983?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 10:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a674857d-840e-450e-970b-02ea47be7cec</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="akofoed"]Is the modem supposed to sleep after&amp;nbsp;CONFIG_LTE_PSM_REQ_RAT=&amp;quot;00000001&amp;quot; seconds? == 2 seconds ?[/quote]
&lt;p&gt;From the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_LTE_PSM_REQ_RAT.html#config-lte-psm-req-rat"&gt;KCofig&amp;nbsp;reference it states&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;Power saving mode setting for requested active time.
See 3GPP 27.007 Ch. 7.38.
And 3GPP 24.008 Ch. 10.5.7.3 for data format.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;The KConfig configuration sets the PSM using AT command &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cpsms_set.html"&gt;Power Saving mode setting +CPSMS&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;Based on that, the value you refer to is 2 seconds, yes. That is what you request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;E.g. my CEREG response is&amp;nbsp;&lt;br /&gt;&lt;span&gt;+CEREG: 5,5,&amp;quot;08FF&amp;quot;,&amp;quot;0201EE16&amp;quot;,7,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Where the first number (5) is due to&amp;nbsp;&lt;span&gt;AT+CEREG=5.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/362977?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 09:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb6bc620-3da3-4c35-a5d7-f418b3204769</guid><dc:creator>akofoed</dc:creator><description>&lt;p&gt;Yes, I was running the main branch. I have now installed nrf-sdk using &amp;quot;west init -m &lt;a href="https://github.com/nrfconnect/sdk-nrf"&gt;github.com/.../sdk-nrf&lt;/a&gt; --mr v1.9.1&amp;quot;&lt;/p&gt;
&lt;p&gt;I am using the sample nrf/samples/nrf9160/at_client to execute the below:&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v2.7.99-ncs1-1 ***&lt;br /&gt;The AT host sample started&lt;br /&gt;AT+CEREG?&lt;br /&gt;+CEREG: 0,4&lt;br /&gt;OK&lt;br /&gt;AT+CFUN?&lt;br /&gt;+CFUN: 0&lt;br /&gt;OK&lt;br /&gt;AT+CFUN=1&lt;br /&gt;OK&lt;br /&gt;AT+CFUN?&lt;br /&gt;+CFUN: 1&lt;br /&gt;OK&lt;br /&gt;AT+CEREG?&lt;br /&gt;+CEREG: 0,5,&amp;quot;5E09&amp;quot;,&amp;quot;0281150C&amp;quot;,7&lt;br /&gt;OK&lt;/p&gt;
&lt;p&gt;In my application, I do get the right TAU and active time values in the response from the network in the callback function.&lt;/p&gt;
&lt;p&gt;Is the modem supposed to sleep after&amp;nbsp;CONFIG_LTE_PSM_REQ_RAT=&amp;quot;00000001&amp;quot; seconds? == 2 seconds ? Or are there some housekeeping going on with Zephyr power management or some LTE modem stuff?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/362962?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 07:41:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea197f4-10c3-4369-b685-94b776c99cef</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Anders,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is there a reason for using latest/main nRF Connect SDK branch? Can you please retry with tag v1.9.1 to verify with stable release?&lt;/p&gt;
[quote user="akofoed"]+CEREG: 0,4&lt;br /&gt;OK[/quote]
&lt;p&gt;No, the response from CEREG? (read command) is&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;+CEREG: &amp;lt;n&amp;gt;,&amp;lt;stat&amp;gt;[,[&amp;lt;tac&amp;gt;],[&amp;lt;ci&amp;gt;],[&amp;lt;AcT&amp;gt;][,&amp;lt;cause_type&amp;gt;],[&amp;lt;reject_cause&amp;gt;][,[&amp;lt;Active-Time&amp;gt;],[&amp;lt;Periodic-TAU&amp;gt;]]]]&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;in your case &amp;lt;n&amp;gt; and &amp;lt;stat&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;0 – Unsubscribe unsolicited result codes&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4 – Unknown (for example, out of&amp;nbsp;&lt;a title="The network architecture defined for the E-UTRA radio interface consisting of evolved Node Bs (eNB) and providing user plane and control plane protocol terminations towards the User Equipment (UE)." href="https://infocenter.nordicsemi.com/topic/ref_at_commands/dita_common/glossary/glossary.html#eutran"&gt;&lt;dfn&gt;Evolved Terrestrial Radio Access Network (E-UTRAN)&lt;/dfn&gt;&lt;/a&gt;&amp;nbsp;coverage)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What application are you running? Can you connect to your device using the LTE Link Monitor and issue AT+CFUN? command, if CFUN=0, issue AT+CFUN=1 first and then AT+CFUN?&lt;br /&gt;&lt;br /&gt;This should print more information. We might also &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/collect_modem_trace.html"&gt;need a modem trace&lt;/a&gt; of&amp;nbsp;when you are seeing this issue.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/362870?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 13:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15801f06-db20-436c-aedf-a22a7d2c5278</guid><dc:creator>akofoed</dc:creator><description>&lt;p&gt;Thanks, it says:&lt;/p&gt;
&lt;p&gt;+CEREG: 0,4&lt;br /&gt;OK&lt;/p&gt;
&lt;p&gt;From &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fnw_service%2Fcereg_read.html"&gt;this&lt;/a&gt; I gather it means:&lt;/p&gt;
&lt;p&gt;4 &amp;ndash; Subscribe unsolicited result codes +CEREG: &amp;lt;stat&amp;gt;[,[&amp;lt;tac&amp;gt;],[&amp;lt;ci&amp;gt;],[&amp;lt;AcT&amp;gt;][,,[,[&amp;lt;Active-Time&amp;gt;],[&amp;lt;Periodic-TAU&amp;gt;]]]]&lt;/p&gt;
&lt;p&gt;Meaning that I active time can be set. I am using 1NCE as provider in Denmark and only using PSM mode.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 PSM active time problem</title><link>https://devzone.nordicsemi.com/thread/362573?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 11:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39248c1d-58ea-432f-91f4-23cd84915fe1</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What does the network provide? I.e. issue the following command &amp;quot;&lt;code&gt;&lt;span&gt;AT+CEREG?&amp;quot;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;From the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/lte_lc.html#enabling-power-saving-features"&gt;LTE link Controller documentation under Enabling power-saving features&lt;/a&gt;:&lt;/code&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;A timer value that is requested by the modem is not necessarily given by the network. The event callbacks&amp;nbsp;&lt;/span&gt;&lt;a title="LTE_LC_EVT_PSM_UPDATE" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/lte_lc.html?highlight=config_lte_psm_req_rptau#c.lte_lc_evt_type.LTE_LC_EVT_PSM_UPDATE"&gt;&lt;code&gt;&lt;span&gt;LTE_LC_EVT_PSM_UPDATE&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a title="LTE_LC_EVT_EDRX_UPDATE" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/lte_lc.html?highlight=config_lte_psm_req_rptau#c.lte_lc_evt_type.LTE_LC_EVT_EDRX_UPDATE"&gt;&lt;code&gt;&lt;span&gt;LTE_LC_EVT_EDRX_UPDATE&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;contain the values that are actually decided by the network.&lt;/span&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>