<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103100/nrf9160-nmea-date</link><description>Hello 
 I am using nRF9160 to synchronise date and time of an RTC in another module using nRF GPS and 1PPS outputs. 
 My desired accuracy is within 10 milliseconds. 
 I have observed that PVT event date and time is not provided until a valid fix is achieved</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Aug 2023 20:40:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103100/nrf9160-nmea-date" /><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/443218?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 20:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5bd3b2b-4141-400d-b86a-367900d2ae41</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Godt å høre! Bare hyggelig! Ha en god helg!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/443181?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 13:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff821fe7-2a31-4794-81a7-8c69c3b7a060</guid><dc:creator>ipeedie</dc:creator><description>&lt;p&gt;Have quickly tried it and it appears to be doing what I was wanting. Tusen takk!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/443174?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 12:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50028f98-896a-412c-affe-59803be96db7</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi, the problem seems to be that you are looking at the wrong NMEA sentence. $GPGGA does not contain the date at all. You should be looking at $GPRMC which contains both time and date.&lt;/p&gt;
&lt;p&gt;It should be noted, though, that the accuracy of the time is guaranteed only after getting the first fix. Also, 1PPS pulses start only after the first fix.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/442935?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 10:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad921d06-09b9-46cb-8dc7-9dcc48ba7263</guid><dc:creator>ipeedie</dc:creator><description>&lt;p&gt;An extract from my debug output is below. You can see the NMEA counting up from 000000.00 and then once gets a single satellite &amp;quot;in-fix&amp;quot; it gets UTC (10:23:00.54). If I leave it longer the GNSS output will get a date and time once start getting valid PVT/GNSS fixes.&lt;/p&gt;
&lt;p&gt;[00:00:49.578,338] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 273 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:49.578,369] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 271 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:49.578,369] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 0 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:49.578,399] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:49.578,491] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,000049.00,,,,,0,,99.99,,M,,M,,*6B&lt;/p&gt;
&lt;p&gt;[00:00:50.578,033] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 275 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:50.578,094] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 268 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:50.578,094] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 73 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:50.578,125] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:50.578,186] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,000050.00,,,,,0,,99.99,,M,,M,,*63&lt;/p&gt;
&lt;p&gt;[00:00:51.578,308] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 277 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:51.578,308] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 268 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:51.578,338] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 0 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:51.578,369] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:51.578,430] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,000051.00,,,,,0,,99.99,,M,,M,,*62&lt;/p&gt;
&lt;p&gt;[00:00:52.578,704] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 279 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:52.578,735] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 260 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:52.578,765] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 55 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:52.578,796] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:52.578,857] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,000052.00,,,,,0,,99.99,,M,,M,,*61&lt;br /&gt;&lt;br /&gt;[00:00:53.587,432] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 280 el: 0 az: 0 in-fix: 1 unhealthy: 0&lt;br /&gt;[00:00:53.587,432] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 260 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:53.587,463] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 0 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:53.587,493] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:53.587,554] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,102300.54,,,,,0,01,99.99,,M,,M,,*66&lt;br /&gt;&lt;br /&gt;[00:00:54.579,498] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 280 el: 0 az: 0 in-fix: 1 unhealthy: 0&lt;br /&gt;[00:00:54.579,528] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: c/n0l: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:54.579,559] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 25 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:54.579,559] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:54.579,650] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,102301.54,,,,,0,01,99.99,,M,,M,,*67&lt;br /&gt;&lt;br /&gt;[00:00:55.579,864] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 281 el: 0 az: 0 in-fix: 1 unhealthy: 0&lt;br /&gt;[00:00:55.579,895] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 251 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:55.579,895] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 0 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:55.579,925] &amp;lt;inf&amp;gt; main: SV: 23 sig: 1 c/n0: 251 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:55.579,956] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:55.580,291] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,102302.54,,,,,0,01,99.99,,M,,M,,*64&lt;br /&gt;&lt;br /&gt;[00:00:56.580,505] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 283 el: 0 az: 0 in-fix: 1 unhealthy: 0&lt;br /&gt;[00:00:56.580,535] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 249 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:56.580,535] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 70 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:56.580,566] &amp;lt;inf&amp;gt; main: SV: 23 sig: 1 c/n0: 246 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:56.580,596] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:56.580,657] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,102303.54,,,,,0,01,99.99,,M,,M,,*65&lt;br /&gt;&lt;br /&gt;[00:00:57.580,535] &amp;lt;inf&amp;gt; main: SV: 3 sig: 1 c/n0: 284 el: 0 az: 0 in-fix: 1 unhealthy: 0&lt;br /&gt;[00:00:57.580,535] &amp;lt;inf&amp;gt; main: SV: 21 sig: 1 c/n0: 242 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:57.580,566] &amp;lt;inf&amp;gt; main: SV: 1 sig: 1 c/n0: 70 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:57.580,566] &amp;lt;inf&amp;gt; main: SV: 23 sig: 1 c/n0: 243 el: 0 az: 0 in-fix: 0 unhealthy: 0&lt;br /&gt;[00:00:57.580,596] &amp;lt;inf&amp;gt; main: GNSS: 05/01/1980 23:59:42.000 0.000000,0.000000,0.000000&lt;br /&gt;[00:00:57.580,688] &amp;lt;inf&amp;gt; main: NMEA: $GPGGA,102304.54,,,,,0,01,99.99,,M,,M,,*62&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/442924?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 09:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc671f37-6809-4672-9367-e55c57de63fb</guid><dc:creator>ipeedie</dc:creator><description>&lt;p&gt;Its best to have a mediocre/poor GNSS signal when testing so that you are more likely to get a period of between 1x and 3x &amp;quot;in-fix&amp;quot; satellites during which NMEA events occur before getting a valid fix with a PVT event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/442923?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 09:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63263fc1-d89d-4652-a53b-3dca1d2ec013</guid><dc:creator>ipeedie</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When I first activate the nRF9160 I see seconds counting up from 00:00:00 until I get my first &amp;quot;in-fix&amp;quot; satellite and then I start to see valid UTC time from NMEA events. Once I have 4x &amp;quot;in-fix&amp;quot; satellites and get an actual fix I start to see valid UTC date and time from PVT events.&lt;/p&gt;
&lt;p&gt;This can be reproduced by modifying&amp;nbsp;&lt;a id="" href="https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-6-cellular-fundamentals/topic/lesson-6-exercise-1/"&gt;https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-6-cellular-fundamentals/topic/lesson-6-exercise-1/&lt;/a&gt;&amp;nbsp;with...&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Subscribe to NMEA events with command&amp;nbsp;&lt;span&gt;nrf_modem_gnss_nmea_mask_set&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRF_MODEM_GNSS_NMEA_GGA_MASK&lt;/span&gt;&lt;span&gt;).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Add NRF_MODEM_GNSS_EVT_NMEA event within gnss_event_handler().&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;span&gt;Within&amp;nbsp;NRF_MODEM_GNSS_EVT_NMEA event read the NMEA string with&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrf_modem_gnss_read&lt;/span&gt;&lt;span&gt;((&lt;/span&gt;&lt;span&gt;void&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;*&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;nmea&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;sizeof&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;nmea&lt;/span&gt;&lt;span&gt;), &lt;/span&gt;&lt;span&gt;NRF_MODEM_GNSS_DATA_NMEA&lt;/span&gt;&lt;span&gt;) and then outut the string via LOG_INF() or equivalent.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/442921?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 09:43:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11d95c87-cc9f-4fea-a628-a383e1e8a31c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for providing this information. I&amp;#39;ve had our expert comment on this, and he informs that&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;the NMEA time is just counting seconds from the start until the first fix. Can you&amp;nbsp;double check if you are really seeing time or just the count from zero seconds upwards.Are you able to provide the NMEA information string you are seeing?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/442887?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 07:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:418ab27a-a327-476c-a969-778c53ddbdc1</guid><dc:creator>ipeedie</dc:creator><description>&lt;p&gt;Hei,&lt;/p&gt;
&lt;p&gt;nRF9160DK reports mfw_nrf9160_1.3.5 and hardware B1A.&lt;/p&gt;
&lt;p&gt;SDK v2.4.0.&lt;/p&gt;
&lt;p&gt;mvh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 NMEA date</title><link>https://devzone.nordicsemi.com/thread/442847?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 20:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58a7959-b079-4d1b-bbcb-e18940836afd</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you please provide what modem FW you are currently using, and with what version of the nRF Connect SDK?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>