Skip to main content
TVale.1
Associate
Solved

LIS2DH12 Self Test

We are running the LIS2DH12 self test.  After completing the self test we go back and read stat reg 27 it is always returning FF.  We have tried reading it multiple times, but it always returns FF even if no new data is available.

This topic has been closed for replies.
Federica Bossi
Federica BossiBest answer
ST Technical Moderator

Hi @TVale.1 ,

Have you followed our example on Github for the self test implementation? If not, please take a look.

If you have still the problem, share your reg dump, otherwise, if this solves your issues flag this question as "Accepted Solution" using the bottom on the right. 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

2 replies

Federica Bossi
Federica BossiBest answer
ST Technical Moderator

Hi @TVale.1 ,

Have you followed our example on Github for the self test implementation? If not, please take a look.

If you have still the problem, share your reg dump, otherwise, if this solves your issues flag this question as "Accepted Solution" using the bottom on the right. 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
TVale.1
TVale.1Author
Associate

Thanks Federica.  Yes we did follow the example.  We did find a loose wire on our debug board that was making some intermittent connections.  Fixing that seemed to have solved the problem.  Will mark your solution as accepted