Question
LIS2DH12: 6d movement detection
I'm using LIS2DH12 and trying to implement 6d movement detection.
Below is my present flow on startup.
- Set ODR to 25Hz in CTRL_REG1
- Enable i1_ia1 in CTRL_REG3
- Set full scale to 2g in CTRL_REG4
- Set aoi to 0 and remaining bits to 1 in INT1_CFG
- Set threshold to 0x10 in INT1_THS
- Set duration to 0x06 in INT1_DURATION
But the interrupt is not getting generated when there is a movement.
