<?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>topic Re: MAG3110 offset jumps in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487257#M2913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;It make sense that depend on the characteristics of the specified sensor and his silicon ! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt; Thanks for your support&lt;SPAN&gt;, it was helpful&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;Dennis G.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2016 08:40:50 GMT</pubDate>
    <dc:creator>dennisgallicchi</dc:creator>
    <dc:date>2016-05-27T08:40:50Z</dc:date>
    <item>
      <title>MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487249#M2905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Dear community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;i'm using the magnetometer &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;MAG3110&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; to monitoring the occupancy of parking places.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The algorithm that calculates the occupancy, computes a value&amp;nbsp; that has to follow the measurement of RAW when the parking place is free. It has a temperature compensation to be able to follow the RAW measure of the axis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-weight: bold; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;General information&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CTRL_REG1 = 0x1A:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_58.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55561i9CA4DC3D30455A12/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_58.png" alt="pastedImage_58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CTRL_REG3 = 0xA0:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_62.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55563iC182ACFFDBF36E71/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_62.png" alt="pastedImage_62.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The data acquisition is made every cycle (cycle time can be 8 [s] up to ~1 minute). Between this "sleep period" the Microcontroller turn OFF the power of the sensor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Generally, the sequence is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Enable interrupt (to detect boot interrupt), Power ON Sensor, wait 10[ms] (datasheet spec.), disable interrupt, SET CTRL_REG2, SET CTRL_REG1, Start measure timer, Enable interrupt (to detect when measures are ready) , Set watchdog timer 120[ms] (100[ms] +20% of margin), Read Registers, Power OFF Sensor, Disable interrupt and general register Control&amp;nbsp; (and back to the initial state). Every cycle this procedure is made.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-weight: bold;"&gt;Questions&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I take this opportunity to ask some questions:&lt;/P&gt;&lt;OL style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;LI&gt;I noticed that during long periods, which rarely happens that some sensors have a jump&amp;nbsp; of the "offset" value (this can happen on the single axis until on all three). This causes a false detection and the algorithm requires time to react and understand that the change was not caused by the presence of a car. I observed that the jump of the offset, can be caused by an excessive magnetic field which "contaminates" the sensor. &lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;However on some sensors should not have been any strong field that caused this jump. What other possible reason can cause this phenomenon? &lt;/SPAN&gt;The AUTO_MRST_EN reduces this kind of effect (offset jumps). &lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;The "manual" action Mag_RST has the same results as the AUTO_MRST_EN or it is "better" (acts in a different way) if it is exposed to an excessive magnetic field ?&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;Example of jump:&lt;span class="lia-inline-image-display-wrapper" image-alt="146671_146671.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121500i155A13609467580C/image-size/large?v=v2&amp;amp;px=999" role="button" title="146671_146671.png" alt="146671_146671.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Offset_Jump_Example.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55564iCE34CEB5523EC73D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Offset_Jump_Example.png" alt="Offset_Jump_Example.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;The power supply of the sensor is managed by a mosfet that turn ON/OFF&amp;nbsp; the MAG3110. I Observed some rare current &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;peaks&lt;/SPAN&gt; when the MOSFET switches ON (&amp;gt;100 [mA] for some [us]). C&lt;STRONG&gt;ould these short current peaks cause offset jumps?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;It is recommended to remove the power to the sensor? &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;If yes, with TM = 1 and AC = 0 &lt;/SPAN&gt;(The ASIC will exit standby mode, perform one measurement cycle based on the programmed ODR and OSR setting, update the I2C data registers and re- enter standby mode.)&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt; is ideal in case you want to turn off the magnetometer? There is a &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;most recommended configuration &lt;/SPAN&gt;in the case we want to turn OFF the power ?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;The factory calibration has a temperature compensation. When i analyze data in a place without many changes of magnetic field i can see changing the measures of three axes with the temperature.&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;Could be possible that I see changes with a delta of ~300 (temperature changes ~50 degrees). Example:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="146669_146669.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121501i15899A9D9D416FE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="146669_146669.png" alt="146669_146669.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Temperature _Vs_Measures.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55565iB4E33AF1BAA9CC5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Temperature _Vs_Measures.png" alt="Temperature _Vs_Measures.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks for support and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Dennis G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:39:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487249#M2905</guid>
      <dc:creator>dennisgallicchi</dc:creator>
      <dc:date>2026-02-03T21:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487250#M2906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an&amp;nbsp; application note (&lt;A href="http://cache.nxp.com/files/sensors/doc/app_note/AN4984.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;AN4984&lt;/A&gt;) on NXP magnetometer in one shot measurement. It should answer to some of your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sensor is not totally temperature calibrated in factory as it is mentioned in the datasheet (2.1 Table 3 page5) on the Tcs/TCO row (+-0.1 %/°C) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a question regarding your chart. Is the magnetometer axis in Count (LSB)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 15:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487250#M2906</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2016-04-29T15:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487251#M2907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer was helpful ! Sorry but I din't found the application notes before, it confirmed some doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one thing regarding the figure 6 on the document &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;(&lt;/SPAN&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2Fsensors%2Fdoc%2Fapp_note%2FAN4984.pdf%3Ffpsp%3D1%26WT_TYPE%3DApplication%2520Notes%26WT_VENDOR%3DFREESCALE%26WT_FILE_FORMAT%3Dpdf%26WT_ASSET%3DDocumentation%26fileExt%3D.pdf" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #017bba;" target="_blank"&gt;AN4984&lt;/A&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56254i09A0CBC78147EA36/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;As i said, a mosfet is used to switch ON/OFF the sensor. "VDD connection and capacitors removed", it means that the capacitors should be downstream of the sensor power supply? &lt;STRONG&gt;I mean, which of the following configurations (1 or 2) is correct?&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_18.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56286iD96CD3B25A3B573B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_18.png" alt="pastedImage_18.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_24.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56495i71ABC2E8ADE28236/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_24.png" alt="pastedImage_24.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAG_PWR is connected to the GPIO of the MCU.&lt;/P&gt;&lt;P&gt;MAG VCC is connected to VDD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Just a question regarding your chart. Is the magnetometer axis in Count (LSB) ?&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I understand right the question, the Fast Read Mode is disabled, the complete 16-bit data are read (OUT_X_MSB,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUT_X_LSB, OUT_Y_MSB, OUT_Y_LSB, OUT_Z_MSB, OUT_Z_LSB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 08:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487251#M2907</guid>
      <dc:creator>dennisgallicchi</dc:creator>
      <dc:date>2016-05-02T08:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487252#M2908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; "As i said, a mosfet is used to switch ON/OFF the sensor. "VDD connection and capacitors removed", it means that the capacitors should be downstream of the sensor power supply?"&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The first setup does not power off the magnetometer until the caps are not unloaded so you will lose all the energy stored in it at each data collection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The second configuration should consume less energy than the 1st one.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For the Temperature Coefficient Offset, it can be characterized for each magnetometer at the final assembly chain and compensated in the firmware. For example, on the chart you shared with us, for this MAG3110 sample, the Z axis TCO is about 0.6uT/°C&amp;nbsp; (300count/50°C). You can also implement a smart algorithm to fix this problem (and avoid factory calibration) and work with relative measurements&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 08:44:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487252#M2908</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2016-05-02T08:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487253#M2909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;About the capacitors, i agree with your observation. Perhaps also the rare peaks during the magnetometer power-ON are due to this (since the capacitors are discharged during power off).&lt;/LI&gt;&lt;LI&gt;Regarding the temperature compensation, to reduce power consumption and resources only the RAW measurements and temperature are send from the "sensor device". Upstream it is still done the necessary temperature compensation. If I wanted to do the temperature correction on the device, I suppose I could use the &lt;EM&gt;Offset User Correction&lt;/EM&gt; changing the offset value () for each axes (in function of the smart algorithm).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for support and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 11:44:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487253#M2909</guid>
      <dc:creator>dennisgallicchi</dc:creator>
      <dc:date>2016-05-02T11:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487254#M2910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I called TCO is not really an offset, but a slope expressed in uT/°C or in count/°C. So you can't use the OffsetUserCorrection register to calibrate the sensor. I attach example source files for TCO calibration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 13:07:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487254#M2910</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2016-05-02T13:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487255#M2911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the example.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;A kind of&lt;/SPAN&gt; &lt;SPAN&gt;TCO&lt;/SPAN&gt; is&lt;SPAN&gt; already&lt;/SPAN&gt; computed from the gateway, using&lt;SPAN lang="en"&gt; RAW measures and temperatures of a long period for each sensor.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt; About the factory calibration:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-canvas-width="282.75749999999994" style="font-size: 15px; font-family: sans-serif;"&gt;"MAG3110 is factory calibrated for sensitivity and temperature coefficient of sensitivity. All factory calibration coefficients &lt;/P&gt;&lt;P data-canvas-width="25.724999999999998" style="font-size: 15px; font-family: sans-serif;"&gt;are automatically applied by the ASIC before a measurement is taken and the result written to registers 0x01 to 0x06"&lt;/P&gt;&lt;P data-canvas-width="25.724999999999998" style="font-size: 15px; font-family: sans-serif;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;As you said, for the Temperature Coefficient Offset, it can be characterized for each magnetometer at the final assembly chain and compensated in the firmware. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-canvas-width="25.724999999999998" style="font-size: 15px; font-family: sans-serif;"&gt;&lt;STRONG&gt;There is the possibility to have information about the factory calibration coefficients on a specific sensor, reading some registers on the device ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P data-canvas-width="25.724999999999998" style="font-size: 15px; font-family: sans-serif;"&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;On some sensors I observed different behavior. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;For &lt;/SPAN&gt;&lt;SPAN&gt;example in this case the&lt;/SPAN&gt;&lt;/SPAN&gt; Z axis (in blue) looks &lt;SPAN class="short_text" lang="en"&gt;properly compensated:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P data-canvas-width="25.724999999999998" style="font-size: 15px; font-family: sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Temperature_Drift.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57134iF0E31879DE281197/image-size/large?v=v2&amp;amp;px=999" role="button" title="Temperature_Drift.png" alt="Temperature_Drift.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="short_text" lang="en"&gt;I suppose this depends from the factory calibration coefficients ?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Greeting,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 10:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487255#M2911</guid>
      <dc:creator>dennisgallicchi</dc:creator>
      <dc:date>2016-05-03T10:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487256#M2912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry, but you don't have access to other registers except those written in the datasheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Z axis TCO, in your plot, it looks very small so it's a good thing. But It is a lucky break, I mean, if you test an other sample, you will probably have different behaviors. This not depends of the factory calibration but to the silicon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 08:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487256#M2912</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2016-05-06T08:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487257#M2913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;It make sense that depend on the characteristics of the specified sensor and his silicon ! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt; Thanks for your support&lt;SPAN&gt;, it was helpful&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;Dennis G.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 08:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487257#M2913</guid>
      <dc:creator>dennisgallicchi</dc:creator>
      <dc:date>2016-05-27T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487258#M2914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the MAG3110 to develop a car detection system.I made my device to self calibrate when the MAG starts up and set the offsets, but when expose the MAG to temperatures from 13-41(as reported by the chip) the values on the 3 axis starts to modify like bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19590i8DD8CC5A5EE64DA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I this normal ? Is there a formula provided by NXP in order to compensate this?&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;Dan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 13:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487258#M2914</guid>
      <dc:creator>dananghel</dc:creator>
      <dc:date>2017-05-25T13:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487259#M2915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The phenomenon you're seeing a quite normal, we called this Temperature Coefficient Offset.&lt;/P&gt;&lt;P&gt;You need to characterize the TCOs (1 TCO per axis) of the MAG3110 to avoid the magnetic drift over temperature. Note that the TCOs changes for each device, so you can't apply a direct compensation formula to the raw measurement without one time calibration for each magnetometer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calibrate the sensor, you need to record the temperature and the magnetic field of the 3 axis (OUT_x_x registers) at 2 different temperatures (DIE_TEMP register).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21237i52CE9D0D8ED09F0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Bigger is you temperature gradient, better will be the TCO calculation.&lt;/P&gt;&lt;P&gt;Then use these formulas for the parameter computation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21281i93C13F7EE14C3EC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you've characterized the TCO parameters, I suggest you to register them into the MCU flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, for each raw measurement (B_raw can be also your offet compensated data), you can apply the formulas below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21326i38FC0BAAAB330296/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that you need also to get the DIE_TEMP register value to compensate the magnetic value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below an example &amp;nbsp;of the calibration effect improvements I got using this method:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21378iA89AA3CB013DF211/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a car detection system, you can also not use the offset calibration (HardIron) and the TCO either. In fact you just need to detect the magnetic change in a pretty low timespan. Working with&amp;nbsp;the vector magnitude (VECM) of the magnetic field ( sqrt(x²+y²+z²) ), you should be able to detect long drift (temperature effect) and quick magnetic drift (vehicle presence). I mean if between two measurements of the VECM (previous VECM - current VECM) with a data rate of lets say of 0.5Hz the magnetic value does not change a lot, you don't have any car there. This algorithm can be very simple and efficient, it does not care of the offset and temperature drift. But that's an other way of thinking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487259#M2915</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2017-06-06T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487260#M2916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have &amp;nbsp;one question : if I want to measure the variation of the magnitude without and in the presence of a metallic object at two different temperatures (+40/-20 celsius), the variation at +40 should be identical with the variation at -20?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 18:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487260#M2916</guid>
      <dc:creator>dananghel</dc:creator>
      <dc:date>2017-09-25T18:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 offset jumps</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487261#M2917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "&lt;STRONG&gt;without metallic object&lt;/STRONG&gt;" case, the TCO should be constant, so the slope (variation) would be about the same. For example if you have a TCO of&lt;STRONG&gt; 0.36 uT/°C&lt;/STRONG&gt; on the X axis with a magnetic field of &lt;STRONG&gt;50 uT at 25°C&lt;/STRONG&gt; (ambient temperature), you should have &amp;nbsp;((40-25)*0.36+50) =&amp;gt; &lt;STRONG&gt;55.4 uT at 40°C&lt;/STRONG&gt; and ((-20-25)*0.36+50)=&amp;gt; &lt;STRONG&gt;33.8 uT at -20°C&lt;/STRONG&gt;. This is the temperature effect on the device's m-cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This law does not really work in the &lt;STRONG&gt;"with metallic object"&lt;/STRONG&gt; case. I mean, the TCO of the m-cell will be exactly the same, but unfortunately the m&lt;STRONG&gt;agnetic strength of the&amp;nbsp;ferromagnetic&lt;/STRONG&gt;&amp;nbsp;object also &lt;STRONG&gt;changes&lt;/STRONG&gt; with the temperature. &lt;BR /&gt;&lt;BR /&gt;So you would probably not have the same behaviors in the 2 different cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 08:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-offset-jumps/m-p/487261#M2917</guid>
      <dc:creator>anthonyduhamel</dc:creator>
      <dc:date>2017-09-26T08:12:40Z</dc:date>
    </item>
  </channel>
</rss>

