10 years, 3 months ago.

GPS problems C027

Working on an application using the C027 Support library, but I cannot get a lat/long from my device. Even the Support_Test application does not receive a GPS signal - it enters the last conditional of the gps loop: (gps.getNmeaAngle(1,buf,len,la) && gps.getNmeaAngle(3,buf,len,lo) && gps.getNmeaItem(6,buf,len,ch) && ch == 'A') {

I've got the SARA-G350 version. I've had success with SMS and writing/reading with TCP sockets, but the GPS is not functioning - can't get a lat/long out of the GPSSerial or GPSI2C classes. Any ideas? Here's my gps.getMessage() return:

STATUS: From GPS-$GPGLL,175147.00,V,N*4B 99.99,99.99*30 99,99.9N*41

GPS last stop STATUS: From GPS-$GPRMC,175148.00,V,070814,N*79

30 99,99.9N*41 STATUS: From GPS-$GPVTG,N*30 070814,N*79

30 99,99.9N*41 STATUS: From GPS-$GPGGA,175148.00,0,00,99.99*68 0 99,99.9N*41

STATUS: From GPS-$GPGSA,A,1,99.99,99.99,99.99*30 99,99.9N*41

STATUS: From GPS-$GPGSV,1,1,01,19,25*77 99,99.99,99.99*30 99,99.9N*41

STATUS: From GPS-$GPGLL,175148.00,V,N*44 99.99,99.99*30 99,99.9N*41

GPS last stop STATUS: From GPS-$GPRMC,175149.00,V,070814,N*78

30 99,99.9N*41 STATUS: From GPS-$GPVTG,N*30 070814,N*78

30 99,99.9N*41 STATUS: From GPS-$GPGGA,175149.00,0,00,99.99*69 0 99,99.9N*41

STATUS: From GPS-$GPGSA,A,1,99.99,99.99,99.99*30 99,99.9N*41

STATUS: From GPS-$GPGSV,1,1,01,19,25*77 99,99.99,99.99*30 99,99.9N*41

STATUS: From GPS-$GPGLL,175149.00,V,N*45 99.99,99.99*30 99,99.9N*41

I'm at about +42, -71.

Question relating to:

support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets. C027, u-blox

1 Answer

10 years, 3 months ago.

Please make sure that the gps antenna is connected and placed in a location with unobstructed view to the sky. The gps needs a few minutes to determine the first fix.

Hi, I have the same problem with the "CELLULAR AND POSITIONING SHIELD 3G/UMTS" shield using the MAX-M8Q Gps. The C027 is working fine with the GPRS chip but when it comes to the GPS, I am receiving on the I2C only a batch of NMEA lines then nothing....

Did someone managed to have this U-Blox GPS working with Nucleo boards?

Thanks,

posted by Marc BUSSON 02 Jun 2016