GNSS not working even with external antenna

Hi,

i've been trying to implement gnss functionality on my nrf9160dk board but it didn't work since i was doing it indoors, i've been advised to use an external antenna to make that happen so i got the molex_2066400001_antenna but even with that i still can't make it work,

here's the kconfigs i'm using : 

# Logging
CONFIG_LOG=y

# Button and LED support
CONFIG_DK_LIBRARY=y

# Newlib
CONFIG_NEWLIB_LIBC=y
#Enable printing of floating-points
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_FPU=y

# Network
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=n
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y

# Memory
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_MAIN_STACK_SIZE=4096

# Modem library
CONFIG_NRF_MODEM_LIB=y

# LTE link control
CONFIG_LTE_LINK_CONTROL=y
#  - Enable modem GPS mode
CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y
CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL=y

CONFIG_MODEM_ANTENNA_GNSS_ONBOARD=n
CONFIG_MODEM_ANTENNA_AT_COEX0="AT%XCOEX0=1,1,1560,1580"

# AT commands interface
CONFIG_AT_HOST_LIBRARY=y
CONFIG_UART_INTERRUPT_DRIVEN=y

and here's how i'm connecting the antenna 

am i doing something wrong or is it still a hardware problem?

thanks in advance,

regards,

Parents
  • Hi Saif

    I would presume the issue is that you are inside and even with an external antenna it can be difficult to get GNSS to work indoors. Building material, line of sight issues and other obstacles can be an issue. If possible I would suggest to try to take the DK outside, or at least if it is possible, take it to a windows and try there. When you tested, did you follow the steps found here


    Regards

    Runar

  • Hi runsiv,

    yes i followed the steps mentioned, the configs i added should do it i guess 

    CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y
    CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL=y

    CONFIG_MODEM_ANTENNA_GNSS_ONBOARD=n
    CONFIG_MODEM_ANTENNA_AT_COEX0="AT%XCOEX0=1,1,1560,1580"

    but i guess as you said, since i'm indoors this isn't guaranteed to work.

    thank you for your time,

    Regards.

  • Yeah that looks good to me. What I would suggest is that you use a sample that sends your location and just take the DK outside with you running on the battery to verify that it works. If it for some reason do not work then we have to dig deeper

    Regards

    Runar

Reply Children
No Data
Related