I am using LIS2DH to detect the tilt angle of a vessel. Sometimes the XYZ reading will freeze, and not update anymore, the only way to reset it is to power on/off the system.
it’s very difficult to recreate the problem. I have 2 broken PCBAs that I have been trying to recreate the problem with for 2 weeks and I haven’t been successful. Once it’s frozen at 960, it never changes until we do a hard reset. (unplug the batter...
The setting for register 0x20 is 0x27,others is default. I am using I2C to read the XYZ since it only detects tilt, so only Z is continuously monitored. Sometimes it will stuck at 960 for the z-axis, will reset 0x20 help?