This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF9160: GPS Tracking satellites, but can't get fix.

Hi, we have a custom board using the nrf9160, running modem firmware 1.1, and using the nrf9160_gps driver.

Sometimes we see messages like this:

Tracking: 8 Using: 0 Unhealthy: 0

Where the GPS is tracking satellites but is not using any, and never gets a fix. Eventually we time-out and stop the GPS. But this behavior continues until the next device is restarted.

Is this a bug with the modem firmware? Is there any fix for this.

Thanks

Parents
  • Hello, 

    What GPS antenna do you have on your custom board? Can you provide any schematics? Are you outside or inside when testing?

    Kind regards,
    Øyvind

  • Hi Øyvind, we're using a yageo patch antenna (ANT1818B00AT1575S), and I've attached the relevant section of the design here.

  • I'm working on getting a modem trace.. Do you need to see the Log output as well?

  • Yes, please. 

    Where are you conducting your tests? Where is the GPS receiver when you are tracking the satellites?

  • Is there any news on this issue? I do see the same issue with tracking several SVs but not using any of them on my Thingy 91 occasionally happening too.

  • Just dropping in on this question... I was under the impression that the LTE and GPS couldn't be operated at the same time, you can't use them simultaneously they have to be switched in between. So how can the LTE generate intermodulation to the LNA then?

    Peter 

  • Hi

    Did you find the solution ? I'am having the same issue 

Reply Children
  • Hei Ricardo (and others having the same issues of seeing many satellites tracked, but no fix),

    There's a PR that can help us debug this issue a bit without capturing modem traces: https://github.com/nrfconnect/sdk-nrf/pull/2385

    This PR introduces NMEA-only output to the GPS sample (found in samples/nrf9160/gps/), which might help us narrow down what's going on.
    Until the PR is merged into NCS, you can experiment with it by using git and pull in the changes like this (assuming your NCS git remote is named "ncs", otherwise change it to your remote's name):

    Fullscreen
    1
    2
    3
    git fetch ncs refs/pull/2385/head
    git checkout FETCH_HEAD (add " - b <branch_name>" if you want it on a branch)
    west update
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Now you have a new option in the GPS sample Kconfig. You can enable it by setting CONFIG_GPS_SAMPLE_NMEA_ONLY=y (note that it's default "n" /disabled  at the bottom line of the sample's prj.conf). After setting the option, you can build and flash using the tool you prefer.
    I'm attaching hex files for nRF9160 DK and Thingy:91:
    gps_sample_nmea_nrf91dk.hex
    gps_sample_nmea_thingy91.hex

    In the log output, you'll see NMEA strings only.

    You can share this log with us, and will see if we can see what's going on. Note that you can create a private ticket and share the files there if you prefer.

    In some cases, we'll also need modem traces to know exactly what's going on.

    Best regards,

    Jan Tore