[ZED-F9P] How to communicate over UART/Serial and provide the RTCM correction data at the same time

Hi,

I’m using a ESP32 + GSM to receive the RTCM correction data via Internet and providing it to the ZED-F9P via UART/Serial.

At the same time, I want to get the positioning information via UART/Serial. This seems not to work properly together.

Does both interfer with each other? How can I get it to work? Do I have to switch to another communication method? I’m fairly new to this topic.

thx and greetings,

André

They don’t interfere; the GPS-RTK2 even has five communications ports which are all active simultaneously: USB-C (which enumerates as a COM port), UART1 (with 3.3V TTL), UART2 for RTCM reception (with 3.3V TTL), I2C (via the two Qwiic connnectors or broken out pins), and SPI.

Be sure to run through our hookup guide here https://learn.sparkfun.com/tutorials/gp … o3EALw_wcB which will cover the configuration specifics for each protocol, how to pipe correction data in, etc.

Hope this helps!

Hey,

Thanks for the quick response!

In the hook up guide is mentioned, that I also can send RTCM3 correction data via I2C. Is there a sample somewhere? I could not find one on GitHub.

Thanks!

André

Hi SunboX,

Have a look at the ZED-F9P Example5:

https://github.com/sparkfun/SparkFun_u- … mation.ino

That example shows how to use the pushRawData function. It is paired with Example3; Example3 generates the RTCM data and transmits it using the Arduino Serial1 port, Example5 receives the data via Arduino Serial1 and pushes it to the ZED-F9P over I2C.

Best wishes,

Paul

Hey,

Again thank you very much! Using I2C for both works very reliable. I have one more issue, but I will create a new post, it’s not realized to this topic.

Greetings,

André