Instability when using LTE and GPS togeather

Hi,

We are facing an issue that is most probably related to the case when both LTE and GPS are used.
The use case is like a traditional GPS tracker, fixing and tracking stats with GPS and sending that data to the cloud.
The way we are doing that is the following:

  1. Start GPS tracking is a continuous navigation mode
  2. Sending some data over LTE (mostly triggered by external events)
  3. Sending the location data if the GPS had been fixed

So the GPS is running all the time in the "background" and from time to time got preempted by the LTE radion.
The problem that we have is our firmware stuck after some hours and it happens more often if the GPS can not be fixed due to the bad reception.
But it almost did not happen at all if the GPS is able to acquire a fix in a short time (around about 15 seconds).
I tried to track it down by adding verbose logging to any critical parts, but it led nowhere.
The way it sometimes stuck (based on the verbose logs I implemented) is around network communication, socket recv() and send(). The system is not crashing but never returns from those function calls. But this is not a general thing, sometimes can not even reach them, just stuck somewhere else which I could not figure out yet.

Even implemented our own way to switch between LTE and GPS by stopping and resuming
the GPS tracking based on the RRC status changes, but did not help at all. We saw the same behaviors as before.
My assumption is based on the fact that if I disable all GPS activities, and just send dummy GPS data to our cloud, then everything is working just fine. Can run for days with any issues.
So my question would be, how to continue troubleshooting our issue? Is there any restriction in general that I missed maybe about using LTE and GPS together?

Thank you in advance!

Parents
  • Hello, 

    First of all, what modem FW are you running on your device? Is this tested on custom HW or using our developer kits? What version of nRF Connect SDK is your application based on? 

    Is there any restriction in general that I missed maybe about using LTE and GPS together?

    Yes, there are restrictions in usage. From the nRF9160 Product Specification on GPS Receiver: 

    Operation is time multiplexed with LTE modem, and it is possible to use the GPS and QZSS receiver to obtain position either while the LTE is in RRC Idle mode or power saving mode (PSM), or when the LTE modem is completely deactivated.

    The application processor is the master in the system and responsible for starting and stopping of the GPS receiver. GPS can be run standalone or concurrently with QZSS. GPS and QZSS receiver configuration is accessible to user through the GNSS interface API.

    how to continue troubleshooting our issue?

    Logs from the device are best in this case, both from the application and modem logs. Have you tested this with our GNSS sample?

    Kind regards,
    Øyvind

Reply
  • Hello, 

    First of all, what modem FW are you running on your device? Is this tested on custom HW or using our developer kits? What version of nRF Connect SDK is your application based on? 

    Is there any restriction in general that I missed maybe about using LTE and GPS together?

    Yes, there are restrictions in usage. From the nRF9160 Product Specification on GPS Receiver: 

    Operation is time multiplexed with LTE modem, and it is possible to use the GPS and QZSS receiver to obtain position either while the LTE is in RRC Idle mode or power saving mode (PSM), or when the LTE modem is completely deactivated.

    The application processor is the master in the system and responsible for starting and stopping of the GPS receiver. GPS can be run standalone or concurrently with QZSS. GPS and QZSS receiver configuration is accessible to user through the GNSS interface API.

    how to continue troubleshooting our issue?

    Logs from the device are best in this case, both from the application and modem logs. Have you tested this with our GNSS sample?

    Kind regards,
    Øyvind

Children
No Data
Related