<?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>PSM TAU not triggering after set time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61148/psm-tau-not-triggering-after-set-time</link><description>Hi, 
 I am trying to test PSM settings on the nRF9160 using a custom PCB. I have set the active time to 3 minutes with a periodic TAU time of 10 minutes. 
 When the device enables PSM, I see the following response: 
 
 I set the PSM timers and then read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 May 2020 09:20:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61148/psm-tau-not-triggering-after-set-time" /><item><title>RE: PSM TAU not triggering after set time</title><link>https://devzone.nordicsemi.com/thread/249136?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 09:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e48259ae-dd27-42b1-b3bc-9d582763c567</guid><dc:creator>MJD093</dc:creator><description>[quote userid="81181" url="~/f/nordic-q-a/61148/psm-tau-not-triggering-after-set-time/249008"]&amp;nbsp;I am not entirely sure I understand what you are asking here, but I&amp;#39;ll give it a go:[/quote]
&lt;p&gt;This was in relation to the fact I believed I was seeing conflicting results for the PSM timers on the current consumption. I was seeing 3 minutes active modem drain followed by an offline modem drain when I was expecting a longer active time based on my understanding of the timer bits at that moment.&lt;/p&gt;
[quote userid="81181" url="~/f/nordic-q-a/61148/psm-tau-not-triggering-after-set-time/249008"]I think you have gotten your bits turned around.[/quote]
&lt;p&gt;Yes it would appear so, I was unaware that the Active Time value used a different encoding to the TAU timer. Thank you for clarifying this error. I can now see that Active Time uses encoding from GPRS Timer 1 whereas the TAU timer uses GPRS Timer 3 encoding, both using different encoding for bits 8, 7, 6.&lt;/p&gt;
&lt;p&gt;Thank you for your help in understanding what has gone wrong here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PSM TAU not triggering after set time</title><link>https://devzone.nordicsemi.com/thread/249008?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 14:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f35813f-b638-4b58-b522-6b96c737a6b6</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I think you have gotten your bits turned around.&lt;/p&gt;
&lt;p&gt;AT+CPSMS=1,,,&amp;quot;10101010&amp;quot;,&amp;quot;10100011&amp;quot;&lt;/p&gt;
&lt;p&gt;Here you request a periodic TAU of 10 minutes (as you state in the original question), but the requested active time is not valid.&lt;/p&gt;
&lt;p&gt;&amp;quot;101&amp;quot; is not a valid timer value unit for the active time. Instead, it is interpreted as 1 minute as specified by 3GPP.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="MJD093"]CEREG lvl 5 shows the network accepted response and it&amp;#39;s being forced up to 3 hours active and 70 minutes TAU.[/quote]
&lt;p&gt;&amp;nbsp;It shows an active time of 3 minutes (001 - value is incremented in multiples of 1 minute), and 70 minutes TAU.&lt;/p&gt;
&lt;p&gt;The values for the units of active time and periodic TAU is different.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="MJD093"]What effect does this have on the module?[/quote]
&lt;p&gt;&amp;nbsp;I am not entirely sure I understand what you are asking here, but I&amp;#39;ll give it a go:&lt;/p&gt;
&lt;p&gt;When you enter PSM, the device will be unreachable from the network for 70 minutes &lt;em&gt;&lt;strong&gt;&lt;/strong&gt;or &lt;/em&gt;until it transmits, whichever is shortest.&lt;/p&gt;
&lt;p&gt;After the device has reconnected to the network (either to send data or for a periodic TAU) it will stay connected for 3 minutes before it again will enter PSM.&lt;/p&gt;
&lt;p&gt;Best&amp;nbsp; regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PSM TAU not triggering after set time</title><link>https://devzone.nordicsemi.com/thread/248795?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 16:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc02c03b-230e-4228-a007-430e1e6eb1ec</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;I did a little digging and can see what the issue is now. CEREG lvl 5 shows the network accepted response and it&amp;#39;s being forced up to 3 hours active and 70 minutes TAU.&lt;/p&gt;
&lt;p&gt;What effect does this have on the module?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.1.99-ncs1-3-g7ddab664b04b  ***
The AT host sample started
AT+CFUN?
AT+COPS?
AT+CFUN?
+CFUN: 0
OK
AT
OK
AT+CFUN?
+CFUN: 0
OK
AT%XBANDLOCK=1,&amp;quot;10000000000000000000&amp;quot;
OK
AT+CGDCONT=0,&amp;quot;IP&amp;quot;,&amp;quot;ep.inetd.gdsp&amp;quot;
OK
AT%XSYSTEMMODE= 0,1,0,0
OK
AT+CFUN=1
OK
AT+CEREG?
+CEREG: 0,4,&amp;quot;FFFE&amp;quot;,&amp;quot;FFFFFFFF&amp;quot;,9
OK
AT+CEREG?
+CEREG: 0,4,&amp;quot;FFFE&amp;quot;,&amp;quot;FFFFFFFF&amp;quot;,9
OK
AT+CEREG?
+CEREG: 0,5,&amp;quot;A44F&amp;quot;,&amp;quot;07BF3315&amp;quot;,9
OK
AT+COPS=3,2
OK
AT+COPS?
+COPS: 0,2,&amp;quot;23415&amp;quot;,9
OK
AT%XCBAND
%XCBAND: 20
OK
AT+CGDCONT?
+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;ep.inetd.gdsp&amp;quot;,&amp;quot;10.21.124.101&amp;quot;,0,0
OK
AT+CGACT?
+CGACT: 0,1
OK
AT+CESQ
+CESQ: 99,99,255,255,21,41
OK
AT+CESQ
+CESQ: 99,99,255,255,21,41
OK
AT+CPSMS?
+CPSMS: 0
OK
AT+CPSMS=1,,,&amp;quot;10101010&amp;quot;,&amp;quot;10100011&amp;quot;
OK
AT+CPSMS?
+CPSMS: 1,,,&amp;quot;10101010&amp;quot;,&amp;quot;10100011&amp;quot;
OK
AT+CPSMS?
+CPSMS: 1,,,&amp;quot;10101010&amp;quot;,&amp;quot;10100011&amp;quot;
OK
AT+CPSMS?
+CPSMS: 1,,,&amp;quot;10101010&amp;quot;,&amp;quot;10100011&amp;quot;
OK
AT+CPSMS?
+CPSMS: 1,,,&amp;quot;10101010&amp;quot;,&amp;quot;10100011&amp;quot;
OK
AT+CEREG?
+CEREG: 0,5,&amp;quot;A44F&amp;quot;,&amp;quot;07BF3315&amp;quot;,9
OK
AT+COPS=3,2
OK
AT+COPS?
+COPS: 0,2,&amp;quot;23415&amp;quot;,9
OK
AT%XCBAND
%XCBAND: 20
OK
AT+CGDCONT?
+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;ep.inetd.gdsp&amp;quot;,&amp;quot;10.21.124.101&amp;quot;,0,0
OK
AT+CGACT?
+CGACT: 0,1
OK
AT+CEREG=5
OK
AT+CEREG?
+CEREG: 5,5,&amp;quot;A44F&amp;quot;,&amp;quot;07BF3315&amp;quot;,9,,,&amp;quot;00100011&amp;quot;,&amp;quot;00000111&amp;quot;
OK
AT+COPS=3,2
OK
AT+COPS?
+COPS: 0,2,&amp;quot;23415&amp;quot;,9
OK
AT%XCBAND
%XCBAND: 20
OK
AT+CGDCONT?
+CGDCONT: 0,&amp;quot;IP&amp;quot;,&amp;quot;ep.inetd.gdsp&amp;quot;,&amp;quot;10.21.124.101&amp;quot;,0,0
OK
AT+CGACT?
+CGACT: 0,1
OK&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>