Skip to content

Commit 49e1f07

Browse files
committed
Add note about SBAS config for v1.12 ZED firmware
1 parent f1ca3d8 commit 49e1f07

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

Firmware/Test Sketches/SetConstellations/SetConstellations.ino

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
06 08 0C 00 01 00 11 01 GLO
2424
Above is command for GPS and QZSS turned off
2525
26+
00 3C 3C 05
27+
00 08 10 00 01 00 11 11
28+
02 0A 12 00 00 00 21 21
29+
03 04 05 00 00 00 11 11
30+
05 00 04 00 01 00 11 11
31+
06 08 0C 00 00 00 11 11
32+
00 00 00 00 00 00 00 00
33+
Above, on ZED-F9P v1.12, BeiDou is disabled. Why is SBAS not being reported?
34+
Ah, it's a v1.12 bug. Works fine in v1.13 and on ZED-F9R v1.0
35+
2636
Ugh. The issue is that the doc says IMES is gnssid 4 but really QZSS is in 4th position but with ID 5.
2737
2838
Works:
@@ -48,11 +58,12 @@ SFE_UBLOX_GNSS i2cGNSS;
4858
void setup()
4959
{
5060
Serial.begin(115200);
51-
delay(200); //Wait for ESP32
61+
delay(500); //Wait for ESP32
5262
Serial.println("SparkFun u-blox Example");
5363

5464
Wire.begin();
55-
65+
Wire.setClock(400000);
66+
5667
//i2cGNSS.enableDebugging(); // Uncomment this line to enable debug messages
5768

5869
if (i2cGNSS.begin() == false) //Connect to the Ublox module using Wire port
@@ -173,7 +184,7 @@ bool setConstellation(uint8_t constellation, bool enable)
173184
customCfg.len = 0; // Setting the len (length) to zero lets us poll the current settings
174185
customCfg.startingSpot = 0; // Always set the startingSpot to zero (unless you really know what you are doing)
175186

176-
uint16_t maxWait = 1250; // Wait for up to 250ms (Serial may need a lot longer e.g. 1100)
187+
uint16_t maxWait = 1250; // Wait for up to 1250ms (Serial may need a lot longer e.g. 1100)
177188

178189
// Read the current setting. The results will be loaded into customCfg.
179190
if (i2cGNSS.sendCommand(&customCfg, maxWait) != SFE_UBLOX_STATUS_DATA_RECEIVED) // We are expecting data and an ACK

0 commit comments

Comments
 (0)