LIS3DH - Cannot have position detection running properly
My LIS3DH is embedded on a PCB with gravity on Zh (upside down).
It is configured with:
- ODR 10Hz, Z axis enabled
- No filter
- FS @2Hz
- IA1 on INT1
- Interrupt active HIGH
- AOI and 6D pos (for position detection)
- INT1 threshold set to 0x39 (around 0.916g)
This configuration is meant to have interrupt HIGH on nominal position, and LOW with the sensor is not vertical (angle of around 30°).
But using this kind of configuration (inverted INT usage) does not allow me to use the INT1_DURATION register.
I did try to use other axis to be in INT "normal" behaviour (active LOW when not in nominal vertical position), but I did not manage to find the proper configuration.
Has anyone already encounter this kind of situation?
Can anyone provide me with help?
Regards,
Sebastian
