GPS not working
cybermah last edited by
I was wondering what could be wrong. I
m trying to get the GPS to work, Ive tried loading the gnss.ino and gnss_tracker.ino example apps and it never seems to get a lock on the satilites.
Here is the serial debug output for gnss_tracker.ino. The last part shows its not getting any gps data.
18:39:58.497 -> cxd56_gnssinitialize: Initializing GNSS..
18:39:58.497 -> cxd56_gnss_register: GNSS driver loaded successfully!
18:39:58.497 -> cxd56_geofenceinitialize: Initializing GEOFENCE..
18:39:58.497 -> cxd56_geofence_register: GEOFENCE driver loaded successfully!
18:39:58.704 -> Please specify the operation mode.
18:39:58.704 -> 0:Run positioning. Output NMEA text.
18:40:01.726 -> set mode : 0
18:40:01.726 -> ; Satellite system(GPS/GLONASS/SBAS/QZSS_L1CA/QZSS_L1S)
18:40:01.726 -> SatelliteSystem=GPS+GLONASS+QZSS_L1CA
18:40:01.726 -> ; Output NMEA message to UART(TRUE/FALSE)
18:40:01.726 -> NmeaOutUart=TRUE
18:40:01.726 -> ; Output NMEA message to file(TRUE/FALSE)
18:40:01.726 -> NmeaOutFile=TRUE
18:40:01.726 -> ; Output binary data to file(TRUE/FALSE)
18:40:01.726 -> BinaryOut=FALSE
18:40:01.760 -> ; Positioning interval sec(1-300)
18:40:01.760 -> IntervalSec=1
18:40:01.760 -> ; Positioning active sec(60-300)
18:40:01.760 -> ActiveSec=60
18:40:01.760 -> ; Positioning sleep sec(0-240)
18:40:01.760 -> SleepSec=240
18:40:01.760 -> ; Uart debug message(NONE/ERROR/WARNING/INFO)
18:40:01.760 -> UartDebugMessage=INFO
18:40:01.760 -> ; EOF
18:40:01.760 -> SpGnss : begin in
18:40:02.608 -> SpGnss : begin out
18:40:02.608 -> SpGnss : start in
18:40:02.608 -> mode = HOT_START
18:40:02.813 -> SpGnss : start out
18:40:05.628 -> $GPGGA,000003.00,,,,,0,00,,,,,,,*4B
18:40:06.614 -> $GPGGA,000004.00,,,,,0,00,,,,,,,*4C
18:40:07.633 -> $GPGGA,000005.00,,,,,0,00,,,,,,,*4D
18:40:08.614 -> $GPGGA,000006.00,,,,,0,00,,,,,,,*4E
18:40:09.633 -> $GPGGA,000007.00,,,,,0,00,,,,,,,*4F
18:40:10.619 -> $GPGGA,000008.00,,,,,0,00,,,,,,,*40
18:40:11.607 -> $GPGGA,000009.00,,,,,0,00,,,,,,,*41
18:40:12.624 -> $GPGGA,000010.00,,,,,0,00,,,,,,,*49
18:40:13.606 -> $GPGGA,000011.00,,,,,0,00,,,,,,,*48
18:40:14.629 -> $GPGGA,000012.00,,,,,0,00,,,,,,,*4B
Any info would be nice
the_mutt last edited by
There are some comments that solved another user's possibly related issues with the GPS here:
It's the third post by Vincent Wong (posted 7 days ago), and the replies seem to have helped him, maybe it's useful for you?
Judging from the log you have been running the sketch from 18:39:58 to 18:40:14 which is only a few seconds.
To get the a fix you need to be outside under clear sky and wait longer thand that, maybe a minute or even longer. Depends on the conditions and if you have made a cold start.
Please try this and see if it helps.