2019-08-13 12:48 PM
LIS3DH MEMS digital output motion sensor.
Hi every body.
I'm using this sensor in 'High-resolution mode'. but after some time (I define timeout = 10 seconds) without detect any motion, put the sensor in 'low-power mode'. if the sensor is moved before this 'timeout' (detect interrupt), change to 'High-resolution mode'.
this works as expected,
but, when the 'Low-power mode' is set (after timeout), the sensor is sending an unexpected interrupt, this is producing than my software detect the interrupt, so, is returning to 'High-resolution mode'.
resume: every time the sensor is set to 'Low-power mode', it is returning an interrupt. the interrupt need to be just when the sensor detect motion.
any help?
thank you
2019-09-04 07:03 AM
HI @LM , are you using the sleep-to-wake-up and return-to-sleep functions of LIS3DH? I mean the one described in p. 23 of AN3308. Regards