SparkFun Ublox Arduino Library calls for reading coordinates very slow (zed-f9p)

Hi,

I’m playing with 2 zed-f9p boards. Boards seem working nicely. Meeting expectations, at least so far. I’m in the very beginning of the story thou.

I wrote very simple Arduino sketch based on geofence example form the library. What I’m doing there is marking new geofences and checking for them. I have added reading coordinates, simple myGPS.getLatitude() and myGPS.getLongitude() calls. What happens is that on the first loop() calls return values pretty fast, around 10ms, but on the every next loop it takes around 1s, 100 times longer. This is too slow for my use case. I can post the whole code here, but first I have to ask. I have narrowed down that specifically getting latitude takes all this time, longitude is next command and it takes just couple ms. Am I missing something obvious?

Any advice appreciated!

Veiksmi,

Jānis

I have not used the Arduino code, but the default is to output once a second. Are you just waiting for the next output? You can increase the output rate to 8Hz in the control center.