Unable to use the XA1110 module with the Artemis boards core v1

I am trying to use the GPS module XA1110 (SparkFun GPS Breakout - XA1110 (Qwiic) - GPS-14414 - SparkFun Electronics) with the Artemis RedBoard (SparkFun RedBoard Artemis - DEV-15444 - SparkFun Electronics). I have connected it over qwiic, and I use the code provided by SF on the landing page of the XA1110. Somehow, I am not able to get any communication with the XA1110. I have tried changing the I2C port, the I2C frequency, adding pull ups / pull downs, but nothing helps.

Any idea why I cannot talk to the XA1110? Anybody with either the same problem, or who have actually managed to use the XA1110 on the SF Artemis platform? If so, do you have any code example or similar? :slight_smile:

It worked fine for me

Note that the XA1110 uses our “i2c GPS” library (there are 4 listed in library manager for me for sparkfun gps/gnss)

Also make sure you have the ATP selected as the board

Thank you for your help. It works now on my end too - strange, I must have somehow ended up with the wrong library somehow without noticing when I tried last (and I spent a full afternoon on this trying to change the I2C parameters etc ^^ ). Thank you again! :slight_smile:

1 Like

Ok, I checked, and the problem I had was definitely due to using the wrong library.

The way I solved this is that I set up a platformio project (Artemis is supported in platformio thanks to the amazing work of GitHub - nigelb/platform-apollo3blue: AmbiqMicro Apollo 3 Blue: development platform for PlatformIO , both for the core v1 and v2), and use a git submodule in the lib folder; this way I get 100% sure of what library is used by the project.

This is a side discussion, but there are so many issues / “non reproducibility” caused by the use of libraries in the arduino “IDE” :frowning: I wonder if it could be useful to, at some point, move to provide examples that are set up in platformio - all these problems would disappear :slight_smile: .