<?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>Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122373/cellular-udp-on-nrf9151-dk-does-not-enter-psm</link><description>Hello, 
 I am trying to measure nRF9151 current using Power Profiler Kit II, running Cellular UDP project on EVK and following the steps in: 
 https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/udp/README.html 
 Added the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Feb 2026 14:25:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122373/cellular-udp-on-nrf9151-dk-does-not-enter-psm" /><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/560457?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 14:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972366d7-477c-498f-94d3-3c0626da6b90</guid><dc:creator>Achim Kraus</dc:creator><description>[quote userid="137065" url="~/f/nordic-q-a/122373/cellular-udp-on-nrf9151-dk-does-not-enter-psm/560446"] Interesting note about setting LTE parameters, I guess setting directly in the code is better in low level development and&amp;nbsp;setting by AT commands for applications such as SLM?[/quote]
&lt;p&gt;Isn&amp;#39;t the point more, that you need to know, what happens in your device-cloud communication?&lt;/p&gt;
&lt;p&gt;Very first question: TCP/TLS for MQTT? Then you may get disappointed. UDP/DTLS 1.2 CID/CoAP, then you may construct your message exchange and setup the parameters accordingly. E.g. if the device sends the most messages as coap-oneway (no-server-response-option), then RAI last message is your friend. If you want then once a day a response, then &amp;quot;CP-RAI one-response&amp;quot; or &amp;quot;AS-RAI no data&amp;quot; works.&lt;br /&gt;Did you need to retransmit such a request with response, because the response wasn&amp;#39;t received in time? Then be careful that usually also means, that you not longer control the possible messages. Luckily that&amp;#39;s pretty rare. So in that case you may stop using RAI and see, if the response is received twice.&lt;/p&gt;
&lt;p&gt;So, I don&amp;#39;t think, that there are general parameters, especially for RAI. So, first check, how you want to exchange messages. Then you may optimize the parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/560452?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 14:09:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b5b317e-06ff-463f-812e-19b8495b1b50</guid><dc:creator>Achim Kraus</dc:creator><description>[quote userid="137065" url="~/f/nordic-q-a/122373/cellular-udp-on-nrf9151-dk-does-not-enter-psm/560446"]- It makes sense to use PSM for longer sleep intervals, 30 s was just&amp;nbsp;for testing.[/quote]
&lt;p&gt;Let me recommend then, that you use something as 300s to see, if it then enters the psm sleep after a longer RRC active and idle period,&lt;/p&gt;
[quote userid="137065" url="~/f/nordic-q-a/122373/cellular-udp-on-nrf9151-dk-does-not-enter-psm/560446"]- I will check it again with&amp;nbsp;different network providers, if not generally supported may be turning off the modem for long intervals would be a solution.[/quote]
&lt;p&gt;PSM is widely support, but as I already wrote&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/126857/configuring-psm-edrx-rai-for-lowest-possible-power/560418"&gt;Spark NZ&lt;/a&gt;&amp;nbsp;has used different base stations (1.5 years) ago, and it toke some month to have them fixed the old/broken ones in the test area. So, if you test, you will need to track the base-station and see, if the result depends on that. Hope this is now generally fixed, but you will see.&lt;br /&gt;If &amp;quot;switching on/off&amp;quot; helps is something you will also need to discuss with Spark NZ, some operators will block too frequently network registrations. But with 1h I guess you will be save.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/560446?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 13:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35f4e39a-c7f7-45bc-8293-c52d641a49fc</guid><dc:creator>_rd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you both for helpful comments.&lt;/p&gt;
&lt;p&gt;- It makes sense to use PSM for longer sleep intervals, 30 s was just&amp;nbsp;for testing.&lt;/p&gt;
&lt;p&gt;- I will check it again with&amp;nbsp;different network providers, if not generally supported may be turning off the modem for long intervals would be a solution.&lt;/p&gt;
&lt;p&gt;- Interesting note about setting LTE parameters, I guess setting directly in the code is better in low level development and&amp;nbsp;setting by AT commands for applications such as SLM?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Roya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/560432?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 11:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa7ae404-3128-4ea2-ac97-918b2aee8ad8</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see you&amp;#39;ve also gotten a great reply by Achim here, have a look at that.&lt;/p&gt;
[quote user="Monkeytronics"]&lt;p&gt;1) Is the approach the OP uses by setting the LTE paramaters in prj.conf the correct way to set up the paramaters? Or are&amp;nbsp;there any differences / pros / cons in configuring things directly in code like this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;div&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;That looks correct. You can do this.&lt;/p&gt;
[quote user="Monkeytronics"]2) Interesting comment regarding&amp;nbsp;cell provider: assuming we are 99% confident that we have configured things as intended, are there any ways in which we can check what has been implemented (with the modem library - not AT commands)?[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.2.1/page/nrfxlib/nrf_modem/doc/architecture.html"&gt;Have a look at the modem library and devacademy for more on this.&lt;/a&gt;&lt;/p&gt;
[quote user="Monkeytronics"]I do not know this industry. Is it common for network providers to either not support or disable certain features or, worse still, only provide them at their discretion?[/quote]
&lt;p&gt;Yes, but I would say it&amp;#39;s understandable in. Extremely short PSM values doesn&amp;#39;t really make much sense for instance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/560415?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 10:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c7ce77-86e1-424b-ae6a-b74474c4fab7</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I guess, there may just be more cellular network details to consider.&lt;/p&gt;
&lt;p&gt;PSM is a feature intended for sleeps about 1h and more.&lt;/p&gt;
&lt;p&gt;You send every 30s, right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Before the modem enters the sleeping mode, it must enter the IDLE mode. That either requires RAI (and proper applying it). If RAI is not used, the network defines a timeout to switch from RRC active to idle. And after that there is a &amp;quot;PSM active time&amp;quot;, which also must pass, before the modem goes to sleep.&lt;/p&gt;
&lt;p&gt;But a 30s send interval doesn&amp;#39;t fit PSM (except you want to kill your SIM). Let me recommend to check with your network provider, if eDRX is also offered, that&amp;#39;s a much better choice for 30s.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And finally:&lt;/p&gt;
&lt;p&gt;Sending every 30s drains your battery, regardless of eDRX or PSM ... maybe you do some calculations, which runtime would be expected sending every 30s with your values from above. Subtract the energy in the &amp;quot;inactive&amp;quot; periods, and you may see, if eDRX or PSM will really change your runtime.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/560379?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 21:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83259122-5db3-4bb8-b83c-b4dd51cb14e8</guid><dc:creator>Monkeytronics</dc:creator><description>&lt;p&gt;So, to be clear -&lt;/p&gt;
&lt;p&gt;1) Is the approach the OP uses by setting the LTE paramaters in prj.conf the correct way to set up the paramaters? Or are&amp;nbsp;there any differences / pros / cons in configuring things directly in code like this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;lte_lc_psm_param_set(&amp;quot;00111000&amp;quot;, &amp;quot;00000110&amp;quot;); // 24 hours &amp;amp;12 seconds
lte_lc_psm_req(true);

lte_lc_ptw_set(LTE_LC_LTE_MODE_LTEM, &amp;quot;0000&amp;quot;); // 1.28 seconds
lte_lc_edrx_param_set(LTE_LC_LTE_MODE_LTEM,&amp;quot;0000&amp;quot;); // 5.12 seconds
lte_lc_edrx_req(true);

rai_set();&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;2) Interesting comment regarding&amp;nbsp;cell provider: assuming we are 99% confident that we have configured things as intended, are there any ways in which we can check what has been implemented (with the modem library - not AT commands)? I do not know this industry. Is it common for network providers to either not support or disable certain features or, worse still, only provide them at their discretion?&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/540006?ContentTypeID=1</link><pubDate>Fri, 20 Jun 2025 11:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4846b2b-cdcb-4de6-81f3-17a24c8b11dc</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;After a second look I agree that the sample should fix everything in regards to PSM on its own.&lt;/p&gt;
[quote user="_rd"]%XMONITOR: 5,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;302720&amp;quot;,&amp;quot;757B&amp;quot;,7,12,&amp;quot;007A637A&amp;quot;,101,5060,54,34,&amp;quot;&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;01001001&amp;quot;&lt;br /&gt;[/quote]
&lt;p&gt;Yeah, looks like it. You could contact your cell provider to figure out what you need to do here. It&amp;#39;s typical that they have some requirements as to eg. the period requested for it to be granted.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/539912?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 14:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d5f0cd-04b3-4d82-8b14-7050e2f3121e</guid><dc:creator>_rd</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;My understanding was that running Cellular UDP sample project would be sufficient as a standalone code&amp;nbsp;to check power consumption&amp;nbsp;in PSM mode. PSM is already enabled with 60 min RPTAU, and I just need to configure the data upload size (default: 10) and upload frequency (e.g. 30 sec).&lt;/p&gt;
&lt;p&gt;Please see below the prj.conf of UDP project:&lt;/p&gt;
&lt;p&gt;# General config&lt;br /&gt;CONFIG_PICOLIBC_IO_FLOAT=y&lt;br /&gt;CONFIG_NCS_SAMPLES_DEFAULTS=y&lt;br /&gt;CONFIG_SERIAL=n&lt;br /&gt;CONFIG_TFM_LOG_LEVEL_SILENCE=n&lt;/p&gt;
&lt;p&gt;# Network&lt;br /&gt;CONFIG_NETWORKING=y&lt;br /&gt;CONFIG_NET_NATIVE=n&lt;br /&gt;CONFIG_NET_SOCKETS=y&lt;br /&gt;CONFIG_NET_SOCKETS_OFFLOAD=y&lt;br /&gt;CONFIG_POSIX_API=y&lt;/p&gt;
&lt;p&gt;# LTE link control&lt;br /&gt;CONFIG_LTE_LINK_CONTROL=y&lt;/p&gt;
&lt;p&gt;# Modem library&lt;br /&gt;CONFIG_NRF_MODEM_LIB=y&lt;/p&gt;
&lt;p&gt;# Heap and stacks&lt;br /&gt;CONFIG_HEAP_MEM_POOL_SIZE=1024&lt;br /&gt;CONFIG_MAIN_STACK_SIZE=4096&lt;br /&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048&lt;/p&gt;
&lt;p&gt;CONFIG_UDP_DATA_UPLOAD_FREQUENCY_SECONDS=30&lt;/p&gt;
&lt;p&gt;# LTE parameters&lt;br /&gt;## PSM&lt;br /&gt;CONFIG_UDP_PSM_ENABLE=y&lt;br /&gt;CONFIG_LTE_PSM_REQ_RPTAU=&amp;quot;00100001&amp;quot;&lt;br /&gt;CONFIG_LTE_PSM_REQ_RAT=&amp;quot;00000000&amp;quot;&lt;/p&gt;
&lt;p&gt;## eDRX&lt;br /&gt;CONFIG_UDP_EDRX_ENABLE=n&lt;/p&gt;
&lt;p&gt;## RAI&lt;br /&gt;CONFIG_UDP_RAI_ENABLE=y&lt;/p&gt;
&lt;p&gt;## Enable required LTE link control modules&lt;br /&gt;CONFIG_LTE_LC_EDRX_MODULE=y&lt;br /&gt;CONFIG_LTE_LC_PSM_MODULE=y&lt;br /&gt;CONFIG_LTE_LC_RAI_MODULE=y&lt;/p&gt;
&lt;p&gt;- On your second question,&amp;nbsp;please see below the result:&lt;/p&gt;
&lt;p&gt;&amp;gt; AT+CPSMS=1,,,&amp;quot;00101000&amp;quot;,&amp;quot;01000001&amp;quot;&lt;br /&gt;OK&lt;br /&gt;&amp;gt; AT+CPSMS?&lt;br /&gt;+CPSMS: 1,,,&amp;quot;00101000&amp;quot;,&amp;quot;01000001&amp;quot;&lt;br /&gt;OK&lt;br /&gt;&amp;gt; AT%XMONITOR&lt;br /&gt;%XMONITOR: 5,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;302720&amp;quot;,&amp;quot;757B&amp;quot;,7,12,&amp;quot;007A637A&amp;quot;,101,5060,54,34,&amp;quot;&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;,&amp;quot;01001001&amp;quot;&lt;br /&gt;OK&lt;/p&gt;
&lt;p&gt;It seems the network has not enabled the requested PSM mode, is it correct?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Roya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cellular UDP on nRF9151 DK does not enter PSM</title><link>https://devzone.nordicsemi.com/thread/539843?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 09:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23d231f8-6ba2-4bef-9557-afef7289be3d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Roya,&lt;/p&gt;
&lt;p&gt;Are you sure that you are requesting PSM, etc.?&lt;/p&gt;
&lt;p&gt;Could you try running eg. XMONITOR for me? There is a bit on this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90103/issues-with-configuring-psm-on-the-nrf9160/379120"&gt;here &lt;/a&gt;and &lt;a href="https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-2-cellular-fundamentals/topic/lesson-2-exercise-1/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>