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

nrf9160DK GPS not getting fix

Hello,

When working with an nrf9160 sample that uses Nordic nRF Cloud and A-GPS, the GPS functions as expected and I am able to get regular fixes. However, when using the GPS without A-GPS, a fix is never achieved. Instead the GPS will report that it is tracking anywhere from 7-11 satellites, but using none, and never getting a fix. I have tried this with the unmodified "gps" sample project provided and the same behavior occurs:

I have let it run for long periods of time with no success. I have seen similar issues reported in devzone, but with no public definitive answer provided. Does Nordic have a solution for this problem or any explanation as to why it is occurring? As I plan to use the nRF9160 with AWS and not nRF Cloud, it is necessary that the GPS works without dependency on the nRF Cloud A-GPS. I also assume this is not an issue involving shared resources with LTE-M since, as I understand, the "gps" sample project does not use LTE-M unless using the SUPL library (I am not). I've attached  prjconf though it is not modified.

CONFIG_BSD_LIBRARY=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_AT_CMD=y
CONFIG_AT_NOTIF=y

# Enable SUPL client support
CONFIG_SUPL_CLIENT_LIB=n

# Networking
CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y

# Disable native network stack to save some memory
CONFIG_NET_NATIVE=n

# Main thread
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_MAIN_STACK_SIZE=4096

I am using ncs v1.3, the Molex external antenna provided (with SW12 set to CON), and the latest modem firmware. 

Related