Datasheet

DocID026899 Rev 7 89/99
LSM6DS3 Embedded functions registers description
99
11.16 PEDO_DEB_REG (14h)
The procedure to modify the pedometer debounce time is as follows:
Write reg FUNC_CFG_ACCESS (01h) = 80h (Enables access to the embedded
functions)
Set debounce time in bits [3:7] of reg 14h (1LSB = 80 ms.This value must be > 0)
Write reg FUNC_CFG_ACCESS (01h) = 00h (Disables access to the embedded
functions registers)
Note: All modifications of the content of the embedded functions registers have to be performed
with the device in power-down mode.
Table 236. PEDO_DEB_REG register default values
DEB_
TIME4
DEB_
TIME3
DEB_
TIME2
DEB_
TIME1
DEB_
TIME0
DEB_
STEP2
DEB_
STEP1
DEB_
STEP0
00000110
Table 237. PEDO_DEB_REG register description
DEB_ TIME[4:0]
If this time between steps is greater than DEB_TIME*80ms, the debouncer is
reactivated
DEB_ STEP[2:0] Minimum number of steps to increment step counter (debouncer)