Hello Jeff,
In this case, I would like to recommend using one of the embedded functions included in the MMA8451Q: Freefall detection.
The detection of “Freefall” involves the monitoring of the X, Y, and Z axes for the condition where the acceleration magnitude is below a user specified threshold for a user definable amount of time. Normally, the usable threshold ranges are between ±100 mg and ±500 mg.
Please find attached a sample project in which an interrupt is generated when a freefall event has been detected.
I used the FRDM-KL25Z and CodeWarrior IDE for this project.
I hope this information will be useful for you.
If I misunderstood your question, feel free to let me know. I will be glad to help.
Have a great day.
David Diaz.