Hello,
Have you tried to perform the calibration when there is a no movement condition?
Please note that the calibration value obtained will be affected by the board’s orientation and the static acceleration (earth’s gravity) component in each of the axis.
In case it is useful for you, you may refer to the following application note:
AN3397 - Implementing positioning Algorithms Using Accelerometeres.
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.
Note: If this post answers your question, please click the Mark Correct button. Thank you!