<?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 - Improve slow cellular registration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109393/nrf9160---improve-slow-cellular-registration</link><description>Hello, 
 I was wondering if there if there is way to improve the the network registration process on a custom board with nRF9160. 
 I currently have a typical &amp;quot;engineer setup&amp;quot; to work on the firmware (custom board equipped with an nRF9160 and a 1NCE SIM</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Mar 2024 12:37:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109393/nrf9160---improve-slow-cellular-registration" /><item><title>RE: nRF9160 - Improve slow cellular registration</title><link>https://devzone.nordicsemi.com/thread/474889?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 12:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbfa91d8-bf9a-4288-b33d-b026f6ad631e</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;My experience:&lt;/p&gt;
&lt;p&gt;If the modem searches for a network, that may take a while.&lt;/p&gt;
&lt;p&gt;The modem keeps the last network successfully registered.&lt;/p&gt;
&lt;p&gt;If the modem is restarted (cfun=0/cfun=1), the modem persist that last successful network and uses that for the first try. If the network is still there, the registration is quite fast. If not, it again takes a while to search a network.&lt;/p&gt;
&lt;p&gt;If the modem isn&amp;#39;t switched off (cfun=0) before the SoC restarts/reboots, then it depends on how long the modem was on. According the doc:&lt;/p&gt;
&lt;p&gt;&amp;quot;The command configuration is stored to NVM approximately every 48 hours and when&lt;br /&gt;the modem is set to minimum functionality mode with the +CFUN=0 command.&amp;quot;&lt;/p&gt;
&lt;p&gt;So, if you reboot the SoC, then you may either use a CFUN=0 before, or you may depend on how long the modem is running after it successfully registers to a network. If none is true, then the found network may be not persisted and that may end in longer search for a network after the modem restarts with the SoC.&lt;/p&gt;
&lt;p&gt;My app measure the time to register and if that&amp;#39;s more than 60s, then I do a CFUN=0/CFUN=1 in order to ensure, the found network is persisted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 - Improve slow cellular registration</title><link>https://devzone.nordicsemi.com/thread/474772?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 07:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec405683-5ce5-4555-9a24-8f78186244f8</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Other tickets about the &amp;quot;periodicsearchconf&amp;quot; already turned out, that on missing networks the modem stay in idle (for emergency calls, even if it&amp;#39;s unclear, how that applies to the nRF9160) instead of sleeping. And that the modems sticks to network rejection, which then requires either to wait longer or switching the modem off/on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 - Improve slow cellular registration</title><link>https://devzone.nordicsemi.com/thread/474654?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 14:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:641fb7b3-3108-4b98-94d1-58c582fa3629</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;Is there a bad reception where you are testing?&lt;/p&gt;
&lt;p&gt;Can you share the output of AT%XMONITOR ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]It works great. However, when uploading a new firmware, the duration to re-connect to the network is very inconsistent : sometimes it connects within less than 30 sec, and sometimes it is still not connected after 3 minutes. In both cases, the device it at the same location, on my desk.[/quote]
&lt;p&gt;When you say new firmware, do you mean new modem firmware or application based firmware? If it is new modem fw, it will clear information related to the cell towers that you&amp;#39;ve successfully connected to in the past.&lt;/p&gt;
[quote user=""]Because my device might be placed in a location where network is not reachable, I have implemented a timer that will switch off the device in case it takes too long to connect. This will prevent draining too much battery. The question is : how long is too long ? Is there a way to improve that ? For example, being able to detect that there are no cells around, so there is not point waiting for too long ?[/quote]
&lt;p&gt;This highly depends on your application and what you deem to be &amp;quot;too long&amp;quot;. I can state that the modem itself will duty cycle its searching over time, to avoid excessive current consumption.&lt;/p&gt;
&lt;p&gt;You can have a look at this AT command:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xdataprfl_set.html?cp=2_2_0_4_13_0"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xdataprfl_set.html?cp=2_2_0_4_13_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Which also sets how the periodic search behaves:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/periodicsearchconf_set.html"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/periodicsearchconf_set.html&lt;/a&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></channel></rss>