Re: BMI160 How to calculate time using any motion duration?
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.