GPS 15210 messing up my COM?

I have an OpenLog and 9 DoF modules connected to my RedBoard Turbo using QWIIC wiring and my code for them is WORKING.

When I try to add the example code for this GPS module the serial monitor no longer works and I have trouble getting the board to be recognized on COM8.

I suspect this line

myGNSS.setI2COutput(COM_TYPE_UBX);

is what is causing it to crash.

What does this line do to the I2C?

And more importantly how do I configure it so it doesn’t crash the COM line?

Thanks

Johnny

Does it work if you disconnect the other items? I’d first suspect power draw issues…perhaps try powering from another source (most usb max @ 500mA)

Also as a side note you’ll need to disable all except one set of pull-up resistors on the i2c bus

Ok I have gone about this a different way.

Currently running on a UNO 4 Minima with a QWIIC shield and QWIIC cable to the GSP 15210. No other modules connected.

I tried the GPS examples 1 through 4 with these results:

Example 1 doesn’t work [serial monitor dead]

Example 2 doesn’t work [serial monitor dead]

Example 3 works

Example 4 works

*1 and 2 have this UBX | NMEA line:

myGNSS.setI2COutput(COM_TYPE_UBX | COM_TYPE_NMEA); //Set the I2C port to output both NMEA and UBX messages

I strongly suspect something about that line doesn’t play nice with other serial connections like serial monitor[?].

It would be nice to get that working however my bigger problem is how slow the parsing is. It seems to take about 500 milliseconds which slows down my sketch too much. [Not GPS fix rate but the actual parsing. I am ok with 1 or 2 second old data].

What I think I really need is a bare bones sketch to grab one of the NMEA sentences [probably just the GPGGA sentence] so that I can just dump it to the SD card [eventually]. No parsing etc just dump it and I will parse it later in Excel. I also don’t care if that NMEA sentence is 1 or 2 seconds old. Presumably it would not be “asking” the GPS to take a reading but rather the GPS is automatically doing that anyway [at 1 Hz?] and I am just getting the last fix from memory. I.E retrieval of that data would be very quick.

I’d really appreciate some help with this. I am new to Arduino and trying to muddle my way through the examples and built my sketch.

Thanks in advance

Johnny

Hello Johnny

I’m also in the process of designing a GPS data logger using the Arduino R4 WiFi but lie a lot of other people have issues with Qwiic interfacing. Did you ever resolve your problems>

All the best

Joe C