Hi David,
Thank you for your very detailed reply - I had begun to think the same thing... this definitely makes sense, and would certainly go some way to explaining the results I'm getting...
I've read up on debounce on Google, but am having a slightly difficult time understanding it in the context of this sensor (other resources talk about switches, for example...)
To my understanding, debounce counter means that an event (in this case, the movement/impact/shake that triggers the transient interrupt) must happen for a specified period of time (say 100ms) before the chip picks this up as a true event, rather than noise. Would I be correct in this assumption?
If I am, is there any information relating to this in terms of timings, and the physics behind them?
For example (the numbers are probably wrong), if I drop the device, it hits the ground, at which point:
at t = 0: has impacted on the floor, and vertical velocity becomes 0.
at t = 10ms, acceleration begins to be experienced upwards due to force exerted back from the ground.
at t = 50 ms, device accelerates up, and vertical velocity also.
So if this were the case, I'd set the debounce to e.g. 50ms - since I'm at 100hz, then that'd be 5 steps.
Is this correct?
Meanwhile, I'll play around with the debounce to see if I can't get any more accurate results.
Thanks!