2025-07-31 8:04 AM
Hi ST guys,
I played with the LIS3DH accelerometer options and don't really see difference in interrupts.
Can you explain the differences between 6D and no 6D because as per my understanding of AN3308 the AOI + 6D option is position detection which is where I should get an interrupt when position of device is configured.
ex : I put 0xF4 in INT1_CFG to enable AOI + 6D + ZHIE, ZLIE and YLIE and it doesn't seem to change when I put 0x34
The documentation is also confusing regarding CTRL_REG6 (25h), can you explain :
I2_IA1 Enable interrupt 1 function on INT2 pin. (is it configuration of INT1_XXX ?)
I2_IA2 Enable interrupt 2 function on INT2 pin. (is it configuration of INT2_XXX ?)
I2_ACT Enable activity interrupt on INT2 pin. (What is this option ?)
My goal is to have detection of fixed position on one AXIS (let say +Z or -Z) for putting device at sleep mode and motion detection to potential theft of device. I was expecting using INT1 and INT2 but struggle to make motion detection with INT1 configured for position.
Thanks