Handing nmea 0183 gps receiver data over UART

Hello everyone , I am interfacing and trying to process GPS data received over UART port. The GPS outputs NMEA based sentences at a rate of 10 Hz. I started using the example that have UART implementation and I run in debug mode I noticed that the GPS data received by the nrf52 DK board, is uncertain. I am unable to receive the data synchronously . I tried another example "libuarte" but this time the programs run for 2 to 3 seconds and then gives me the erorr "fatal error". what should I do  ? 
Thanks

  • Hello,

    If you see the "fatal error" message, you should define "DEBUG" in your preprocessor definitions. If you are not certain how to do this, please let me know what IDE you are using (Segger Embedded Studio/Keil/IAR/armgcc).

    Then check what the log says after you have defined DEBUG in your preprocessor definitions. Does it point to somewhere in your project? What function returned the error, and can you find out why?

    When you had the "unreliable" data? How did you set up the UART?

    Best regards,

    Edvin

Related