Skip to content

Commit ed780ea

Browse files
committed
Decrease I2C bus rate
Due to the way the ESP32 core now handles I2C transactions we decrease the I2C bus to 100kHz to allow proper GNSS detection.
1 parent 5a478cc commit ed780ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
This firmware runs the core of the SparkFun RTK Surveyor product. It runs on an ESP32
77
and communicates with the ZED-F9P.
88
9-
Compiled with Arduino v1.8.15 with ESP32 core v2.0.1.
10-
v1.7 Moves to ESP32 core v2.0.0.
9+
Compiled with Arduino v1.8.15 with ESP32 core v2.0.2.
1110
1211
Select the ESP32 Dev Module from the boards list. This maps the same pins to the ESP32-WROOM module.
1312
Select 'Minimal SPIFFS (1.9MB App)' from the partition list. This will enable SD firmware updates.
@@ -435,7 +434,7 @@ void setup()
435434
Serial.begin(115200); //UART0 for programming and debugging
436435

437436
Wire.begin(); //Start I2C on core 1
438-
Wire.setClock(400000);
437+
//Wire.setClock(400000);
439438

440439
beginGNSS(); //Connect to GNSS to get module type
441440

0 commit comments

Comments
 (0)