cancel
Showing results for 
Search instead for 
Did you mean: 

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

Kefei Yao
Associate III
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
5 REPLIES 5
Miroslav BATEK
ST Employee
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.

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
Posted on March 16, 2018 at 10:38

I hope my picture will make it clear.

0690X0000060A8tQAE.png
Posted on March 19, 2018 at 03:17

Thanks for the reply and nice picture. So when the acceleration is in XYZ high area in the picture, the high event is 1, and low event is zero. And vise versa. High and low event can't happen at same time.

So it is register design matter that it uses two separate register to indicate high/low event instead of one. Correct?

Posted on March 19, 2018 at 09:30

Yes, your understanding is correct.