<?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>Azure Sphere Secure IOT - I2C Compass</title><link>/members-area/personalblogs/b/andy-clark-s-blog/posts/azure-sphere-secure-iot---i2c-compass</link><description>My experiments with U-Center and the GPS module had shown that the direction indication was not very reliable. Following a link in Kevin Saye&amp;#39;s post, I discovered a command that should tell the orientation. But my device did not seem to be generating</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Azure Sphere Secure IOT - I2C Compass</title><link>https://community.element14.com/members-area/personalblogs/b/andy-clark-s-blog/posts/azure-sphere-secure-iot---i2c-compass</link><pubDate>Thu, 13 Dec 2018 18:12:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:31f48954-d265-4b7e-a48b-82fa57901e8b</guid><dc:creator>-manu-</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Andy,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for sharing your I2C bit-banging on Azure Sphere work. Like you, we are frustrated with the lack of native I2C support on the MT3620. Once your software emulation works, we will all be able to proceed knowing that we can switch to the native support whenever it comes.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5972&amp;AppID=312&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Azure Sphere Secure IOT - I2C Compass</title><link>https://community.element14.com/members-area/personalblogs/b/andy-clark-s-blog/posts/azure-sphere-secure-iot---i2c-compass</link><pubDate>Sun, 09 Dec 2018 01:12:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:31f48954-d265-4b7e-a48b-82fa57901e8b</guid><dc:creator>shabaz</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Hi Andy,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you&amp;#39;re running this on a laptop, it could be worth unplugging it from the PSU temporarily, just to check if it is being caused by current through the ground connection.&lt;/p&gt;&lt;p&gt;Also, it&amp;#39;s a pain when APIs use High and Low for open drain, because it&amp;#39;s never completely clear if the high means floating high, or pulled to ground (because in open drain, when the signal is asserted, it is pulled low, whereas with normal push-pull, when it is asserted, it is pulled high). So it is easier if they&amp;#39;d use the term asserted.&lt;/p&gt;&lt;p&gt;But it sounds like you&amp;#39;ve already checked that since you connected an LED. And if you&amp;#39;ve stepped through the code it seems like all is well there.. I think it could be worth replacing the 10k with 2.2k, just in case the load is too high.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5972&amp;AppID=312&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Azure Sphere Secure IOT - I2C Compass</title><link>https://community.element14.com/members-area/personalblogs/b/andy-clark-s-blog/posts/azure-sphere-secure-iot---i2c-compass</link><pubDate>Sun, 09 Dec 2018 00:12:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:31f48954-d265-4b7e-a48b-82fa57901e8b</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I tried to use the PicoScope 2204A to &lt;a class="jive-link-external-small" href="https://www.picotech.com/library/oscilloscopes/serial-protocol-decoding-i2c" rel="nofollow ugc noopener" target="_blank"&gt;decode the I2C protocol&lt;/a&gt; but the scope keeps overloading my USB bus. I was hoping that using a powered hub would solve my problems with the picoscope but it appears not, I did manage to get one trace which reflected what I was getting back in my debug window and the address for read and write seemed good but that got lost before I could snapshot it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I added some LEDs to the data lines and a push switch from the SDA line to GND. I stepped through the code using the switch to behave as the remote, cross referencing against these two links. And the code does seem to be valid.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5972&amp;AppID=312&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Azure Sphere Secure IOT - I2C Compass</title><link>https://community.element14.com/members-area/personalblogs/b/andy-clark-s-blog/posts/azure-sphere-secure-iot---i2c-compass</link><pubDate>Sat, 24 Nov 2018 20:08:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:31f48954-d265-4b7e-a48b-82fa57901e8b</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update.&lt;/p&gt;&lt;p&gt;I know how it is when work interferes with fun.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5972&amp;AppID=312&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>