Code to configure ZED-F9T

Hi everyone,

I'm using the u-blox EVK-F9T (ZED-F9T) with an Adafruit Feather RP2040. Communicating using SPI (1) with the following wiring:

MISO pin is 8
MOSI pin is 11
SCK pin is 10
CS pin is 9

The end goal is to read the UBX messages and save them to an SD card using the SparkFun_u-blox_GNSS_v3 library. If I configure the GNSS device using U-center to output UBX to SPI and enable certain message types, all works as desired: code running on the RP2040 successfully logs the data and the data file can be opened in u-center.

Rather than configure through U-center, I'm trying to configure through code using the SFE_UBLOX_GNSS_SPI class. The steps I'm following to configure are:

  myGNSS.newCfgValset(VAL_LAYER_RAM);
  myGNSS.addCfgValset(UBLOX_CFG_SPIOUTPROT_UBX, 1);
  myGNSS.addCfgValset(UBLOX_CFG_MSGOUT_UBX_NAV_PVT_SPI, 1);
  myGNSS.addCfgValset(UBLOX_CFG_MSGOUT_UBX_NAV_CLOCK_SPI, 1);
  myGNSS.sendCfgValset();

I left off here for brevity, but the code checks the returns of all methods and all return success.

That isn't working. I'm unable to receive any UBX messages. Using U-center to query the config shows the values for those items don't change.

Before creating a more complete post, I first wanted to ask:

  1. Is that set of commands sufficient, or am I missing something?
  2. After configuring through code (when I get it working), I should see the values reflected after a U-center query, correct?

Thanks.

Hi @tjccuse

weolcome to the arduino forum.

well done posting your sketch as a code-section.

I dis some googling
https://www.google.com/search?q=arduino+u-blox+EVK-F9T+(ZED-F9T+demo+code

and found this

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.