2013-05-07 09:05 AM
We have two LSM303DLHC on one board. Sometimes one of them appears to be stuck at -4096 on some axes. Even when I wave a magnet close to it doesn't change. The next day it's ok. The board was sitting on my desk all day. The datasheet says in presence of disturbing field ''Use S/R pulse to restore sensitivity'' How to do that? Is it done automatically? The compass range is set to 1.3 gauss. I can't think of anything on my desk that would generate such a magnetic field. The board draws only 1mA so it shouldn't be the current generating that. The strange thing is on the next day the compass works fine. Any suggestions?
#saturation #-4096 #lsm303dlhc