I ran MPU9250_DMP_Quaternion.ino without any problem on an ESP8266.
Now I want to use it on a Arduino Mega 2560 and it returns the following:
Q: INF, INF, INF, INF
R/P/Y: NAN, 180.00, NAN
Time: 32761 ms
MPU9250_DMP_Gyro_Cal.ino works correctly on the same Arduino Mega 2560.
I tried DMP_FEATURE_6X_LP_QUAT and DMP_FEATURE_LP_QUAT both gives the same.
Also, dmpBegin returns INV_SUCCESS.
I also tried with Wire.setClock(400000), no success...
Any idea what could cause this issue?