Skip to main content
Graduate
July 3, 2024
Question

MotionFx Magnetometer calibration issue

  • July 3, 2024
  • 2 replies
  • 2257 views

Hello Everyone!!!

I am using STM32F401CBU6 controller along with 2 sensors ie., (ISM330DLC & ISM303DAC) in my project. I have included motionfx library and getting Roll, Pitch, Yaw and Heading, but the heading is not getting calibrated and values are also changing continuously. i am using datalog fusion latest updated example code from X-cube mems1 with reference to UM2220.

I have tried to to rotate the  sensor in all the possible directions to get it calibrate but it is not at all getting calibrated.

Here is the data that i have logged, find the attached.

@Petr S  or anyone please have a look and help me out!!!!

regards,

ANIL.FX_Run.PNGInit.PNGMag_Calib.PNG

    This topic has been closed for replies.

    2 replies

    ST Employee
    August 5, 2024

    Hello Anil,

    You've shared only the timestamp and results in your datalog. I need all input data to compare the results and to be able to analyze whether the issue is in input data or in library usage.

    Thanks,

    Petr

    ST Employee
    August 5, 2024

    First please verify you have set correct device orientation in the code.