Hello. I am looking for help on how to achieve the following using an MMA8451 Accelerometer sensor:
The device is to remain in WAKE mode as long as it is in motion, and goes to SLEEP if it is still (not in motion) for 30 seconds.
It should only go back to WAKE after a double tap pulse is detected.
I want the INT1 pin to indicate that the device has gone to sleep (ASLP interrupt) and the INT2 pin to indicate that a double tap pulse interrupt has occurred.
I do specifically NOT want the FF/Motion interrupt to cause any change on INT1 or INT2, it should only keep the device from falling asleep.
After going back and forth in the spec and app notes I can't understand how to activate FF/Motion without having it affect the INT1 or INT2 pins.
Is it possible to do what I am looking for?
/j