Skip to main content
Visitor II
January 12, 2016
Question

LSM9Ds1 Self-test

  • January 12, 2016
  • 3 replies
  • 1289 views
Posted on January 12, 2016 at 13:15

How may i know about self-test, what is the procedure after enable self-test for each one, and what kind of data will there that i have to use for further analysis, and how.

#self-test
    This topic has been closed for replies.

    3 replies

    ST Employee
    October 29, 2016
    Posted on October 29, 2016 at 20:21

    Hello,

    LSM9DS1 SelfTest is STMicroelectronics confidential information. For simple SelfTest you can use the following procedure:

    1.

    Read ACC XYZ outputs (ACC_NOST_DATA)

    Read GYR XYZ outputs (GYR_NOST_DATA)

    Read MAG XYZ outputs (MAG_NOST_DATA)

    2.

    Enable ACC ST (ST=SelfTest)

    Read ACC XYZ outputs (ACC_ST_DATA)

    Verify that: ACC_NOST_DATA - ACC_ST_DATA = POSITIVE value for each axis

    Disable ACC ST

    3.

    Enable GYR ST

    Read GYR XYZ outputs (GYR_ST_DATA)

    Verify that: GYR_NOST_DATA - GYR_ST_DATA = POSITIVE value for each axis

    Disable GYR ST

    4.

    Enable MAG ST

    Read MAG XYZ outputs (MAG_ST_DATA)

    Verify that: MAG_NOST_DATA - MAG_ST_DATA = NEGATIVE value for each axis

    Best regards,

    Petr

    Visitor II
    August 31, 2017
    Posted on August 31, 2017 at 09:56

    As

    Zalesky.Arie

    ‌, I am also wondering if it is'NOST_DATA - ST_DATA' or 'ST_DATA - NOST_DATA'. I tested the procedure on a sensor that seems ok, and the results for 'MAG_NOST_DATA - MAG_ST_DATA' are positive for each axis (i.e. in contradiction to the mentioned formula if the sensor I tested is working).

    Best,

    David

    Visitor II
    March 14, 2017
    Posted on March 14, 2017 at 13:08

    Hi

    Shouldnt it be the ST_DATA FIRST , minus the NOST_DATA??

    ST Employee
    September 5, 2017
    Posted on September 05, 2017 at 11:59

    Hello all,

    for LSM9DS1 magnetometer selftest you better use

    http://www.st.com/content/ccc/resource/technical/document/application_note/69/d7/05/fe/a9/3e/4b/ea/DM00136626.pdf/files/DM00136626.pdf/jcr:content/translations/en.DM00136626.pdf

     including the limits since 

    LSM9DS1 contains LIS3MDL magnetometer.

    Regards,

    Petr