<?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>Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120116/vehicle-tracker-nrf9160-radio-sometimes-hangs-we-have-initiated-a-nightly-reboot-which-uses-alot-of-battery-how-can-we-avoid-the-radio-hanging</link><description>We have designed a vehicle tracker that uses the NRF9160. We have found in the past that sometimes after the radio has been running for a while it gets into a loop where it becomes unresponsive, basically a loop where it doesn&amp;#39;t receive messages. We have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Mar 2025 09:47:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120116/vehicle-tracker-nrf9160-radio-sometimes-hangs-we-have-initiated-a-nightly-reboot-which-uses-alot-of-battery-how-can-we-avoid-the-radio-hanging" /><item><title>RE: Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?</title><link>https://devzone.nordicsemi.com/thread/529470?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 09:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c21a33e4-e434-441b-a8f3-0d8f70bd26df</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I was just thinking about potential underlying issue that is causing unresponsiveness. If the reset is doing the job for you and does not have any negative impact on your application, then it might be fine.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?</title><link>https://devzone.nordicsemi.com/thread/529369?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 18:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8ad9973-2526-454b-bacd-cc57b6811b71</guid><dc:creator>crotberg</dc:creator><description>&lt;p&gt;Thank You&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t want the unit to become unresponsive because we have no way of resetting it manually&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?</title><link>https://devzone.nordicsemi.com/thread/529360?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 16:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ffc645b-9ea6-4172-85d8-febd7be11734</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="crotberg"]I will review the best practices, is it best to reset the modem and scheduled interval?[/quote]
&lt;p&gt;There might be various reasons when modem reset is needed. It is generally recommended to de-initialize the modem gracefully using +CFUN=0. Another consideration is the existence of potential reset loop. You can read more about the process of&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nwp_042/page/WP/nwp_042/activation.html"&gt;activating reset loop&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Is it that you want to do modem reset on scheduled interval only to remove unresponsiveness, otherwise you would not do it normally in your application?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?</title><link>https://devzone.nordicsemi.com/thread/529127?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 16:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7a924b1-ee76-4982-89e0-6e481cbb9d0d</guid><dc:creator>crotberg</dc:creator><description>&lt;p&gt;It was just a couple when we were in beta. We just rebooted the power on the device and it worked. We add&amp;nbsp;&lt;span&gt;watchdog and it mostly fixed the issues.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will review the best practices, is it best to reset the modem and scheduled interval?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank You&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?</title><link>https://devzone.nordicsemi.com/thread/528804?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 10:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b202186f-b2b8-4b87-9361-f7cc665d8dbb</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;How many devices do you have? On how many devices have you noticed hanging behavior?&lt;/p&gt;
[quote user=""]We have found in the past that sometimes after the radio has been running for a while it gets into a loop where it becomes unresponsive, basically a loop where it doesn&amp;#39;t receive messages.[/quote]
&lt;p&gt;Can you provide more details about the loop and unresponsiveness? What kind of loop and unresponsiveness have you observed?&lt;/p&gt;
[quote user=""]We have to reset power to get it to work again.[/quote]
&lt;p&gt;How often do you perform reset? Is one reset enough to bring device to life? Does the device become unresponsive again and if so, when? Do you need to perform reset every time device hangs?&lt;/p&gt;
[quote user=""]We added a nightly reboot to try to refresh the radio every night before it has a chance to hang.[/quote]
&lt;p&gt;How do you perform this nightly reboot?&lt;/p&gt;
[quote user=""]What are the best practices for the NRF9160? Can just the modem be reset if needed?[/quote]
&lt;p&gt;Modem can be reset using&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfxlib-apis-latest/page/group_nrf_modem.html"&gt;nrfxlib API&lt;/a&gt;. You can look at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfxlib-apis-latest/page/group_nrf_modem_ga5ece961a28bea0033eaf0e85fcd2a238.html#ga5ece961a28bea0033eaf0e85fcd2a238"&gt;nrf_modem_shutdown()&lt;/a&gt;&amp;nbsp;which deinitializes modem library and turns off the modem&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfxlib-apis-latest/page/group_nrf_modem_ga1cd43750752be580e658884e73f7778e.html#ga1cd43750752be580e658884e73f7778e"&gt;nrf_modem_init()&lt;/a&gt;&amp;nbsp;that initializes the library and turns on the modem. You can also put the modem to desired functionality using&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/mob_termination_ctrl_status/cfun_set.html"&gt;CFUN set&lt;/a&gt;&amp;nbsp;command. Please be aware that it is possible to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nwp_042/page/WP/nwp_042/activation.html"&gt;activate reset loop restriction&lt;/a&gt;. You can read more about&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nwp_042/page/WP/nwp_042/blocking.html"&gt;modem behavior&lt;/a&gt;&amp;nbsp;in that case in the documentation.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>