Hello to all,
If the acceleration of an object is known, we can get a proportional approximation of the velocity data if an integration is applied.
Unfortunately we do not have any updated document with information about how to do this with one of our new accelerometers, however, we do have an application note that mentions how to calculate velocity (and positioning) using the accelerometer MMA7260 (which is no longer manufactured), that can be used as a reference.
Implementing Positioning Algorithms Using Acceleromenters - AN3397
In case it is useful for you, please find sample code for the MMA8451 at:
MMA8451Q - Bare metal example project
I hope this information will be useful for you.
Have a great day.
David Diaz.