11-23-2021 09:18 AM
Hi,
I am using any-motion detection for my test.
In your document, int_anym_dur has beed defined consecutive slope data points.
How to calcuate real time duration using int_anym_dur?
Thanks.
Solved! Go to Solution.
11-23-2021 06:06 PM
Hi,
Thanks for your inquiry.
BMI160 any-motion duration has two bits corresponding to data samples of 1, 2, 3 and 4 respectively. The duration is related to ODR. For example, if BMI160 accel ODR is set to 100Hz which is 10ms interval, then when any-motion duration is set to 1 sample, any-motion interrupt will be generated whenever there is a slope data sample that exceeds the any-motion threshold. When any-motion duration is set to 2 samples, any-motion interrupt will be generated if there are two slope data samples that exceed the any-motion threshold between 10ms.
Thanks.