cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DHH interrupt always high

AChri.15
Associate

Hello, I've successfully initialized LIS3DHH on STEVAL_MKI180V1 board and been reading values from it. I've also enabled the interrupts but they always seem high (I've added a LED to the INT1 line). What I'd like to do is some threshold on movement, so the interrupt will only trigger if we're going faster than this threshold.

Would the LIS3DHH provide this functionality or should I switch to LIS3DH instead?

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @AChri.15​ , consider that on LIS3DHH the only available interrupt are the data-ready, the FIFO filling related interrupts and the overrun ones: I mean, with this device you cannot set a threshold in acceleration and get an interrupt when the data out exceeds that threshold.

Moreover, if you are planning your board and application starting from more or less scratch, I suggest you to switch to LIS3DH, which has the possibility to define a threshold and has more other embedded features. Regards