INT2_SRC register value for Sleep to Wake event
Hello,
I have configured LIS2DH12 to generate interrupt on INT2 pin on activity(sleep to wake) using the register values as follows:
CTRL_REG1 - 0x37
CTRL_REG2 - 0x00
CTRL_REG3 - 0x00
CTRL_REG4 - 0x00
CTRL_REG5 - 0x02
CTRL_REG6 - 0x08
ACT_THS - 0x10
ACT_DUR - 0x00
With this configuration, I am able to get an interrupt on INT2 pin. However, when I read INT2_SRC register, the IA bit is not set to 1. Can you please let me know if there is another way to identify the interrupt source for sleep to wake event because I am planning to use the INT2 pin for another event as well.
