cancel
Showing results for 
Search instead for 
Did you mean: 

How to distinguish LSM6DSO32X from LSM6DSOX by software?

MMade.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
JWu.12
Associate III

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.

View solution in original post

1 REPLY 1
JWu.12
Associate III

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.