kriswiner/CMWX1ZZABZ

GNSS always busy--can't progress

TFenby opened this issue · 14 comments

I'm trying your simple GNSS tests/examples, and finding that the first loop of while (GNSS.busy()) { } never exits. I checked the source and found that it just returns the value of gnss_busy(), but can't find any source for that--I assume it's part of the GPS chip? Regardless, do you know what might be causing it never not to be "busy"?

Long Cricket. This sketch and line in particular:

There's also the example named "GPS" that came with the Arduino IDE package via https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0

Yes to both questions. I've actually successfully registered the LoRaWAN portion with TTN at this point. Just can't figure out what's up with GNSS.

Is there another repository for that besides https://github.com/GrumpyOldPizza? I've looked through your GitHub, Tindie, and even HAD but have only really found your sketches and GrumpyOldPizza's Arudino SDK board info.

Yeah, that's what I've done. Tlera Corp didn't show up in the boards manager, though, until I added https://grumpyoldpizza.github.io/ArduinoCore-stm32l0/package_stm32l0_boards_index.json as a board manager URL in the IDE. Perhaps that's where I went astray?

Yes to both. Sounds like I haven't made any obvious mistakes so far, so that's heartening at least. I think for the time being I'm going to focus back in on TTN and come back to this with a fresher mind. If I continue to have issues I'll reach out again. Thank you for your very rapid responses!

I'll give pin 5 a shot. And I do have an external antenna on order now to see how that affects it. Will let you know the results.