2021-01-28 01:06 AM
Hello ST Community,
I have some hardware samples with LIS2DH12 accelerometer. For all the samples except one, the value of WHO_AM_I register is read as 0x33 (which is expected). However, for one of the samples, it is read as 0xFF. What could be the possible reason for this? Note that this behavior was observed after being in use for a few months. Could physical damage or such incidents cause this?
Regards,
Anusha
2021-01-28 03:38 AM
Do other registers read non 0xff values. If not, double check wiring, the error is on your side!Check with a scope if there is nothing obvious.!
2021-01-30 10:54 PM
Hi Uwe,
Thanks for your response. I checked other registers' default values such as Control 1 register and control 2 register. These values are also 0xff.
Regards,
Anusha
2021-02-03 01:19 AM
Hi Anusha,
so on some samples all the registers read values are 0xFF, after being working for months, right?
Besides Uwe suggestion of checking the communication with a scope, are all the device pins in the datasheet p.9 conditions?
-Eleon
2021-02-04 04:54 AM
Hi Eleon,
Thanks for your response. I haven't been able to check this but I do notice some rust on the PCB. Maybe this could be the reason?
Regards,
Anusha
2021-02-04 09:49 AM
Hi Anusha,
well, it could be that some tracks corrupted by the rust make the device communication problematic... you should check an apparently good board and see what happens.
-Eleon