LSM6DS33 WAKE_UP_SRC register not providing correct status data.
I have Pololu breakout containing a LSM6DS33 connected to a ESP32 module via I2C. INT1 is connected to GPIO15. I am driving Activity and Wake Up to INT1. The ESP32 picks up the interrupts reliably. I would like to know whether the LSM6DS33 is active or asleep after having received the interrupt. I read the WAKE_UP_SRC register to see the source of the interrupt. However, it almost always returns only FF_IA bit and Z_WU, and nothing other. I do not drive Free-fall to INT1. It returns the FF_IA bit even if the device is still. This is driving me crazy!
I attach the simplified Arduino Sketch to help troubleshoot the problem.
Your help would be much appreciated.
Ben Zaaiman
