2025-08-26 2:20 AM
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
Solved! Go to Solution.
2025-08-28 6:25 AM
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).
2025-08-28 6:25 AM
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).