Hello,
I want my FXLS8974CF to detect freefall and motion/no motion at the same time. In the AN12004 (chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.nxp.com/docs/en/application-note/AN12004.pdf) , the examples are given seperately on pages 14 and 16. The registers 30h, 32h, 33h, 34h, 35h and 36h configurations are different in each example.
How can I configure freefall detection to INT1 pin and motion/no motion detection to INT2 pin?
Best regards,
Onur
#FXLS8974CF
Hello Onur,
Since the SDCD block only supports one set of configuration, only one of freefall/motion can be set at one time.
If you want to implement both at the same time, practically motion is a more essential event (freefall is one kind of motion), so I would suggest to configure the SDCD with motion detection, and use motion interrupt to trigger software freefall detection algorithm.
BR, Tomas