Hello,
I have an application developed with the nRF9161 DK board, which essentially consists of a GPS tracker that acquires a position every x time and sends that same position to a server via an LTE network; if it fails to obtain a position, it sends an indication to the server saying that it was unable to obtain a location.
GNSS is configured as a single fix with a timeout of 65 seconds (https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/nrf_modem/doc/gnss_interface.html#single_fix). Whenever the system wakes up to acquire the location, the nrf_modem_gnss_start() function is used for start GNSS search and the nrf_modem_gnss_stop() function is used to stop the GNSS search. Whenever there is a GNSS search, the system is put into LTE_LC_FUNC_MODE_ACTIVATE_GNSS mode. In addition, GNSS is still configured with the NRF_MODEM_GNSS_USE_CASE_SCHED_DOWNLOAD_DISABLE flags and with NRF_MODEM_GNSS_USE_CASE_MULTIPLE_HOT_START using the nrf_modem_gnss_use_case_set() function. I also write the almanac files of the latest sdk version to memory using the AT%XFILEWRITE command and the file name.
When testing on the street in an open field, this application takes around 30~40 seconds to TTFF (time to first fix) and, if stay on the street, it takes around 2~5 seconds (250~400 dB/Hz) to get location. The problem arises when you have not been able to get a location for about 2 days, i.e. if board have been inside a building. In this case, the application is no longer able to recover the location even if it is placed outside in the open for several hours. When it was placed in the street, I checked the number of satellites it could pick up and the strength of the signal and often it couldn't find any satellites or if it did, it was only one or two with a signal of around 150 dB/Hz (could just be antenna noise). I reset the board and the modem (nrf_modem_shutdown), but the problem persisted, i.e. during the 65 second it did not obtain any satellite.
Setup:
Board: nRF9161 DK
Modem FW: 2.0.2
SDK version: 2.8.0
GNSS antenna: external
Is there something I'm doing wrong with the GNSS configuration? What could be the reason for this problem and how can I solve it ? Suggestions ?
Thanks,
GoncaloS