Skip to main content
Visitor II
June 27, 2025
Question

LSM6DSM high pass filter wake up interrupt

  • June 27, 2025
  • 0 replies
  • 255 views

Hi,

I am working on an accelerometer interrupt using the LSM6DSM. In AN4987 I found that I can configure the slope filter to use a window of WK_DUR samples that consecutively exceed WK_THS based on the given formula. I found good threshold settings for the slope filter, but that required me to filter out unwanted interrupts using the WAKE_UP_SRC (if X_WU or Y_WY and not Z_WU) after an interrupt. Is there a way to use a binary operator to filter out interrupts on an hardware level?

That lead me to believe that I would need to use the high-pass filter. However, it is not explicitly stated how exactly the wake-up interrupt behaves, the only clue that I found was the following statement:
"The wake-up interrupt signal is generated if a certain number of consecutive filtered data exceed the configured threshold". Would that be for a given window (WK_DUR) that every sample should exceed WK_THS compared against the previous sample?

Thanks,

Bart

    This topic has been closed for replies.