AnsweredAssumed Answered

How to reset LIS3MDL to demagnetization when the hysteresis occurs?

Question asked by Andrew Ervin on Apr 8, 2018

I am using the LIS3MDL sensor for vehicle monitoring on parking spaces. When testing, I discovered that hysteresis occurs when the magnetic field on the sensor changes by more than a certain amount. When I recover the magnetic field, the sensor's detected value does not return to its original value.

I have read the datasheet and an AN4602,but have no idea, and I couldn't find a description of the hysteresis self-correction in it. I would like to ask if there is a way to make the sensor degaussing through software and restore the original state when hysteresis occurs.Thank you...