Skip to main content
Joseph Lehman
Associate
February 23, 2018
Question

LISD2E12 INT1_THS not changing tilt threshold

  • February 23, 2018
  • 10 replies
  • 2299 views
Posted on February 23, 2018 at 21:28

The INT1_THS register value does not seem to change the threshold at which an event is triggered. I can read and write the INT1_THS(0x32) so I know my writes are working. I poll the INT1_SRC register and watch the bits change so the position enable ints are working it is just that the threshold seems fixed not adjustable.

INT1_CFG = 0xCF to enable X & Y position triggering

INT1_THS = 0x20 = 0.5g or 30 degrees. (actual int flags trip around 0.94g/66 degrees)

Thanks in advance for any help.

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    10 replies

    ST Employee
    February 26, 2018
    Posted on February 26, 2018 at 10:48

    Can you please try INT1_CFG = 0xFF configuration and see it works as you want.

    The INT1_THS register value change the threshold. I think there is misunderstanding with the sensitive axis as you enable only X and Y.

    Joseph Lehman
    Associate
    February 26, 2018
    Posted on February 26, 2018 at 22:33

    I was intentional in only enabling X & Y.  Doe the threshold not apply to all axis?

    ST Employee
    February 27, 2018
    Posted on February 27, 2018 at 16:22

    The threshold apply to all axis.

    If you enable only X and Y axis following positions will be detected.

    0690X00000609plQAA.png
    Joseph Lehman
    Associate
    April 13, 2018
    Posted on April 13, 2018 at 13:49

    Solved! For those who follow this thread in the future.  In order to get a position threshold below 45 degrees or 0.7g to work, one of the axis must be disabled in the REG1_CFG so disabling in INT1_CFG is not enough, but the whole axis must be disabled in REG1_CFG