Skip to main content
Visitor II
October 15, 2021
Solved

How to distinguish LSM6DSO32X from LSM6DSOX by software?

  • October 15, 2021
  • 1 reply
  • 827 views

Hi,

how to differentiate both chips, if they have the same value for WHO_AM_I register?

I know that I could read couple times the accelerometer values, calculate magnitude over all axis and check if the value is near 1g or 0.5g (assuming no movement during measurements), but this will not work if any HP is enabled

Is there a simpler way?

BR

    This topic has been closed for replies.
    Best answer by JWu.12

    Hi, not sure it can be distinguished by regmap, since it is very similar. However, if you test the 1g earth acceleration -for example along Z- the two devices have different sensitivity. For FS = 00bin

    • LSM6DSOX --> +-2g, sens 0.061mg/LSB --> Z axis 1g = 16 LSB
    • LSM6DSO32X --> +-4g, sens 0.122 mg/LSB --> Z axis 1g = 8 LSB

    Otherwise, LSM6DSOX is marked "S4" on the package, while the other one has a different marking.

    1 reply

    JWu.12Answer
    Visitor II
    October 15, 2021

    Hi, not sure it can be distinguished by regmap, since it is very similar. However, if you test the 1g earth acceleration -for example along Z- the two devices have different sensitivity. For FS = 00bin

    • LSM6DSOX --> +-2g, sens 0.061mg/LSB --> Z axis 1g = 16 LSB
    • LSM6DSO32X --> +-4g, sens 0.122 mg/LSB --> Z axis 1g = 8 LSB

    Otherwise, LSM6DSOX is marked "S4" on the package, while the other one has a different marking.