cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DH simultaneous free-fall interrupt and normal XYZ operation

rep
Associate II

Hi

Is it possible to configure the interrupt function for free-fall with normal XYZ polled operation, or is it better to use the interrupt in low power mode and performing the free-fall via normal XYZ programmatically in normal operation?

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @rep ,

Yes, it is possible to configure the LIS3DH interrupt function for free-fall detection while running normal XYZ data acquisition in polled mode.

You can find an example of free fall detection on AN3308.

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

View solution in original post

4 REPLIES 4
Federica Bossi
ST Employee

Hi @rep ,

Yes, it is possible to configure the LIS3DH interrupt function for free-fall detection while running normal XYZ data acquisition in polled mode.

You can find an example of free fall detection on AN3308.

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

Hi Frederica

 

Thanks for the information. Last question: Does the LIR_INT1 bit in CTRL_REG5 latch the pin or just the INT1_SRC register bits?  

Thanks!

Hi @rep ,

The LIR_INT1 bit latches the interrupt pin based on the INT1_SRC register flags.
The pin remains asserted until the INT1_SRC register is read and cleared.

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

Thanks so much!