My LIS3DH seems broken, and the self test results are weird
Hi, I'm using the LIS3DH to detect body movement, but I'm suspecting that the accelerometer is defective as the samples do not seem reasonable (for example, when testing a single axis and turning it all around, it won't go from 1 to -1 g).
I wrote a program to use the self test feature, and this is what I got from it, while leaving the LIS3DH resting horizontally with the Z axis pointing down:
OUTX_NOST 1: 0x7F80 2: 0x7F80 3: 0x7F80 4: 0x7F80 5: 0x7F80
OUTY_NOST 1: 0x7F80 2: 0x7F80 3: 0x7F80 4: 0x7F80 5: 0x7F80
OUTZ_NOST 1: 0x6240 2: 0x6100 3: 0x6300 4: 0x62C0 5: 0x6140
=========
OUTX_ST 1: 0xFFFF 2: 0xFFFF 3: 0xFFFF 4: 0xFFFF 5: 0xFFFF
OUTY_ST 1: 0xFFFF 2: 0xFFFF 3: 0xFFFF 4: 0xFFFF 5: 0xFFFF
OUTZ_ST 1: 0xFFFF 2: 0xFFFF 3: 0xFFFF 4: 0xFFFF 5: 0xFFFF
I didn't want to average the 5 samples within the program, so I sent all of them so I could analyze them. Of course, all the registers are set as the procedure states on the AN3308 document, on page 57.
I'm wondering what the samples from the ST mean. They are all FFFF; does this mean it's not working properly?
Please advice, thanks!
