How to generate interrupt for positive and negative peaks using LIS2DH12?
Hello ST community,
I am exploring the use of LIS2DH12 for an application where I need to detect positive peak of 200 mg and negative peak of -150 mg. For this, I am planning to use the two interrupts INT1 and INT2 for positive and negative peak detection. However, as per interrupt generation logic for this sensor, only the absolute value of threshold value is considered. How can I use this sensor to detect both positive and negative peaks? Can you please provide your inputs on this?
Thanks in advance,
Anusha
