We're using the BMI160 in our product and we're having some issues. We are configuring the BMI160 to generate an interruption on any motion in order to wake up the MCU from a deep sleep mode. However, we've seen some cases where the BMI160 loses its configuration and the any motion interrupt is not fired, and therefore our MCU won't wake up anymore.
Why the BMI160 could be losing its configuration? The power supply comes from a battery and in none of the cases the problem is related with low voltage.
If the BMI160 is reseting itself, how can we detect this?
How can we ensure that the any motion interruption stays configured even after a reset?