Skip to main content
Visitor II
June 7, 2020
Solved

LIS3MDL Temperature Compensation for Sensitivity

  • June 7, 2020
  • 2 replies
  • 1288 views

In the application notes it is stated that:

"The sensitivity of the magnetic sensor changes when the temperature changes. A temperature compensation digital block is introduced to compensate for the effect of temperature."

Does this temperature compensation for the sensitivity need to be implemented by the user? Also, does the compensation work even if the temperature sensor is disabled?

Thank you in advance

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @DRoyo.1​ , the LIS3MDL has an internal temperature compensation digital block that can be calibrated (at inline tester level, with coefficients aligned with char lab) acting on the 50-5F reserved registers. So, in principle, you don't need to compensate anything in temperature (both for offset and gain excursions of the magnetic readout with temperature). However, if you are facing (strong) anomalies, please consider that the suggested Sensitivity change vs. temperature for the LIS2MDL (datasheet p.9) is ±0.03%/°C, starting from 25°C and same sign of the temperature variation (the internal electronics of the two magnetic sensors is similar). Regards

    2 replies

    ST Employee
    June 8, 2020

    Hi @DRoyo.1​ , the LIS3MDL has an internal temperature compensation digital block that can be calibrated (at inline tester level, with coefficients aligned with char lab) acting on the 50-5F reserved registers. So, in principle, you don't need to compensate anything in temperature (both for offset and gain excursions of the magnetic readout with temperature). However, if you are facing (strong) anomalies, please consider that the suggested Sensitivity change vs. temperature for the LIS2MDL (datasheet p.9) is ±0.03%/°C, starting from 25°C and same sign of the temperature variation (the internal electronics of the two magnetic sensors is similar). Regards

    DRoyo.1Author
    Visitor II
    June 12, 2020

    Thank you for your answer, everything's clear now.