<?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 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67039/nrf9160-modem-and-brownouts</link><description>What level of risk is involved with brownouts for the modem? We have seen some modems in the past which have bricked themselves when a brownout has occurred when performing periodic flash maintenance. Is there any chance of something similar happening</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2020 13:30:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67039/nrf9160-modem-and-brownouts" /><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/279015?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 13:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e187a494-501b-47b4-a63e-d95cfa1d15db</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi, I got a response from the developers regarding how the modem handles brownouts. See the response below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The modem internally monitors the battery supply level at the start of RX/TX operations and when it detects the voltage dropping below the fixed 3000 mV level, the modem will disconnect from the network, enter deep sleep offline mode, and will notify the application domain of this event. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The modem will not remove itself out of flight mode until the application re-activates the modem (AT+CFUN=1), and at that time the modem will again resume monitoring the battery supply level.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;span&gt;EDIT 10th Nov: There&amp;nbsp;is additional support through the AT command %XPOFWARN. When it has been activated, the modem will also check for battery low-level warnings at all times, except when the modem is completely off. If such a warning is triggered, the modem will again disconnect from the network, enter deep sleep offline mode, and notify the application domain of this event.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/277272?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 02:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb1acd1-8b8c-42e7-88e9-5e6b0c8fc0f1</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Okay great, thank you for clarifying this Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/277062?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 09:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb05da65-a839-4314-af85-9c94f2a777f4</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Okay, so&amp;nbsp;the modem&amp;nbsp;&lt;span&gt;has internal timers for file system sync which is not controllable by the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, &lt;em&gt;in&amp;nbsp;&lt;/em&gt;&lt;/span&gt;&lt;span&gt;&lt;em&gt;addition to this&lt;/em&gt;, AT+CFUN=0 performs a file system sync every time the application requests it. So yes, you should limit the amount of times you power down the modem with AT+CFUN=0. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You should use AT+CFUN=4 instead if it&amp;#39;s merely for powering down, and not for saving configurations to flash. For that, AT+CFUN=0 has to be used.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/276582?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 09:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b738644-069b-482f-9e49-a76b53778d9f</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Thanks for the information Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/276548?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 07:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b3a6375-f01b-4378-b73b-b921f0c81083</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know there is some limit to running AT+CFUN=0, which is why we recommend customers use AT+CFUN=4 if they&amp;#39;re going to be powering down very often, but I don&amp;#39;t know if this limitation is due to the file-sync or something else.&lt;/p&gt;
&lt;p&gt;But as for the 3 times a day maximum, a believe the modem takes care of that. I have asked a developer to double-check so I&amp;#39;ll let you know when I get a reply.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/276060?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 03:32:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bb4c0b0-cb08-4595-a663-d12054540d7f</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Hi Heidi, sorry one more question. When you say it is recommended the sync is done at most 3 times a day, are you saying the modem handles that, or we as users need to ensure it does not do that? If so, how? We don&amp;#39;t have to limit the amount of times we power down the modem with AT+CFUN=0 do we?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/275793?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 08:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30334643-1875-4cbd-8ba9-1c3f50b8ed5f</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Thank you Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/275583?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 11:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc3f4e8-797a-4a57-bfd4-0034ba3cd816</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;The file system is designed to be as robust as possible, so it will survive even if the power is cut during file system operations. However, the latest changes may be lost.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/275228?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 01:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0576469e-cffb-45c1-9c14-7d3376745dce</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Thank you Heidi, It is good to hear you have not seen this before. What would happen if power was cut during one of these file syncs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 Modem and Brownouts</title><link>https://devzone.nordicsemi.com/thread/275102?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 13:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe024075-05fc-42ca-bce8-196843bb141e</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi! I apologize for the delayed response to your inquiry.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The modem is quite reliable when it comes to power being cut during file system operations.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;File system sync is done occasionally to all files. Although the sync does not always erase the in-use half of file system, it is recommended that we are conservative and the sync is done at most three times a day (this ensures the 10 000 erase cycle limit is not reached within 10 years).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have never encountered the modem being bricked.&amp;nbsp;I have forwarded this to the developers though, and I&amp;#39;ll update you when I hear back.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>