How to handle e-Compass thermal drift
We do some initial validation of LIS3MDL and experienced a problem when we do a temperature cycle (20°C to 80°C in 20 minutes) in an oven with 7 sensors inside and no external magnetic field present.
It seems that we get an offset in the output signal. We have tried to enable the TEMP_EN bit, but the output is more or less the same. In fact, the output does not return to "normal" when the temperature returned to room temperature.
Do you have an idea how to fix this problem?
NOTE: This question and answer originated from a customer support case which was handled by us. We regularly review support cases and add any helpful ones here for all to benefit from.
