Network stability debug help

We are running into an issue of stability with our LTE connection. Our nRF9160 makes a call every 5 minutes to our backend. On start-up, the device connects and starts making these calls.  After some time (90 minutes to 3 days) we stop seeing the communication to our backend. Once we power cycle the device, we start to see the calls coming in again. The 9160 application has the watchdog enabled, and is not hanging as I'm still seeing heartbeat print outs on RTT viewer.

I'm getting the system setup to collect the modem trace files with nRF Connect Trace Collector. Are there any additional debug outputs I should be collecting to help diagnose this network connection issue?

We're using:

NVS v2.1.2

MFW v1.3.3

Zephyr 3.1.99

On ATT network

Parents
  • Hello, 

    All logs along with modem traces are good for us to look into. Make sure that the logs correspond with the modem traces. What kind of application are you running on your device? Are you running this on custom HW or our development kit nRF9160DK?

    Thanks.

    Kind regards,
    Øyvind

  • Hello,

    Following up on this ticket. We've updated our code a good amount since the original posting, but are seeing possibly the same issue.

    We are seeing an issue where our LTE data stops reaching our backend. From the RTT viewer prints, the nRF9160 dropped the network connection for a period of ~70 minutes before reconnecting. We didn't have a trace being collected for this, but I've setup a test board with trace capture running to catch this.

    We have a custom board that has a nRF9160 and a nRF5340. POST and GET commands are sent from the 5340 via UART to the 9160, and the 9160 returns data from the calls to the 5340. To save battery, we suspend our UART peripherals on both IC's when not in use, then have shared GPIO act as a wakeup when one of the IC's has data to send over UART. We use the zephyr ‘pm_device_action_run()’ function to suspend and resume the UART peripherals.

    I will post a modem trace once it's captured, but in the meantime we're wondering 1.) if there are any known issues, or additional areas we should look into regarding the 9160 disconnecting from the network, and 2.) are there any known issues with the UART peripherals on either the 9160 or 5340 that could prevent them from exiting low power mode?

    nRF9160, nRF5340

    NCS v2.4.0

    MFW v1.3.5

    AT&T SIM

  • Hi Eric, 

    I will ask our team to provide logs with time stamps. But might not have any before Monday.

    ERob said:
    Also, the last line from the network specialist is 'Routing to L1 for investigation', what does this mean?

    Sorry for the confusion. There are several layers inside of the modem based on 3GPP.  L1 is the "Physical Layer" of modem, and there is a team of experts who will look into this. L2 is the "Data Link Layer". FYI, this is more internal, but still an important part of the investigation and good to know in regards to the time it takes.

    There are still ongoing discussions to why the device fails to connect the cell, as this is not clear in the modem trace.

    Connection establishments probably fail because there is disturbing neighbor cells. RSRP’s of the cells are very good but SNR is weak. Because of good RSRP, repetitions or ce-level 1 are not triggered.

    Have you done any HW review of your design? The antenna design might affect the performance. If not done, would it be possible for you to upload your design files? I can forward to our HW design experts to verify if the antenna design is sufficient. 

    ERob said:
    e are only able to regain network connectivity after we reboot the device. Your assessment says the modem successfully reconnects with AT&T at the end, but we are not seeing this.

    I will ask our modem team about this as well. 

    Kind regards,
    Øyvind

  • Hey Øyvind,

    This antenna design was tested in a CTIA certified lab and met all of our performance requirements. The antenna has not changed since our initial installation, so it does not explain why this issue started happening after 3 months of successful device operation. We do not believe that RF noise is the reason for this issue.

    Looking at your previous message, we have the following comments. It is strange the device is attempting TAU on T-Mo. The device should not attempt this unless it is registered to the network, and it should not be able to register to a T-Mo network with the AT&T SIM that is installed. Also, shouldn’t the modem filter the available towers by PLMN, which would prioritize the AT&T towers? It is strange that the device is attempting to attach to T-Mo at all, and especially strange that it is attempting to attach to VZW which uses band 13 instead of band 12.

    Were you able to get any timestamp data? I'm not seeing any datetime data in the trace when viewing in nRF Connect or Wireshark.

    All the best,

    Eric

  • Eric, 

    ERob said:
    The device should not attempt this unless it is registered to the network, and it should not be able to register to a T-Mo network with the AT&T SIM that is installed.

    I'm working with our modem team to find the answer to why this. It is not unusual for a device to try to connect other cell towers, but the unusual is that your stationary device does this. 

    ERob said:
    This antenna design was tested in a CTIA certified lab and met all of our performance requirements. The antenna has not changed since our initial installation, so it does not explain why this issue started happening after 3 months of successful device operation. We do not believe that RF noise is the reason for this issue.

    Thanks for clarifying. We are looking into all potential issues to help you out of this situation.

    ERob said:
    Were you able to get any timestamp data? I'm not seeing any datetime data in the trace when viewing in nRF Connect or Wireshark

    Still working on this on my side. If you are not able to see this in wireshark after converting Cellular Monitor, then we need to look at other posibilities.

    Kind regards,
    Øyvind 

  • Hey  , small update from our side. The issue is still not clear to what is causing the disconnects. Our team in the US are looped in to perform more tests in the area of the failing devices. Will update as soon as I have more information/feedback from the team. 

    Thanks for your patience, and we apologize for the inconvenience this is causing. 

    Kind regards,
    Øyvind

  • Hey Oyvind, any update on this investigation?

Reply Children
  • Hello Eric, from what I was informed and have understood, this issue is related to your application and it was fixed in the beginning of this year. Due to that I think we should close this DevZone ticket, and if there still are issues on your side please register a new DevZone ticket with relevant modem traces and application logs from your failing devices.

    Kind regards,
    Øyvind

Related