I am using the LSM6DSL with a SMT32L476. My question is in relation to the single and double tap generated events (on INT2 pins).
1°) When I single tap on the sensor I have an interruption on INT2. If I read TAP_SRC (1Ch) I have :
Z_TAP:1 Y_TAP:0 X_TAP:0 TAP_SIGN:1 DOUBLE_TAP:0 SINGLE_TAP:1 TAP_IA:0
Note : I would expect TAP_IA to 1 but anyway it is working.
2°) When I double tap on the sensor I have 2 interruptions on INT2. If I read TAP_SRC for each interruption, I have :
- first one : Z_TAP:1 Y_TAP:0 X_TAP:0 TAP_SIGN:1 DOUBLE_TAP:0 SINGLE_TAP:1 TAP_IA:0
- second one : Z_TAP:1 Y_TAP:0 X_TAP:0 TAP_SIGN:1 DOUBLE_TAP:1 SINGLE_TAP:0 TAP_IA:1
Is there any way by configuring (correctly) the sensor to not have 2 interruptions for a double tap ?
Or If the TAP_IA for a single tap was equal to 1 I would be able to know if it was a single Tap or a double tap (even with the first faulty interruption)
Thanks in advance for any help.