<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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>hmc 5883 interface with AT89S52</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/31487/hmc-5883-interface-with-at89s52</link><description> 
hi, 
i&amp;#39;m trying to access hmc 5883l compass sensor from the at89s52
controller via i2c protocol. I&amp;#39;m unable to correctly collect the
data. need urgent help. 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: hmc 5883 interface with AT89S52</title><link>https://community.arm.com/thread/117581?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2014 00:14:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b121f5b5-aaf3-4272-bec1-6b675c82be4f</guid><dc:creator>SIDDIQUE KHAN</dc:creator><description>&lt;p&gt;&lt;p&gt;
the display code is fine.&lt;br /&gt;
the concatenation part is a algorithm which i just tried. not sure if
it is correct.&lt;br /&gt;
also is my approach towards reading the device correct??&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hmc 5883 interface with AT89S52</title><link>https://community.arm.com/thread/107751?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2014 23:42:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:803f151c-5197-4886-9b51-f7df86a4f20a</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
How have you verified that your &amp;quot;concatenation&amp;quot; code is correct
&amp;amp; working?&lt;/p&gt;

&lt;p&gt;
How have you verified that your display code &amp;amp; hardware are
correct &amp;amp; working?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hmc 5883 interface with AT89S52</title><link>https://community.arm.com/thread/92465?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2014 22:35:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:eafad2d1-eac4-4e57-96f8-b189565f76cb</guid><dc:creator>SIDDIQUE KHAN</dc:creator><description>&lt;p&gt;&lt;p&gt;
hi,&lt;br /&gt;
I&amp;#39;m new to this forum, I&amp;#39;m extremely sorry that my question was a bit
rough.&lt;br /&gt;
coming to the problem.&lt;br /&gt;
i&amp;#39;m referring the correct device address (0x3c) as prescribed by the
data sheet.&lt;br /&gt;
i&amp;#39;ve set the device in continuous measurement mode 0x3c 0x02 0x00&lt;br /&gt;
then i&amp;#39;m reading the 6 registers for the data. in the format
specified below&lt;br /&gt;
0x3c 0x03&lt;br /&gt;
0x3d read operation&lt;/p&gt;

&lt;p&gt;
0x3c 0x04&lt;br /&gt;
0x3d read operation&lt;/p&gt;

&lt;p&gt;
0x3c 0x05&lt;br /&gt;
0x3d read operation&lt;/p&gt;

&lt;p&gt;
till&lt;/p&gt;

&lt;p&gt;
0x3c 0x08&lt;br /&gt;
0x3d read operation.&lt;/p&gt;

&lt;p&gt;
after this i&amp;#39;m trying to display them by first concatenating the
lsb and msb data.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hmc 5883 interface with AT89S52</title><link>https://community.arm.com/thread/93223?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2014 22:34:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:16365789-78ca-4922-b724-c9cb1a153eb3</guid><dc:creator>SIDDIQUE KHAN</dc:creator><description>&lt;p&gt;&lt;p&gt;
hi,&lt;br /&gt;
I&amp;#39;m new to this forum, I&amp;#39;m extremely sorry that my question was a bit
rough.&lt;br /&gt;
coming to the problem.&lt;br /&gt;
i&amp;#39;m referring the correct device address (0x3c) as prescribed by the
data sheet.&lt;br /&gt;
i&amp;#39;ve set the device in continuous measurement mode 0x3c 0x02 0x00&lt;br /&gt;
then i&amp;#39;m reading the 6 registers for the data. in the format
specified below&lt;br /&gt;
0x3c 0x03&lt;br /&gt;
0x3d read operation&lt;/p&gt;

&lt;p&gt;
0x3c 0x04&lt;br /&gt;
0x3d read operation&lt;/p&gt;

&lt;p&gt;
0x3c 0x05&lt;br /&gt;
0x3d read operation&lt;/p&gt;

&lt;p&gt;
till&lt;/p&gt;

&lt;p&gt;
0x3c 0x08&lt;br /&gt;
0x3d read operation.&lt;/p&gt;

&lt;p&gt;
after this i&amp;#39;m trying to display them by first concatenating the
lsb and msb data.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hmc 5883 interface with AT89S52</title><link>https://community.arm.com/thread/68742?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2014 11:05:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8b3415e9-1245-4289-acfb-a12f330479e1</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
So what have you tried?&lt;/p&gt;

&lt;p&gt;
Where are you stuck?&lt;/p&gt;

&lt;p&gt;
What efforts have you made to find the problem(s) and resolve
it/them?&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.catb.org/esr/faqs/smart-questions.html#beprecise"&gt;www.catb.org/.../smart-questions.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;need urgent help&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.catb.org/esr/faqs/smart-questions.html#urgent"&gt;www.catb.org/.../smart-questions.html&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hmc 5883 interface with AT89S52</title><link>https://community.arm.com/thread/62905?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2014 07:39:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a916ac8d-597e-43fb-a450-71519966c931</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
What&amp;#39;s the hourly rate for urgent help?&lt;/p&gt;

&lt;p&gt;
Do you have the right address? Can you read anything from the
chip?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>