<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><description>This article is related to Fun With Arduino, Global Navigation Satellite Systems (GNSS) and Teseo III . At a lower level though: interaction with the UART interface. The &amp;quot;Fun with Arduino&amp;quot; post of shabaz provides an Ard...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><pubDate>Wed, 24 Jul 2024 19:13:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:93433cee-6696-459e-934b-f81699c92c7c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;for documentation: this is the out-of-box flow of data&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:06122655-170a-41df-b171-041734dbc64d:type=text&amp;text=%24PSTMSWCONFIG%2C1%2C0%2C12%2C000205f105070a0a0e0d0c0b0a090608070203630e110c04180c0155030110500f00000f071402050a40ffffffffffffffffffffffffffffffffffffffffffff%2A1E%0A%24PSTMSWCONFIG%2C1%2C1%2C12%2Cffffffffffffffffffffffffffffffffffffffffffffffffffff010101000001094005ffffffffff5c1663095600980000000000000000000000000000000000%2A40%0A%24PSTMSWCONFIG%2C1%2C2%2C12%2Cffffffff00010000ffffffff000000000000000000000000ffffffff000100000019000000000000fffffffffffffffffffffffffffffffff090c02b05282000%2A4D%0A%24PSTMSWCONFIG%2C1%2C3%2C12%2C01323200050358020a0a0000fe03000010f083340d040104000002000000000000000000560098000000020000000000000000000000000000000000ac07730d%2A44%0A%24PSTMSWCONFIG%2C1%2C4%2C12%2C120000009a106464ae6184002f0001000000000000000000000000000a00000007000000ffffffff050000000100000015000000b004780503000000f0c3f7ff%2A4C%0A%24PSTMSWCONFIG%2C1%2C5%2C12%2C00000000ffffffff000000000c0a00020fb4a005f5a30000010a1900330a0a1400510000810e003300001810000008000e01000000000000020f000000000000%2A43%0A%24PSTMSWCONFIG%2C1%2C6%2C12%2C0000e803ffffffff0610000080ba8c014810c703ffffffff9abed2e6edf2fafb0000020205060101ff00ff00ff00ff00ff00ff00ff00ff0000000000ffffffff%2A4D%0A%24PSTMSWCONFIG%2C1%2C7%2C12%2C0000000000000000000000000000e03f0000000000000000000000000000f03fd3872ea86f754440938c9c853d8d2c403db83b6bb71b56404b0484b86d3da53e%2A40%0A%24PSTMSWCONFIG%2C1%2C8%2C12%2C0cb8df888b2f9c3e2b69a4292b1b503e0cb8df888b2f9c3e4b0484b86d3da53e000000000000000000000000000000005feffe78af8e44406c21c84109c32b40%2A4B%0A%24PSTMSWCONFIG%2C1%2C9%2C12%2C00000000000024401d8f19a88c8f4440598b4f0130be2b4000000000000024407ac2120f289f44402315c616828c2b400000000000002440ace28dcc239f4440%2A11%0A%24PSTMSWCONFIG%2C1%2C10%2C12%2C95826e2f698c2b4000000000000024400f0c0c120f0c0c120f0c0c120f0c0c1244454641554c54204c495633464c20434f4e46494755524154494f4e00000000%2A7D%0A%24PSTMSWCONFIG%2C1%2C11%2C12%2C00000000000000000000000000000000000000000000000000000000000000000000000000000000%2A26%0A%24GPRMC%2C185427.150%2CV%2C5051.83778%2CN%2C00422.55809%2CE%2C%2C%2C240724%2C%2C%2CN%2A7F%0A%24GPGGA%2C185427.150%2C5051.83778%2CN%2C00422.55809%2CE%2C0%2C00%2C99.0%2C160.24%2CM%2C0.0%2CM%2C%2C%2A62%0A%24GPVTG%2C%2CT%2C%2CM%2C%2CN%2C%2CK%2CN%2A2C%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GPGLL%2C5051.83778%2CN%2C00422.55809%2CE%2C185427.150%2CV%2CN%2A4F%0A%24PSTMCFG%2CLMS%2C1%2C0%2C0%2C50.0%2C50.0%2C05%2C03%2C60.0%2C0.000000%2C0.000000%2C-2.671600%2A12%0A%24PSTMCPU%2C46.72%2C-1%2C98%2A44%0A%24GPRMC%2C185428.000%2CV%2C5051.83778%2CN%2C00422.55809%2CE%2C%2C%2C240724%2C%2C%2CN%2A74%0A%24GPGGA%2C185428.000%2C5051.83778%2CN%2C00422.55809%2CE%2C0%2C00%2C99.0%2C160.24%2CM%2C0.0%2CM%2C%2C%2A69%0A%24GPVTG%2C%2CT%2C%2CM%2C%2CN%2C%2CK%2CN%2A2C%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GPGLL%2C5051.83778%2CN%2C00422.55809%2CE%2C185428.000%2CV%2CN%2A44%0A%24PSTMCPU%2C46.72%2C-1%2C98%2A44%0A%24GPRMC%2C185429.000%2CV%2C5051.83778%2CN%2C00422.55809%2CE%2C%2C%2C240724%2C%2C%2CN%2A75%0A%24GPGGA%2C185429.000%2C5051.83778%2CN%2C00422.55809%2CE%2C0%2C00%2C99.0%2C160.24%2CM%2C0.0%2CM%2C%2C%2A68%0A%24GPVTG%2C%2CT%2C%2CM%2C%2CN%2C%2CK%2CN%2A2C%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GPGLL%2C5051.83778%2CN%2C00422.55809%2CE%2C185429.000%2CV%2CN%2A45%0A%24PSTMCPU%2C39.40%2C-1%2C98%2A4D%0A%24GPRMC%2C185430.000%2CV%2C5051.83778%2CN%2C00422.55809%2CE%2C%2C%2C240724%2C%2C%2CN%2A7D%0A%24GPGGA%2C185430.000%2C5051.83778%2CN%2C00422.55809%2CE%2C0%2C00%2C99.0%2C160.24%2CM%2C0.0%2CM%2C%2C%2A60%0A%24GPVTG%2C%2CT%2C%2CM%2C%2CN%2C%2CK%2CN%2A2C%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GNGSA%2CA%2C1%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C99.0%2C99.0%2C99.0%2A1E%0A%24GPGLL%2C5051.83778%2CN%2C00422.55809%2CE%2C185430.000%2CV%2CN%2A4D%0A%24PSTMCPU%2C39.40%2C-1%2C98%2A4D%0A%0A...%0A%0A%24GPRMC%2C191237.000%2CA%2C5051.78066%2CN%2C00422.57079%2CE%2C0.3%2C45.7%2C240724%2C%2C%2CA%2A55%0A%24GPGGA%2C191237.000%2C5051.78066%2CN%2C00422.57079%2CE%2C1%2C05%2C3.7%2C027.26%2CM%2C47.3%2CM%2C%2C%2A65%0A%24GPVTG%2C45.7%2CT%2C%2CM%2C0.3%2CN%2C0.6%2CK%2CA%2A3E%0A%24GNGSA%2CA%2C3%2C15%2C18%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C4.7%2C3.7%2C2.9%2A2D%0A%24GNGSA%2CA%2C3%2C73%2C65%2C81%2C%2C%2C%2C%2C%2C%2C%2C%2C%2C4.7%2C3.7%2C2.9%2A2E%0A%24GPGSV%2C3%2C1%2C11%2C13%2C79%2C310%2C%2C14%2C53%2C113%2C%2C05%2C51%2C214%2C%2C30%2C47%2C067%2C%2A72%0A%24GPGSV%2C3%2C2%2C11%2C15%2C45%2C295%2C24%2C22%2C44%2C145%2C%2C20%2C27%2C192%2C%2C07%2C16%2C064%2C%2A7A%0A%24GPGSV%2C3%2C3%2C11%2C18%2C16%2C298%2C25%2C24%2C08%2C249%2C%2C08%2C08%2C029%2C18%2C%2C%2C%2C%2A40%0A%24GLGSV%2C2%2C1%2C08%2C72%2C79%2C113%2C%2C74%2C77%2C084%2C%2C75%2C38%2C202%2C%2C65%2C37%2C317%2C28%2A68%0A%24GLGSV%2C2%2C2%2C08%2C73%2C34%2C040%2C35%2C71%2C28%2C130%2C%2C81%2C13%2C333%2C24%2C82%2C08%2C017%2C%2A68%0A%24GPGLL%2C5051.78066%2CN%2C00422.57079%2CE%2C191237.000%2CA%2CA%2A50%0A%24PSTMCPU%2C40.28%2C-1%2C98%2A4D]&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28179&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><pubDate>Sat, 20 Jul 2024 18:09:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:93433cee-6696-459e-934b-f81699c92c7c</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&gt;
&lt;p&gt;I have just begun to use GPS receivers on some of my cameras.&lt;/p&gt;
&lt;p&gt;I was very surprised at how robust the receiver section was to angle orientation.&lt;/p&gt;
&lt;p&gt;I found they worked even at 90 degrees to horizontal.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28179&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><pubDate>Sat, 20 Jul 2024 12:20:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:93433cee-6696-459e-934b-f81699c92c7c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I found a command that doesn&amp;#39;t nicely fit in my reply-response paradigm: GPGSV.&lt;/p&gt;
&lt;p&gt;Unlike GPGLL and GPRCM, it returns multiple lines. That means I have to adapt the reader functions and the class of my Teseo lib to deal with such scenarios...&lt;/p&gt;
&lt;pre&gt;---- Sent utf8 encoded message: &amp;quot;$PSTMNMEAREQUEST,80000,0\r\n&amp;quot; ----&lt;br /&gt;$GPGSV,3,1,12,03,82,292,,02,54,132,21,17,48,278,,21,37,130,*7A&lt;br /&gt;$GPGSV,3,2,12,04,37,183,,19,33,308,19,28,20,062,,31,16,096,*7C&lt;br /&gt;$GPGSV,3,3,12,06,11,302,,22,07,267,,09,07,204,,32,05,037,*71&lt;br /&gt;$GLGSV,2,1,07,88,66,314,20,72,65,044,26,87,51,144,20,65,51,219,*62&lt;br /&gt;$GLGSV,2,2,07,71,15,039,29,81,13,322,32,80,11,358,35,,,,*58&lt;br /&gt;$PSTMNMEAREQUEST,80000,0&lt;/pre&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28179&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><pubDate>Fri, 19 Jul 2024 17:31:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:93433cee-6696-459e-934b-f81699c92c7c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This turned out to be helpful for 2 scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;for the UART firmware that I&amp;#39;m writing for the GPS, but also&lt;/li&gt;
&lt;li&gt;for the I2C existing firmware.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The freedom to test scenarios interactive, and get immediate feedback, was a big asset.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I learned what exactly happen, by looking while it happened. Easier than interpreting a spec or looking at (chunks of) bitstreams.&lt;/p&gt;
&lt;p&gt;I still had to look at bitstreams, to create reliable firmware. But at that time, I already knew that the back-and-forth conversation was working.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28179&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><pubDate>Fri, 19 Jul 2024 09:29:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:93433cee-6696-459e-934b-f81699c92c7c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This conversation reliably turns it into UART request-response:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Preparation:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Reset:&lt;br /&gt;&lt;strong&gt;$PSTMSRR\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;it may generate a lot of messages every scond at this time. Shut the engine down:&lt;br /&gt;&lt;strong&gt;$PSTMGPSSUSPEND\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Once these two lines wizz by, the device becomes silent:&lt;br /&gt;&lt;em&gt;$PSTMGPSSUSPENDED*15&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$PSTMGPSSUSPEND&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;clear out the UART buffer&lt;br /&gt;&lt;strong&gt;$PSTMCFGMSGL,0,1,0,0\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1 reply per request,&amp;nbsp;no other messages are generated:&lt;br /&gt;&lt;strong&gt;$PSTMSETPAR,1227,1,2\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Restart the engine, configured for reply-response&lt;br /&gt;&lt;strong&gt;$PSTMGPSRESTART\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Once you get this message, we&amp;#39;re online, in reply-response mode&lt;br /&gt;&lt;em&gt;$PSTMGPSRESTART&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;if you want this to be the standard behaviour of the GPS, you can store these settings with &lt;strong&gt;$PSTMSAVEPAR&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Asking data:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Get GPGLL location&lt;br /&gt;&lt;strong&gt;$PSTMNMEAREQUEST,100000,0\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;$GPGLL,5051.79800,N,00422.57465,E,091850.000,V,N*42&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$PSTMNMEAREQUEST,100000,0&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Get GPRMC with time:&lt;br /&gt;&lt;strong&gt;$PSTMNMEAREQUEST,40,0\r\n&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;$GPRMC,091901.000,V,5051.79800,N,00422.57465,E,,,190724,,,N*79&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$PSTMNMEAREQUEST,40,0&lt;/em&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28179&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Fun With UART, Global Navigation Satellite Systems (GNSS) and Teseo III</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/fun-with-uart-global-navigation-satellite-systems-gnss-and-teseo-iii</link><pubDate>Thu, 18 Jul 2024 22:31:37 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:93433cee-6696-459e-934b-f81699c92c7c</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;That&amp;#39;s very useful! Better set of tried-and-tested commands and easier to understand, than the Teseo documentation.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s very non-trivial to figure this stuff out from their docs.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28179&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>