2018-03-13 11:40 PM
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?
2018-03-15 08:36 AM
The threshold is common for X, Y, Z axis and it is absolute value. It doesn't matter what sign has the acceleration.
2018-03-16 01:10 AM
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?
2018-03-16 03:38 AM
I hope my picture will make it clear.
2018-03-18 08:17 PM
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?
2018-03-19 02:30 AM
Yes, your understanding is correct.