M8U Ublox Working Fine on Arduino Mega but Too Slow on Arduino Due

Hi,

I recently had to switch from Arduino Mega to Due. I was using M8U Ublox module on Mega for a while without any issue using I2C. However, The same layout with Due does not work as expected. I am reading the GPS and IMU data via I2C but It is too slow. It updates every 3 seconds.

I do not have the option to go back to Mega and I have to get this module working properly with Arduino Due.

Not sure what is going on. The code and wiring is 100% identical for both boards but Due does not like it. Even though it is supposed to be the faster board than Mega.

Thanks for the help

Hi,

I’ve had the same issue with the Due. The u-blox modules use I2C clock stretching, and the Due does not support clock stretching. You can use Serial (UART) instead. Or SPI (by closing the SPI jumper). The SparkFun u-blox GNSS Arduino Library supports all three.

Best wishes,

Paul