Skip to main content
Visitor II
January 21, 2020
Question

IIS2DLPC Threshold Interrupt

  • January 21, 2020
  • 1 reply
  • 732 views

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.

    This topic has been closed for replies.

    1 reply

    ST Employee
    March 24, 2020

    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