Skip to main content
Explorer
June 23, 2023
Solved

how to convert LSM6DSOX data

  • June 23, 2023
  • 1 reply
  • 1432 views

Hi all,

I'm working with LSM6DSOX and I managed to get the accelerometer and gyroscope data from the output registers, but the numbers don't seem to be meaningful, how do I convert the raw data to g?

    This topic has been closed for replies.
    Best answer by Federica Bossi

    Hi @TheCakeIsALie ,

    Welcome to ST Community!

    Data from the output registers are in LSB, if you want to convert them to g you need to multiply the LSB values by the sensitivity corresponding to your FS:

    FedericaBossi_0-1687531440229.png

    If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.

    1 reply

    Technical Moderator
    June 23, 2023

    Hi @TheCakeIsALie ,

    Welcome to ST Community!

    Data from the output registers are in LSB, if you want to convert them to g you need to multiply the LSB values by the sensitivity corresponding to your FS:

    FedericaBossi_0-1687531440229.png

    If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.