<?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 MAG3110 Auto Reset Behavior in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903535#M5682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the&amp;nbsp;MAG3110 magnetometer&amp;nbsp;in a data logging compass application.&amp;nbsp;&amp;nbsp;The&amp;nbsp;MAG3110 is reflowed to our custom board and calibrated for hard-iron and soft iron errors.&amp;nbsp; That all works fine and the&amp;nbsp;readings&amp;nbsp;are generally stable for weeks to months.&amp;nbsp; But sometimes, hours to months after the initial calibration, we have found&amp;nbsp;sensors with significant shifts in the hard iron errors.&amp;nbsp;&amp;nbsp;It is possible that some of the MAG3110 sensors have been subjected to strong magnetic fields, but in&amp;nbsp;many&amp;nbsp;cases we are sure that they have not. In an effort to understand what might be going wrong, I am hoping that someone can help with explain how the Automatic Magnetic Sensor Reset works in the MAG3110 (AUTO_MRST_EN, bit 7 in&amp;nbsp;CTRL_REG2 (0x11)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data sheet says that auto reset is "Similar to Mag_RST, however, the resets occur automatically before&amp;nbsp;&lt;STRONG&gt;EACH&lt;/STRONG&gt; data acquisition."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Mag_RST, the datasheet states: "When asserted, initiates a magnetic sensor reset cycle that will restore correct operation after exposure to an excessive magnetic field which exceeds the Full Scale Range (see Table 3) but is less than the Maximum Applied Magnetic Field (see Table 4)."&amp;nbsp; FYI: The value in Table 3 is 1000 uT and the value in Table 4 is 100,000 uT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAG3110 FAQ states that "When exposed to strong magnetic fields, the sensing element may get magnetically contaminated. MAG3110 has a reset mechanism to get rid of the effects of this exposure. It is recommended that CTRL_REG2 bit 7 (AUTO_MRST_EN) be set in the initialization routines of your application before starting to acquire any measurements."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several questions and sub-questions:&lt;/P&gt;&lt;P&gt;1). When AUTO_MRST_EN is enabled, does the sensor really reset with &lt;STRONG&gt;EACH&lt;/STRONG&gt; measurement? or is it only done when "magnetic contamination" is detected?&amp;nbsp; If the latter, how does it determine that it has been "magnetically contaminated"?&amp;nbsp; What is the threshold? 1000 uT or&amp;nbsp; 2000 uT (1000 uT of field strength plus 1000uT Offset)? Are there any other criteria that trigger an auto-reset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) My testing indicates that, when the&amp;nbsp;MAG3110 has deliberately contaminated with a strong magnet, and a manual reset is applied, the raw values do not return to the same values that they had before the strong magnet was applied. I see changes of up to 50%. Is there any guidance for how much the pre and post "reset" values will change?&amp;nbsp; Are all three channels reset? or only the sensors that were determined to be contaminated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Assuming that the AUTO_RESET is only triggered due to a significant event, such as a strong magnet contaminating the sensor, is there any indication that the sensor has been reset?&amp;nbsp; This would be helpful so that the micro will know that the original calibration (pre-reset) is no longer valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this part has gone EOL (that is another issue).&amp;nbsp; But I would really appreciate some guidance on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2026 21:55:00 GMT</pubDate>
    <dc:creator>nick4</dc:creator>
    <dc:date>2026-02-03T21:55:00Z</dc:date>
    <item>
      <title>MAG3110 Auto Reset Behavior</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903535#M5682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the&amp;nbsp;MAG3110 magnetometer&amp;nbsp;in a data logging compass application.&amp;nbsp;&amp;nbsp;The&amp;nbsp;MAG3110 is reflowed to our custom board and calibrated for hard-iron and soft iron errors.&amp;nbsp; That all works fine and the&amp;nbsp;readings&amp;nbsp;are generally stable for weeks to months.&amp;nbsp; But sometimes, hours to months after the initial calibration, we have found&amp;nbsp;sensors with significant shifts in the hard iron errors.&amp;nbsp;&amp;nbsp;It is possible that some of the MAG3110 sensors have been subjected to strong magnetic fields, but in&amp;nbsp;many&amp;nbsp;cases we are sure that they have not. In an effort to understand what might be going wrong, I am hoping that someone can help with explain how the Automatic Magnetic Sensor Reset works in the MAG3110 (AUTO_MRST_EN, bit 7 in&amp;nbsp;CTRL_REG2 (0x11)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data sheet says that auto reset is "Similar to Mag_RST, however, the resets occur automatically before&amp;nbsp;&lt;STRONG&gt;EACH&lt;/STRONG&gt; data acquisition."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Mag_RST, the datasheet states: "When asserted, initiates a magnetic sensor reset cycle that will restore correct operation after exposure to an excessive magnetic field which exceeds the Full Scale Range (see Table 3) but is less than the Maximum Applied Magnetic Field (see Table 4)."&amp;nbsp; FYI: The value in Table 3 is 1000 uT and the value in Table 4 is 100,000 uT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAG3110 FAQ states that "When exposed to strong magnetic fields, the sensing element may get magnetically contaminated. MAG3110 has a reset mechanism to get rid of the effects of this exposure. It is recommended that CTRL_REG2 bit 7 (AUTO_MRST_EN) be set in the initialization routines of your application before starting to acquire any measurements."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several questions and sub-questions:&lt;/P&gt;&lt;P&gt;1). When AUTO_MRST_EN is enabled, does the sensor really reset with &lt;STRONG&gt;EACH&lt;/STRONG&gt; measurement? or is it only done when "magnetic contamination" is detected?&amp;nbsp; If the latter, how does it determine that it has been "magnetically contaminated"?&amp;nbsp; What is the threshold? 1000 uT or&amp;nbsp; 2000 uT (1000 uT of field strength plus 1000uT Offset)? Are there any other criteria that trigger an auto-reset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) My testing indicates that, when the&amp;nbsp;MAG3110 has deliberately contaminated with a strong magnet, and a manual reset is applied, the raw values do not return to the same values that they had before the strong magnet was applied. I see changes of up to 50%. Is there any guidance for how much the pre and post "reset" values will change?&amp;nbsp; Are all three channels reset? or only the sensors that were determined to be contaminated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Assuming that the AUTO_RESET is only triggered due to a significant event, such as a strong magnet contaminating the sensor, is there any indication that the sensor has been reset?&amp;nbsp; This would be helpful so that the micro will know that the original calibration (pre-reset) is no longer valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this part has gone EOL (that is another issue).&amp;nbsp; But I would really appreciate some guidance on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 21:55:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903535#M5682</guid>
      <dc:creator>nick4</dc:creator>
      <dc:date>2026-02-03T21:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 Auto Reset Behavior</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903536#M5683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;Hello Nick,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;1) The AUTO_MRST_EN will reset automatically before each data acquisition when enable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;The Mag_RST (one-shot) will be triggered by exceeding the Full Scale Range (which is typically ±1000 µT) but should be less than 100,000 µT which is the maximum applied magnetic field supported by the sensor before getting damaged.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;2) After 5 acquisitions once the AUTO_MRST_EN is set, it will initiate a magnetic sensor reset cycle and the offset should come back to where it was before the overexposure. Or it is possible to also trigger manual resets 5 times explicitly via the CTRL_REG2 bit 4 (Mag_RST).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;Ideally, if you have a robust compensation/calibration algorithm, it will be possible to quickly&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;compensate for the offset changes due to:&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt; i) Overexposure (provided that the part is not permanently damaged)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt; ii) Reset mechanism. Both may be detected as magnetic jamming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;/P&gt;&lt;P style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;Assuming the overexposure is completely cleared after N m-cell reset events and the customer is not &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;triggering any manual m-cell resets the time required should be approximately (N+1)/ODR. With N=5 this becomes 6/ODR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;3) If the AUTO_MRST_EN is enabled (CTRL_REG2 bit 7 set to “1”), it will perform the reset automatically before each data acquisition. This a WRITE ONLY bit and always reads back as 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;You may find helpful the MAG3110 Bare Metal Example Project shown here &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-330484" style="color: #000000;"&gt;https://community.nxp.com/docs/DOC-330484&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;I hope this information can be helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;Have a great day, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #000000;"&gt;Paulina&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;Note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 19:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903536#M5683</guid>
      <dc:creator>lisettelozano</dc:creator>
      <dc:date>2019-04-22T19:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 Auto Reset Behavior</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903537#M5684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lisette,&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; I have a follow-up question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) The zero-flux offset accuracy is listed in the data sheet (Table 3) as +/- 100 uT (typical).&amp;nbsp; Suppose a specific sensor is calibrated and the actual zero-flux offset for this specific device is determined to be +50 uT.&amp;nbsp; If the sensor is then exposed to a strong magnetic field of more than 1000 uT (but less than 100,000uT), the strong field is removed and then a reset is performed, will the offset return to +50 uT?&amp;nbsp; or will the offset be back to +/- 100 uT (typical)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 22:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903537#M5684</guid>
      <dc:creator>nick4</dc:creator>
      <dc:date>2019-04-22T22:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: MAG3110 Auto Reset Behavior</title>
      <link>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903538#M5685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The offset will be back to +/- 100 uT (typical).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Paulina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 17:33:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MAG3110-Auto-Reset-Behavior/m-p/903538#M5685</guid>
      <dc:creator>lisettelozano</dc:creator>
      <dc:date>2019-04-24T17:33:46Z</dc:date>
    </item>
  </channel>
</rss>

