I am getting only empty result while using MotionMC_GetCalParams function
Good afternoon,
I am currenly working with the ECompass feature, and I am facing some issues with the magnetometer compensation library : MotionMC.
I followed the UM2192 user manual instructions to write my code but I am still getting empty/default values (actually 0 everywhere) when calling MotionMC_GetCalParams function.
I had a lok to some other post :
https://community.st.com/s/question/0D50X00009XkWyASAV
https://community.st.com/s/question/0D50X00009XkWf7SAF
According to the second link, the function MotionMC_Update should run during atleast 5 seconds before calling MotionMC_GetCalParams.
But I am not sure to understand, should I run MotionMC_Update for 5 seconds during my initialization step, or should I run MotionMC_Update for 5 seconds each time I want to call MotionMC_GetCalParams ?
Moreover can someone explain why it is necessary (if it is really necessary)?
Thanks,
Have a nice day,
Julien.
