Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    GPS not working

    Spresense
    3
    3
    3124
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cybermah last edited by

      Hi,
      I was wondering what could be wrong. Im 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:39:58.704 ->
      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 ->
      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
      Thanks
      Dana.

      1 Reply Last reply Reply Quote
      • T
        the_mutt last edited by

        There are some comments that solved another user's possibly related issues with the GPS here:
        https://www.hackster.io/contests/sony/discussion#challengeNav
        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?

        1 Reply Last reply Reply Quote
        • TE-KarlKomierowski
          TE-KarlKomierowski DeveloperWorld last edited by

          @cybermah said in GPS not working:

          18:39:58

          Hi @cybermah
          :
          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.
          BR Karl

          1 Reply Last reply Reply Quote
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal