cancel
Showing results for 
Search instead for 
Did you mean: 

IIS2DLPC Threshold Interrupt

iaeinfach
Associate III

Coming from the IIS2DH which had a simple threshold interrupt by axis that worked great.

Can we achieve a similar thing with the IIS2DPLC? Specifically I want to do the following:

If an axis exceeds a threshold value it will persist an output (INT1 or INT2) line until the acceleration value is below the threshold.

I have tested the wake / sleep functionality successfully, but it seems the high pass filter is on by default? I say this because even if the threshold is exceeded and the wake event occurs, the sleep event will also eventually occur even if the value still exceeds the threshold.

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @Community member​ , in the IIS2DLPC case there is a different threshold for every embedded digital feature, differently from IIS2DH. I would use the tap threshold TAP_THS (registers (30h, 31h, 32h), that can be managed separately for every axis and for each direction. Regards