<?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>Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95076/sim-card-issues-cereg-90-possibly-due-to-freezing-weather</link><description>Hello, 
 
 We have a set of ~10 units in the field (outside) in Belgium, which communicate via NB-IoT, and do an MQTT sync procedure every 4 hours. 
 During the freezing period of around December 15th, 2 units went offline for about a week (the temperature</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Feb 2023 08:30:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95076/sim-card-issues-cereg-90-possibly-due-to-freezing-weather" /><item><title>RE: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/407695?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 08:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d056aebc-729b-4ee5-8d8d-51d17c865a46</guid><dc:creator>Sebastiaan Merckx</dc:creator><description>&lt;p&gt;Just for completeness for anyone who might be interested:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we have not been able to reproduce the issue in the freezer&lt;/li&gt;
&lt;li&gt;Someone has suggested that the issue might have been triggered (indirectly?) by a reset of the cell tower. The Mobile operator has suggested to do a &amp;quot;cancel location&amp;quot; of the sim card, but this was all perfectly captured by the modem firmware and higher-layer firmware so that is also not a trigger (it would be very surprising though, since the modem and sim card are unpowered during a reset).&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/402071?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 11:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d42c5b2c-f3fa-43f1-b9e0-9a14b4f67cab</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;
[quote user="Sebastiaan Merckx"]&lt;p&gt;I don&amp;#39;t handle the &amp;quot;CEREG: 90&amp;quot; notification specifically, but I have more generic recovery scenarios (e.g. first connection attempt can take 1 minute, then 4 minutes, then 7 minutes, with a &amp;quot;lte_lc_offline&amp;quot; and a &amp;quot;lte_lc_deinit&amp;quot; in between, and cold system resets if there is still no connection after the 3rd attempt.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m pretty sure that these devices have tried hundreds of times. You are right that it could help to implement a specific detection mechanism to get a better view of how often this occurs in the field (on other devices). I&amp;#39;ll put that on low prio though.&lt;/p&gt;[/quote]
&lt;p&gt;Ok, that is good to know! What&amp;#39;s important is that you are able to recover from the scenario, and it sounds like you have good control over that part!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Sebastiaan Merckx"]&lt;p&gt;I also have a device running for almost 24 hours in the freezer now (yeah, seriously &lt;span title="Slight smile"&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1258.1f642.svg" style="max-height:32px;max-width:32px;" alt="Slight smile" /&gt;&lt;/span&gt;) and syncing every 5 minutes which works fine so far. It&amp;#39;s not one of the faulty 2 units though, so that can be another test we could plan.&lt;/p&gt;
&lt;p&gt;For now, I don&amp;#39;t think we can make a lot of progress without reproductions, and I think it&amp;#39;s best to close the ticket (or put it on hold) with the assumption that a mechanical issue causes the problem.&lt;/p&gt;[/quote]
&lt;p&gt;It does sound like you&amp;#39;re on the right track for testing.&lt;/p&gt;
&lt;p&gt;Feel free to update this case at any point, if you have any questions or any new behavior/info pops up.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Happy holidays!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&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: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401935?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 13:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0875e6af-cda8-4f3a-af72-d67b771c288d</guid><dc:creator>Sebastiaan Merckx</dc:creator><description>&lt;p&gt;Hello H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t handle the &amp;quot;CEREG: 90&amp;quot; notification specifically, but I have more generic recovery scenarios (e.g. first connection attempt can take 1 minute, then 4 minutes, then 7 minutes, with a &amp;quot;lte_lc_offline&amp;quot; and a &amp;quot;lte_lc_deinit&amp;quot; in between, and cold system resets if there is still no connection after the 3rd attempt.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m pretty sure that these devices have tried hundreds of times. You are right that it could help to implement a specific detection mechanism to get a better view of how often this occurs in the field (on other devices). I&amp;#39;ll put that on low prio though.&lt;/p&gt;
&lt;p&gt;I also have a device running for almost 24 hours in the freezer now (yeah, seriously &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;) and syncing every 5 minutes which works fine so far. It&amp;#39;s not one of the faulty 2 units though, so that can be another test we could plan.&lt;/p&gt;
&lt;p&gt;For now, I don&amp;#39;t think we can make a lot of progress without reproductions, and I think it&amp;#39;s best to close the ticket (or put it on hold) with the assumption that a mechanical issue causes the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401919?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 12:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:799475b3-3b3e-4a6b-9535-cc378ebb7d2b</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;Thank you for providing such detailed information. I just wanted to make sure that the battery was able to provide sufficient peak outputs, even at lower temps.&lt;/p&gt;
&lt;p&gt;Based on the battery description and specification, it should have no problem driving the nrf9160, even at lower temperatures.&lt;/p&gt;
[quote user="Sebastiaan Merckx"]Both devices had exactly the same problem (CEREG:90), the second one was even fixed by just opening and closing the sim socket (not explicitly taking out the card) followed by a reset.[/quote]
&lt;p&gt;thank you for confirming.&lt;/p&gt;
&lt;p&gt;Does your firmware handle the &amp;quot;CEREG: 90&amp;quot; notification? What it could do is to catch this scenario, and try again x minutes later. This is however not a full fix (which would be to check or replace the SIM holder), but a way to detect the scenario.&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: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401723?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 13:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0882c4a1-9f83-4250-aa8d-08e9e81e5a59</guid><dc:creator>jo_elektro</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;That is my department :).&lt;br /&gt;The NRF is fed by two battery&amp;#39;s, one is a hefty 2S LIPO of about 37Wh and the second is a smaller 1S LIPO which takes over in case of removal of the Main battery. &lt;br /&gt;Both of them go through a LTC3621 step-down and that 3V3 output is stabilized by a 1F capacitor &lt;a href="https://www.digikey.be/nl/products/detail/kyocera-avx/SCMR18C105PRBA0/6166286?s=N4IgTCBcDaIMoGECyAlAjADgWgDAVgAUUAhAQRxAF0BfIA"&gt;Digikey&lt;/a&gt; to compensate for heavy current dips caused by a small DC motor further down the line. &lt;br /&gt;Capacitors on the NRF have been designed as per datasheet and equal to the eval board. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401721?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 13:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5663f04c-b731-4b01-b29d-52979126ea63</guid><dc:creator>Sebastiaan Merckx</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll let our HW engineer answer on the questions about battery type and supercaps, but I already can tell you that the powering circuit is not that easy. Main battery is &lt;a id="" href="https://www.rrc-ps.com/power-management/batterieladegeraete/produkt/RRC2130"&gt;https://www.rrc-ps.com/power-management/batterieladegeraete/produkt/RRC2130&lt;/a&gt;, so dual-cell Li-ion, 4170 mAh. There&amp;#39;s a backup battery (single-cell, 1800 mAh) but the backup battery did not have to take over during most of the 1-week outage.&lt;/p&gt;
&lt;p&gt;Both devices had exactly the same problem (CEREG:90), the second one was even fixed by just opening and closing the sim socket (not explicitly taking out the card) followed by a reset.&lt;/p&gt;
&lt;p&gt;Given your information and Torje&amp;#39;s shared experience above, a mechanical issue is indeed more likely (possibly caused indirectly by the cold?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401715?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 12:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:862c1ce3-c013-437e-86a3-d487fce77a95</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;
[quote user=""]1 of the 2 units resumed some communication on december 19th, but not with the correct intervals (so it definitely still had some trouble). I went on site, and noticed LTE connect errors pointing to &amp;quot;+CEREG: 90&amp;quot; which means issues with the UICC (SIM card). Several manual resets (triggered via the reset line, not by unpowering the system) did not solve the issue. Eventually, I took out the sim card from the slot for a second, and put it back in and it all started working fine.[/quote]
&lt;p&gt;CEREG: 90 points to communication problems with the SIM itself.&lt;/p&gt;
&lt;p&gt;This sounds like a mechanical issue with the SIM&amp;nbsp;card holder itself. Have you tried replacing the SIM holder to see if this has an effect on the stability over temperature?&lt;/p&gt;
[quote user=""]Is it possible that the SIM cards or another part of the electronics get stuck after e.g. a load of invalid commands/responses, and that a power cycle is required to fix the issue? (I have to verify if the 1.8V effectively goes down on a reset).[/quote]
&lt;p&gt;The supply voltage for the SIM goes off after a given time-period after enabling eDRX or PSM, depending on what your SIM supports (if it supports power down).&lt;/p&gt;
[quote user=""]I&amp;#39;m using Modem FW 1.3.0 and SDK 1.7.1, which are certainly not the latest ones. Would it make sense to upgrade these?[/quote]
&lt;p&gt;I do not think that this is a root-cause of the problems you&amp;#39;re seeing.&lt;/p&gt;
[quote user=""]Is it possible to reset the sim card via a firmware command? Or would that be done intrinsically on e.g. lte_lc_offline and &amp;quot;AT+CFUN=0&amp;quot;?[/quote]
&lt;p&gt;If you use PSM/eDRX actively in your application, the SIM communication will only occur on-demand, meaning that the SIM will effectively be reset for each time you communicate with it.&lt;/p&gt;
[quote user=""]Since it&amp;#39;s clearly not easy to reproduce this issue, have there been any similar issues or can you think of a way to reproduce the issue?[/quote]
&lt;p&gt;Did both devices have the exact same problem, ie. that CEREG: 90 was logged as the failure reason?&lt;/p&gt;
[quote user=""]since it&amp;#39;s battery based and includes supercapacitors so it&amp;#39;s not that easy.[/quote]
&lt;p&gt;Can you share information related to the battery type that you&amp;#39;re using, and the supercaps on your board?&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: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401714?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 12:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc34ed70-23a0-404c-83e1-17f4658a52a9</guid><dc:creator>Torje</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;I have several Thingy:91 here. On one of them I sometimes get the same error. Restarting the devices does not help; I have to reinsert the SIM, just like you&amp;#39;re describing. I think its bad wiring/something mechanically faulty with the SIM-holder, as it usually occurs after handling them. Are the devices sometimes moved, or are they completely stationary? Just a thought!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sim card issues (CEREG 90), possibly due to freezing weather</title><link>https://devzone.nordicsemi.com/thread/401712?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 12:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f336ad94-d4d6-4f76-a12c-4726cf729c94</guid><dc:creator>Sebastiaan Merckx</dc:creator><description>&lt;p&gt;I noticed that the 1.8V is brought down on hardware reset (when pressing reset button), which implies IMO that the sim card itself is not the faulty factor (it gets fully unpowered)? But that&amp;#39;s quite contradictory to the fact that just taking out the sim card, putting it back in and doing a hardware reset solves the issue?&lt;/p&gt;
&lt;p&gt;Not sure if a hardware reset via the reset button is equivalent to a software reset via sys_reboot(SYS_REBOOT_COLD).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>