Not receiving FIFO threshold interrupt in LSM6DSL
Hello,
In my application, I need LSM6DSL to generate an interrupt when configured FIFO threshold is reached. I am using FIFO for accelerometer and gyroscope.
My configuration is as below,
FIFO_CTRL5 = 0x09 // ODR 12.5 Hz, FIFO mode
CTRL3_C = 0x 44 //BDU, Reg addr increment
FIFO_CTRL1 = 0x3C //Fifo threshold
INT1_CTRL = 0x08 //Route fth signal on INT1 pin
CTRL1_C = 0x48 //Select LPF BW, Set ODR and FS
FIFO_CTRL3 = 0x09 //Set FIFO ODR for gyroscope and accelerometer
CTRL2_C = 0x18 //Set gyroscope ODR and FS
After this configuration I can see that Watermark flag getting high when the configured threshold level for FIFO is reached. But I am not able to get the interrupt on INT1 pin for the same event.
Please help me if I am missing anything.
Thanks in advance.
