cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3MDL Temperature Compensation for Sensitivity

DRoyo.1
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

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

View solution in original post

2 REPLIES 2
Eleon BORLINI
ST Employee

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.1
Associate

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