LIS3DH X-axle value is stuck in maximum value
Hi,
I've been testing LIS3DH sensor as an alternative to the LIS3DSH that we are using.
In testing with two different devices I've seen that with range values 2 ... 8g the X-axle value is stuck in the near maximum value 0x7FF, while two other axles are working fine.
I've using the chip in high resolution mode, the configured registers and read values are as follows:
range selected is 16
configured registers (hex): 23B8 2100 2200 2400 2502 B100 1E90 2057 A600
OUTX-register raw values(x,y,z): E02D 2000 2005
Interpreted values: x: 8601 y: 23 z: 960
range selected is 8
configured registers (hex): 23A8 2100 2200 2400 2502 B100 1E90 2057 A600
OUTX-register raw values(x,y,z): 807F 60FC 400F
Interpreted values: x: 7781 y: -221 z: 930
range selected is 4
configured registers (hex): 2398 2100 2200 2400 2502 B100 1E90 2057 A600
OUTX-register raw values(x,y,z): 807F 20F9 701E
Interpreted values: x: 3890 y: -209 z: 928
range selected is 2
configured registers (hex):2388 2100 2200 2400 2502 B100 1E90 2057 A600
OUTX-register raw values(x,y,z): 807F40F2D03D
Interpreted values: x: 1945 y: -209 z: 943
Other axles works fine when the device is tilted, X-axle is with 2 ... 8g range always fixed.
With 6g range the X-axle value changes as expected around ~8g offset.
The code used for reading is same as with LIS3DSH sensor.
Could it be that the sensors have been damaged in soldering process?
Best Regards, Jukka Lamminmäki
