Vehicle Tracker NRF9160 Radio Sometimes hangs, we have initiated a nightly reboot which uses alot of battery. How can we avoid the radio hanging?

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't receive messages.  We have to reset power to get it to work again. We are using the Asset Tracker 2 as our base code.

We added a nightly reboot to try to refresh the radio every night before it has a chance to hang. I was told that this solution can be bad for battery usage.

What are the best practices for the NRF9160? Can just the modem be reset if needed?

Thank You

Parents
  • Hi,

    How many devices do you have? On how many devices have you noticed hanging behavior?

    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't receive messages.

    Can you provide more details about the loop and unresponsiveness? What kind of loop and unresponsiveness have you observed?

    We have to reset power to get it to work again.

    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?

    We added a nightly reboot to try to refresh the radio every night before it has a chance to hang.

    How do you perform this nightly reboot?

    What are the best practices for the NRF9160? Can just the modem be reset if needed?

    Modem can be reset using nrfxlib API. You can look at nrf_modem_shutdown() which deinitializes modem library and turns off the modem and nrf_modem_init() that initializes the library and turns on the modem. You can also put the modem to desired functionality using CFUN set command. Please be aware that it is possible to activate reset loop restriction. You can read more about modem behavior in that case in the documentation. 

    Best regards,
    Dejan

Reply
  • Hi,

    How many devices do you have? On how many devices have you noticed hanging behavior?

    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't receive messages.

    Can you provide more details about the loop and unresponsiveness? What kind of loop and unresponsiveness have you observed?

    We have to reset power to get it to work again.

    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?

    We added a nightly reboot to try to refresh the radio every night before it has a chance to hang.

    How do you perform this nightly reboot?

    What are the best practices for the NRF9160? Can just the modem be reset if needed?

    Modem can be reset using nrfxlib API. You can look at nrf_modem_shutdown() which deinitializes modem library and turns off the modem and nrf_modem_init() that initializes the library and turns on the modem. You can also put the modem to desired functionality using CFUN set command. Please be aware that it is possible to activate reset loop restriction. You can read more about modem behavior in that case in the documentation. 

    Best regards,
    Dejan

Children
No Data
Related