MPU9250 DMP - Calibration

Hello

I want to calibrate a MPU9250 DMP (accelerometer and gyroscope)
I try to use the same procedure as for the MPU6050 DMP

For MPU9250 values do not converge to "accel and gyro deadzones".

Do you have an idea or a good procedure to communicate to me

Thank you

For the gyro, most people simply add up 100-500 measurements for each axis while the sensor is at rest, average to get the offsets, and subtract those offsets from later readings.

For the accelerometer and magnetometer, this tutorial describes the very best procedures.

thank you for your reply!!

For the Gyro, if you have a sample code I am interested

the tutorial is complicated.
You would not have a simpler procedure. it can be a little less precise?

thank you

Sometimes even life itself is complicated. To get the best possible results, follow the linked tutorial.

Without calibration, the magnetometer is almost always useless. To get results that are usable, you can follow this simplified and much less accurate procedure.