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

error: nrf9160_gps.gps_thread: Invalid PVT frame and gps stop

 Hi ,Nordic:

             I used thingy:91 boards and firmware verison is thingy91_fw_2019-11-29_d3130d77, The board can connect to the nrf cloud, but cannot obtain gps data. We refer to the testing steps, log information such as attachments, it can received 5 stars during the process, and often print error: "nrf9160_gps.gps_thread: Invalid PVT frame " until nrf9160_gps.gps_thread is printed." Waiting for time window to operate", finally gps stop, the system freezes after 5 or 6 minutes   

       I would like to ask

              1: how to deal with the error nrf9160_gps.gps_thread: Invalid PVT frame.

               2: The system prompts What is Waiting for time window to operate, and what do we need to do?

                3: Why does the system freeze and how can I eliminate it?2020-02-21T08_35_42.891Z-log.txt

Parents
  • Hi.

     

    1: how to deal with the error nrf9160_gps.gps_thread: Invalid PVT frame.

     This usually means that the GPS did not have enough time to run due to the LTE stack.

     

    2: The system prompts What is Waiting for time window to operate, and what do we need to do?

     You don't necessarily have to do anything. The GPS is not able to operate at the same time as the LTE stack. The message simply means that the GPS stack did not get enough time to run before it had to yield to the LTE stack.

    One way to let the GPS stack run is to use PSM. While in PSM, the modem will shut down the LTE stack, which means that the PS stack gets to run. However, it is up to the network to decide if PSM is granted or not, and for how long. Most network operators do not grant PSM to roaming SIM cards such as the iBasis SIM card that came with the Thingy:91.

    Therefore, the best way to try the GPS is to either use only GPS without LTE concurrently, or to get a SIM card from your local network operator.

     

    3: Why does the system freeze and how can I eliminate it?

     Does it happen consistently?

    Does it also happen if you do not send a lot of AT commands?

    If you try to "select" the device again in the Link Monitor, do you get more log then?

    Best regards,

    Didrik

Reply
  • Hi.

     

    1: how to deal with the error nrf9160_gps.gps_thread: Invalid PVT frame.

     This usually means that the GPS did not have enough time to run due to the LTE stack.

     

    2: The system prompts What is Waiting for time window to operate, and what do we need to do?

     You don't necessarily have to do anything. The GPS is not able to operate at the same time as the LTE stack. The message simply means that the GPS stack did not get enough time to run before it had to yield to the LTE stack.

    One way to let the GPS stack run is to use PSM. While in PSM, the modem will shut down the LTE stack, which means that the PS stack gets to run. However, it is up to the network to decide if PSM is granted or not, and for how long. Most network operators do not grant PSM to roaming SIM cards such as the iBasis SIM card that came with the Thingy:91.

    Therefore, the best way to try the GPS is to either use only GPS without LTE concurrently, or to get a SIM card from your local network operator.

     

    3: Why does the system freeze and how can I eliminate it?

     Does it happen consistently?

    Does it also happen if you do not send a lot of AT commands?

    If you try to "select" the device again in the Link Monitor, do you get more log then?

    Best regards,

    Didrik

Children
No Data
Related