Yes, we’re currently using NCS version 2.30. I belive that I’ve set things up correctly.
Here’s the configuration in boards/circuitdojo_feather_nrf9160_ns.conf:
#
# Copyright (c) 2021 Circuit Dojo, Inc.
#
# SPDX-License-Identifier: LicenseRef-Circuit-Dojo-5-Clause
# SPI Flash
CONFIG_SPI=y
CONFIG_SPI_NOR=y
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
# GPS Antenna configuration
CONFIG_MODEM_ANTENNA=y
CONFIG_MODEM_ANTENNA_AT_COEX0="AT/%XCOEX0=1,1,1565,1586"
# Adding I2C
CONFIG_I2C=y
# Add the accelerometer
CONFIG_SENSOR=y
CONFIG_LIS2DH=y
CONFIG_LIS2DH_TRIGGER_GLOBAL_THREAD=y
CONFIG_LIS2DH_OPER_MODE_LOW_POWER=y
# Add the ADC
CONFIG_ADC=y
This configuration is also present in build/zephyr/.config:
...
CONFIG_MODEM_ANTENNA=y
CONFIG_MODEM_ANTENNA_GNSS_ONBOARD=y
# CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL is not set
CONFIG_MODEM_ANTENNA_AT_MAGPIO=""
CONFIG_MODEM_ANTENNA_AT_COEX0="AT%XCOEX0=1,1,1565,1586"
# CONFIG_MODEM_ANTENNA_LOG_LEVEL_OFF is not set
# CONFIG_MODEM_ANTENNA_LOG_LEVEL_ERR is not set
# CONFIG_MODEM_ANTENNA_LOG_LEVEL_WRN is not set
CONFIG_MODEM_ANTENNA_LOG_LEVEL_INF=y
# CONFIG_MODEM_ANTENNA_LOG_LEVEL_DBG is not set
CONFIG_MODEM_ANTENNA_LOG_LEVEL=3
...
We’re using an antenna that we received from you, and the unit is currently positioned outdoors under clear skies.
To verify that the setup is functioning correctly, I loaded the nfed/samples/gps
project and received a response from the GNSS.
Tracking: 11 Using: 8 Unhealthy: 1
-----------------------------------
Latitude: -27.444587
Longitude: 153.165365
Altitude: 71.5 m
Accuracy: 5.2 m
Speed: 0.2 m/s
Speed accuracy: 1.5 m/s
Heading: 0.0 deg
Date: 2023-05-24
Time (UTC): 19:59:13.937
PDOP: 2.4
HDOP: 1.5
VDOP: 1.9
TDOP: 1.5
NMEA strings:
$GPGGA,195913.94,2726.67521,S,15309.92190,E,1,08,1.46,71.51,M,,M,,*56
$GPGLL,2726.67521,S,15309.92190,E,195913.94,A,A*74
$GPGSA,A,3,10,18,23,24,28,32,,,,,,,2.40,1.46,1.90,1*16
$GPGSV,3,1,10,2,32,218,,10,53,179,28,18,38,065,27,21,00,225,,1*5F
$GPGSV,3,2,10,22,,,24,23,35,132,19,24,17,122,18,27,46,270,06,1*51
$GPGSV,3,3,10,28,14,009,15,32,71,320,25,1*66
$GPRMC,195913.94,A,2726.67521,S,15309.92190,E,0.31,0.00,240523,,,A,V*39
I plan to configure and run the v2.3.0/nrf/samples/nrf9160/gnss
to see if I can get that to work as well.
In the mean time would it be posiable for you to quickly see if you can get the v2.3.0/nrf/samples/nrf9160/nrf_cloud_mqtt_multi_service
on a spare board if you have the opportunity? I appreciate your assistance as I seem to be missing something here.