Skip to main content
Visitor II
July 13, 2020
Question

Are the LSM6DSL Accelerometer axes swappable?

  • July 13, 2020
  • 3 replies
  • 1149 views

We have a board with a LSM6DSL chip that can be mounted horizontally or vertically.

Are the X Y and Z axes symmetrical for when reading basic Accelerometer features?

    This topic has been closed for replies.

    3 replies

    ST Employee
    July 14, 2020

    Hi @Community member​ , the accelerometer positive axis directions of the LSM6DSL sensor are the ones shown in the picture below. You could however "swap" them at application software level.

    0693W000001soFIQAY.png

    Regards

    Visitor II
    July 14, 2020

    Then if I switch the chip's orientation from horizontal to vertical, I should get the exact same readings with just the values appearing at different axis letters?

    This means that the chip internal circuits are symmetrical and calibration in one direction would not need to be redone in another direction/

    Thanks

    ST Employee
    July 14, 2020

    Yes exactly, flipping the chip you should get the same value changed by sign. This in theory, on the unsoldered sample, because the production calibration is performed to minimize the offset. However, you could encounter a residual offset that may be caused by the soldering process or a planar misalignment at application level. In this case, you can record the (average) offset value and store it changed by sign in dedicated registers (X_OFS_USR (73h), X_OFS_USR (74h), X_OFS_USR (75h), see the datasheet, p.95). Regards

    0693W000001spVMQAY.png

    Visitor II
    July 14, 2020

    Thanks