<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>SensorsのトピックRe: FXOS8700 Magnetometer</title>
    <link>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721240#M4640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tomas I will try the calibration process that I’ll adapt from your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the way the magnetic sensor is a mystery to me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MJ Chapman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tel: 01483 504136&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mob: 07768 585894&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Email:  &amp;lt;mailto:mjachapman@subcraft.co.uk&amp;gt; mjachapman@subcraft.co.uk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2017 16:12:38 GMT</pubDate>
    <dc:creator>michaelchapman</dc:creator>
    <dc:date>2017-11-23T16:12:38Z</dc:date>
    <item>
      <title>FXOS8700 Magnetometer</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721238#M4638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using the NXP FXOS8700 and a&amp;nbsp;FXAS21002C on a Adafruit breakout board that uses I2C comms. Each device can be configured and the status read using single and multi-byte transfers as shown in the attached document. However the magnetometer gives an output that seems odd that is to say it doesn't make sense to me.&lt;/P&gt;&lt;P&gt;I have tried degaussing the sensors too try and get rid of any residual magnetic field. One of my boards has a massive offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting the magnetic sensor to give and out similar to the accelerometer, i.e. the output when pointing:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;towards magnetic &lt;STRONG&gt;north&lt;/STRONG&gt; would be &lt;STRONG&gt;+ve&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;in the opposite direct (point &lt;STRONG&gt;south&lt;/STRONG&gt;) would be &lt;STRONG&gt;-ve&lt;/STRONG&gt; and approximately 60uT&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 23:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721238#M4638</guid>
      <dc:creator>michaelchapman</dc:creator>
      <dc:date>2026-02-03T23:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: FXOS8700 Magnetometer</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721239#M4639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the magnetometer requires calibrating not only for its own offset but usually also against spurious magnetic fields resulting from any nearby ferromagnetic components on the PCB. The &lt;A href="https://www.nxp.com/docs/en/application-note/AN4246.pdf"&gt;AN4246&lt;/A&gt; discusses it in more detail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple software calibration of magnetic hard-iron offset is to rotate the board in a figure of eight twisting motions for a few seconds, record the minimum and maximum magnetometer readings, and compute the hard-iron calibration from their average. Have a look at my simple &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-101073"&gt;example code&lt;/A&gt; where I illustrate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 08:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721239#M4639</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2017-11-23T08:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: FXOS8700 Magnetometer</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721240#M4640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tomas I will try the calibration process that I’ll adapt from your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the way the magnetic sensor is a mystery to me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MJ Chapman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tel: 01483 504136&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mob: 07768 585894&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Email:  &amp;lt;mailto:mjachapman@subcraft.co.uk&amp;gt; mjachapman@subcraft.co.uk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 16:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-Magnetometer/m-p/721240#M4640</guid>
      <dc:creator>michaelchapman</dc:creator>
      <dc:date>2017-11-23T16:12:38Z</dc:date>
    </item>
  </channel>
</rss>

