so I’m trying to run the sample nfed/gps example and can’t get a fix. I saw from a previous thread that the following CONFIG items were needed:

CONFIG_NRF9160_GPS_SET_COEX0=y
CONFIG_NRF9160_GPS_COEX0_STRING="AT%XCOEX0=1,1,1565,1586"

but attempting to build with these produces an error on unknown symbols for NRF9160_GPS_SET_COEX0

Thoughts?

Should be:

# GPS Antenna configuration
CONFIG_MODEM_ANTENNA=y
CONFIG_MODEM_ANTENNA_AT_COEX0="AT\%XCOEX0=1,1,1565,1586"

In newer versions of NCS

I see those in the ./gps/boards/circuitdojo_feather_nrf9160_ns.conf file

what about CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL does that need to be set to use the connected GPS antenna?

so any thoughts then on why no fix with line of sight?

Do you have your GPS antenna hooked up to the correct U.FL port?

Can you see the output of the sample in your serial console? (Is it actually running?)

Generally if you’re outside direct access to sky with no SUPL in my experience it takes 30-60 seconds.

GPS antenna - connected to the top U.FL connect when the USB port is on the left …

Output runs successfully in the Serial Monitor

Outside w/Direct access to the sky - no fix in 300+ seconds

Tracking:  1 Using:  0 Unhealthy: 0
-----------------------------------
Seconds since last fix: 304
Searching [|]

NMEA strings:

$GPGGA,000504.11,,,,,0,,99.99,,M,,M,,*67
$GPGLL,,,,,000504.11,V,N*4B
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99,1*2D
$GPGSV,1,1,1,26,,,25,1*56

As a point of comparison, using the nrf9151-DK it works - at the same exact location

@rabarar can you email me your IMEI. A picture of the setup would be helpful as well.

@rabarar also could be the antenna rather than the board. Do you have any other active U.FL antennas you can try?

Can you also make sure that if you search your /gps/build/ directory that CONFIG_MODEM_ANTENNA_AT_COEX0 exists in your .config file? The .config file is a compilation of all your kconfig values.

I assume you didn’t hook up anything else to that port at any time?

I replaced your antenna with a known working one and see that I can get a fix - the antenna that you shipped was defective…

    Tracking: 11 Using:  4 Unhealthy: 0
    Tracking: 12 Using:  4 Unhealthy: 0
    Tracking: 11 Using:  4 Unhealthy: 0
    Tracking:  9 Using:  4 Unhealthy: 0
    Tracking:  9 Using:  4 Unhealthy: 0
    Tracking: 10 Using:  4 Unhealthy: 0
    Tracking: 10 Using:  5 Unhealthy: 0
    Tracking: 10 Using:  6 Unhealthy: 0
    -----------------------------------
    Latitude:       XX.257819
    Longitude:      -XX.879896
    Altitude:       92.6 m
    Accuracy:       3.1 m
    Speed:          0.1 m/s
    Speed accuracy: 0.5 m/s
    Heading:        0.0 deg
    Date:           2024-12-02
    Time (UTC):     22:23:02.071
    PDOP:           3.5
    HDOP:           1.7
    VDOP:           3.0
    TDOP:           2.5
    
    NMEA strings:
    ...

    @jaredwolff as a suggestion it might be better to just ship a case with U.FL-SMA female connectors. I drilled a hole in your case, threw one on and used that with a better antenna … I’ll send you a pic if you’re curious to see it! 🙂

    rabarar I replaced your antenna with a known working one and see that I can get a fix - the antenna that you shipped was defective…

    Ok. I’ll get a return label and replacement to you ASAP. Same address as your order OK?

      Terms and Conditions | Privacy Policy