Skip to main content
Visitor II
March 14, 2018
Question

Why in the INTx_SRC register of LIS3Dx, there is XH/YH/ZH and XL/YL/ZL, but there is only one THS register

  • March 14, 2018
  • 1 reply
  • 785 views
Posted on March 14, 2018 at 07:40

In the INT1_SRC register, there is XH/YH/ZH as well as XL/YL/ZL bits to indicate the (XYZ)H/L event has occurred. But there is only INT1_THS register instead of INT1_THS_HIGH/INT1_THS_LOW. How can I configure two threshold for each axis?

0690X00000609qBQAQ.png
    This topic has been closed for replies.

    1 reply

    ST Employee
    March 15, 2018
    Posted on March 15, 2018 at 16:36

    The threshold is common for X, Y, Z axis and it is absolute value. It doesn't matter what sign has the acceleration.

    Kefei YaoAuthor
    Visitor II
    March 16, 2018
    Posted on March 16, 2018 at 08:10

    Yes, I understand the threshold is common for XYZ. Probably I have some misunderstanding of those register bits. In the datasheet, it says ZH/L goes 1 when Z high/low event has occurred. What does Z high/low event stand for. What's their relationship with the 

    INT1_THS

      register  or any other relevant register?

    0690X0000060A5uQAE.png
    ST Employee
    March 16, 2018
    Posted on March 16, 2018 at 10:38

    I hope my picture will make it clear.

    0690X0000060A8tQAE.png