cancel
Showing results for 
Search instead for 
Did you mean: 

Why is there no self-test function of the magnetometer in LSM303D?

looeyc
Associate II
Posted on December 15, 2016 at 10:23

Hi there,

  According to the datasheet of LSM303D, I could find the self-test function of the accelerometer, but could not find the same function of the magnetometer.

   How to test the magnetometer if no build-in self-test function provided?

Best Regards,

Cheng

#lsm303d-self-test #lsm303d
1 REPLY 1
Miroslav BATEK
ST Employee
Posted on December 16, 2016 at 14:46

Unfortunately self-test feature is not available in LSM303D.

I'm afraid there is not easy way how to test the magnetometer and you will have to rely on production tests. 

To properly test a magnetometer sensor you would need uniform magnetic field which can be generated for example by

https://en.wikipedia.org/wiki/Helmholtz_coil

.