we're using LSM6DSOTR and communicating that with I2C and it working as expected but sometimes we suddenly see some issues and they are unpredictably happening at any moment of time. there are mainly two issues that we have seen till now.
we're using LSM6DSOTR and communicating that with I2C and it working as expected but sometimes we suddenly see some issues and they are unpredictably happening at any moment of time.
there are mainly two issues that we have seen till now and that are listed below:
- when we try to read WHOAMI register, the value needed to be returned is 0x6C (as per datasheet) but we're getting 0x00 and when we try reading value for X,Y,Z registers, it returns a fixed value and never changes even after moving vigorously. We also enabled tap interrupt and we're seeing that being detected, but XYZ values are not changing.
- In second scenario it's mostly similar to first except in this we're not able to detect the interrupt as well.
These issues we have not seen previously but now, we have other peripherals also on the same I2C bus and they are responding correctly. So we're wondering what could be the cause for this and how we can resolve this issue
