AnsweredAssumed Answered

Is there a way to detect overflow with LIS2MDL?

Question asked by wild.scott on Jun 6, 2018



I am using the LIS2MDL to build a magnetic field sensor for the education market.  When the magnetic field being measured exceeds the maximum allowed value, I notice that the LIS2MDL returns unpredictable data rather than 0x7fff (32767) or 0x8000 (-32768).


Is there a way I can detect a magnetic field measurement overflow so that our visualization software can let the user know the measurement data is invalid?


Thank you

Scott Wild