Skip to main content
Visitor II
December 15, 2016
Question

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

  • December 15, 2016
  • 1 reply
  • 559 views
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
    This topic has been closed for replies.

    1 reply

    ST Employee
    December 16, 2016
    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

    .