How can I determine the value of the register ACT_DUR for a given ODR and a given desired return-to-sleep duration for LIS3DH?
In the data sheet, it is written: Sleep-to-wake, return-to-sleep duration
1 LSb = (8*1[LSb]+1)/ODR. How should I interpret that. It seems equation but is it? If one solves with respect to 1LSB, he/she would get: 1LSB = 1/(ODR-8) but it makes no sense for ODR=1Hz. I saw in some examples that a value of 0x20 at ODR=100Hz gives 5s. I was looking but I have not found a clear explanation how to determine the value of the register neither in the data sheet not in the AN3308, where this register is also named INACT_DUR.
