cancel
Showing results for 
Search instead for 
Did you mean: 

IIS2DLPC- Tap threshold

KJose.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

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.

View solution in original post

1 REPLY 1
Federica Bossi
ST Employee

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.