Gemalto is now part of the Thales Group, find out more.

You are here

GPS not working (Thales Cinterion TX62 on Arduino Portenta Cat. M1/NB IoT GNSS Shield) | Thales IoT Developer Community

September 16, 2022 - 3:54am, 205 views

I have been struggling to find the right AT commands to initialize the GPS engine and get a position fix in a reasonable time, without much success.

This is my configuration:

08:51:17.681 -> ^SGPSC: "Engine","3"
08:51:17.681 -> ^SGPSC: "Engine/Beidou","1"
08:51:17.681 -> ^SGPSC: "Engine/Galileo","0"
08:51:17.681 -> ^SGPSC: "Engine/StartMode","0"
08:51:17.681 -> ^SGPSC: "Nmea/Beidou","off"
08:51:17.681 -> ^SGPSC: "Nmea/Galileo","off"
08:51:17.728 -> ^SGPSC: "Nmea/Glonass","off"
08:51:17.728 -> ^SGPSC: "Nmea/GPS","on"
08:51:17.728 -> ^SGPSC: "Nmea/Output","on"
08:51:17.728 -> ^SGPSC: "Nmea/Urc","off"
08:51:17.728 -> ^SGPSC: "Nmea/Version","4.10"
08:51:17.728 -> ^SGPSC: "Power/Psm","1"

Most of the time I only get this output:

09:05:27.238 -> $GPGSV,1,1,0,1*54
09:05:27.238 -> $GPGSA,A,1,,,,,,,,,,,,,,,*1E
09:05:27.238 -> $GNGSA,A,1,,,,,,,,,,,,,,,*00
09:05:27.238 -> $GNVTG,,T,,M,,N,,K,N*32
09:05:27.238 -> $GNRMC,,V,,,,,,,,,,N,V*37
09:05:27.238 -> $GPGGA,,,,,,0,,,,,,,,*66

Randomly I get satellite view, but no position fix, even with blue clear sky and after waiting for a long time:

08:51:26.620 -> $GPGSV,4,1,15,02,14,316,00,05,54,273,00,06,15,032,00,09,,,00,1*5E
08:51:26.620 -> $GPGSV,4,2,15,11,,,00,12,37,300,00,13,38,172,00,14,06,149,00,1*50
08:51:26.620 -> $GPGSV,4,3,15,15,20,204,00,17,28,111,00,19,44,083,00,20,49,345,00,1*64
08:51:26.620 -> $GPGSV,4,4,15,24,07,233,00,25,06,312,00,30,04,121,00,1*57
08:51:26.620 -> $GPGSA,A,1,,,,,,,,,,,,,,,*1E
08:51:26.620 -> $GNGSA,A,1,,,,,,,,,,,,,,,*00
08:51:26.620 -> $GNVTG,,T,,M,,N,,K,N*32
08:51:26.620 -> $GNRMC,,V,,,,,,,,,,N,V*37
08:51:26.666 -> $GPGGA,,,,,,0,,,,,,,,*66

I assume the LTE-M connection is influencing the GPS connection as well. 

GpsOneXTRA does not work, so no point in using it.

Anyone has a complete set of AT commands, from modem factory start, for both LTE and subsequent GPS connection to get a successful position fix?

Any help is welcome! Thanks!