Skip to main content
KJose.1
Associate II
August 26, 2025
Solved

IIS2DLPC- Tap threshold

  • August 26, 2025
  • 1 reply
  • 508 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

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

Federica Bossi
Federica BossiBest answer
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).

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.