English
Language : 

LSM6DSM Datasheet, PDF (86/113 Pages) STMicroelectronics – always-on 3D accelerometer and 3D gyroscope
Register description
LSM6DSM
D4D_EN
SIXD_THS[1:0]
TAP_THS[4:0]
Table 182. TAP_THS_6D register description
4D orientation detection enable. Z-axis position detection is disabled.
Default value: 0
(0: enabled; 1: disabled)
Threshold for 4D/6D function. Default value: 00
For details, refer to Table 183.
Threshold for tap recognition. Default value: 00000
1 LSb corresponds to FS_XL/25
Table 183. Threshold for D4D/D6D function
SIXD_THS[1:0]
Threshold value
00
80 degrees
01
70 degrees
10
60 degrees
11
50 degrees
10.75
INT_DUR2 (5Ah)
Tap recognition function setting register (r/w).
DUR3
DUR2
Table 184. INT_DUR2 register
DUR1
DUR0 QUIET1 QUIET0 SHOCK1 SHOCK0
DUR[3:0]
QUIET[1:0]
SHOCK[1:0]
Table 185. INT_DUR2 register description
Duration of maximum time gap for double tap recognition. Default: 0000
When double tap recognition is enabled, this register expresses the maximum time
between two consecutive detected taps to determine a double tap event. The
default value of these bits is 0000b which corresponds to 16*ODR_XL time. If the
DUR[3:0] bits are set to a different value, 1LSB corresponds to 32*ODR_XL time.
Expected quiet time after a tap detection. Default value: 00
Quiet time is the time after the first detected tap in which there must not be any
overthreshold event. The default value of these bits is 00b which corresponds to
2*ODR_XL time. If the QUIET[1:0] bits are set to a different value, 1LSB
corresponds to 4*ODR_XL time.
Maximum duration of overthreshold event. Default value: 00
Maximum duration is the maximum time of an overthreshold signal detection to be
recognized as a tap event. The default value of these bits is 00b which corresponds
to 4*ODR_XL time. If the SHOCK[1:0] bits are set to a different value, 1LSB
corresponds to 8*ODR_XL time.
86/113
DocID028165 Rev 2