cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3MDL deviates from stable magnetic values ad hoc all of a sudden

AMans.1053
Associate II

We are using LIS3MDL in our product to detect cars. Most of the times the magnetic field values are stable. We are using adaptive baselining to derive the baseline field. However we have observed that on an ad hoc basis the magnetic field values suddenly varies significantly even when there is no external influence. As a result of this we get a false positive that a car is present. What could be the reason?

15 REPLIES 15
AMans.1053
Associate II

13K pull up

and how often do you face the "instability" issue?

AMans.1053
Associate II

It is pretty adhoc, to the point that its now getting frustrating. I am sure there are no external influences playing here. Please advise what should be done?

Regards

Arif

AMans.1053
Associate II

Hi Eleon...one more thing that I thought to share with you....the MCU uses a DC-DC converter which is built inside the module. Would this cause this issue?0690X00000ArWlAQAV.png

AMans.1053
Associate II

Distance between MCU and MAG is 23mm

Hi @AMans.1053​ , the MCU and magnet are quite close, but anyway safe... Is it possible for you to synchronize the magnetometer acquisition and DC-DC converter action in order to check if the issue can be related to a cress-talk between the two chips? Regards