AnsweredAssumed Answered

LIS2DH Accelerometer Interrupts

Question asked by Gar.Cesco on Feb 20, 2017
Latest reply on May 5, 2017 by barboza.gustavo

Hi,

I have a problem to make interrupts (INT1 exactly) work with my LIS2DH12 Accelerometer.

What I am trying to do is to make the int1 trigger when there is a Y-axis high event (or low event).

I have setted all the required Registers for INT1 but it seems it is not working and I have even tried to look with an oscilloscope to see if it is doing something, but the results are still negative.

I have read some posts before making this one but the answers weren't helpful for me.

Can someone write down how they setted theirs interrupt registers to make them work correctly?

 

Some additional information:

 

1- I don't need the HPCF so I have deactivated it (I think it is deactivated by default, if I remember correctly)

2- The REGs I have changed are: CTRL_REG3, CTRL_REG4, INT1_CFG, INT1_THS, INT1_DUR

3-  The temp and XYZ-axis are working correctly

 

Thank you for the help

Outcomes