Skip to main content
Graduate
August 26, 2025
Solved

IIS2DLPC- Tap threshold

  • August 26, 2025
  • 1 reply
  • 507 views

Hi,

I'm trying to use the least possible threshold for IIS2DLPC tap detection.

Is it achieved by setting TAP_THSX[4:0] as 00000b or 00001b?

I see that 1 LSB corresponds to FS/32. Does 00000b means the threshold is 0g or some fixed value?

If the threshold is 0g, then the sensor should not detect any taps, as the acceleration values cannot fall below the threhold value. right?

Thanks in advance

    This topic has been closed for replies.
    Best answer by Federica Bossi

    Hi @KJose.1 ,

    The minimum threshold value accepted by the sensor is 1 LSB (00001b)

    Setting 00000b practically means no threshold or zero threshold, which is not useful: the sensor requires a non-zero threshold to detect taps, because acceleration cannot be below 0g (and taps are detected as acceleration spikes above threshold).

    1 reply

    Technical Moderator
    August 28, 2025

    Hi @KJose.1 ,

    The minimum threshold value accepted by the sensor is 1 LSB (00001b)

    Setting 00000b practically means no threshold or zero threshold, which is not useful: the sensor requires a non-zero threshold to detect taps, because acceleration cannot be below 0g (and taps are detected as acceleration spikes above threshold).