Skip to content

Unable to use GALILEO with UBlox M8Q #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ChSt15 opened this issue Apr 30, 2025 · 3 comments
Closed

Unable to use GALILEO with UBlox M8Q #236

ChSt15 opened this issue Apr 30, 2025 · 3 comments

Comments

@ChSt15
Copy link

ChSt15 commented Apr 30, 2025

Im using a UBlox M8Q and want to enable Galileo. If i enable only Galileo, then getSIV() always returns 0 and im unable to get a lock.

This is the code I use to setup the GNSS module:

gnss_.setUART1Output(COM_TYPE_UBX);
gnss_.setNavigationFrequency(10);
gnss_.setAutoPVT(true);
gnss_.setDynamicModel(DYN_MODEL_AIRBORNE2g);
gnss_.enableGNSS(false, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_GPS);
gnss_.enableGNSS(true, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_GALILEO);
gnss_.enableGNSS(false, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_GLONASS);
gnss_.enableGNSS(false, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_IMES);
gnss_.enableGNSS(false, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_QZSS);
gnss_.enableGNSS(false, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_SBAS);
gnss_.enableGNSS(false, sfe_ublox_gnss_ids_e::SFE_UBLOX_GNSS_ID_BEIDOU);

@ChSt15 ChSt15 changed the title Unable to use GALILEO with UBlox M8Q due to NMEA protocol version not being changable Unable to use GALILEO with UBlox M8Q Apr 30, 2025
@PaulZC
Copy link
Collaborator

PaulZC commented Apr 30, 2025

Hi @ChSt15 ,

Please clarify:

  • Are you using the MAX-M8Q?
  • Are you using only UART1 to communicate with the module?

Perhaps this is a baud rate issue? NAV-PVT is 100 bytes. At 10Hz, that is >10,000 bits/second. This will overload UART1 at the default of 9600 baud.

Please try increasing the baud rate, or decrease the navigation rate. What happens then?

Best wishes,
Paul

@ChSt15
Copy link
Author

ChSt15 commented May 1, 2025

Im using the SAM-M8Q in a breakout board.
Im only using the UART port. I have the UART port set to 115200 baud and can communicate through my flight controller with UCenter.
I found, if reset the module using UCenter and reconfigure it to use Galileo, then the Galileo works and I can see the Galileo satellites in Ucenter when using NMEA protocol 4.1. If I then disable NMEA over the UART port, and enable PVT and only Galileo sats, then i eventually get a position estimate using only Galileo.
If i factory reset the module and then use the previously mentioned commands with the library to configure the module directly, then i never get satellites reported or a lock. Enabling GLONASS or GPS does work.

@PaulZC
Copy link
Collaborator

PaulZC commented May 1, 2025

Hi @ChSt15 ,

OK. I understand. But I don't really see how we can help. It sounds like the module and this library are working normally. All I can suggest is that you break the issue down, change one setting at a time, and find the point at which you no longer get solutions. Ensure Galileo is enabled before you disable the other constellations. The M8 can only receive three constellations simultaneously, so you may need to disable e.g. GLONASS first, then enable Galileo, wait, then disable the other constellations. Disable SBAS and QZSS, then disable GPS. IMES is disabled by default.

I hope this helps,
Paul

@PaulZC PaulZC closed this as completed May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants