Skip to main content
Visitor II
August 6, 2024
Solved

MotionMC_initialize() with ARM M33 is hard floating point is leading into a infinite loop

  • August 6, 2024
  • 1 reply
  • 1142 views

I tried to set up a project and to do the calibration of the sensor IIS2MDC on my B-U585I-IOT02A Board I want to use MotionMC

Now the floating-point-ABI ist set to Hardware implementation and the Middleware used is the MotionMC Library MotionMC_CM33F_wc32_ot_hard.a

 

But when I use the function MotionMC_Initialize(sampletime, enable) it ends up in an infinite loop.

 

What solutions could I try to solve this?

    This topic has been closed for replies.
    Best answer by nedpavel

    Enabling the CRC Clock with one line inside MX_CRC_Init() befor the use of MotionMC_Initialize was enough:

    __HAL_RCC_CRC_CLK_ENABLE();

     

    B

    1 reply

    nedpavelAuthorAnswer
    Visitor II
    August 6, 2024

    Enabling the CRC Clock with one line inside MX_CRC_Init() befor the use of MotionMC_Initialize was enough:

    __HAL_RCC_CRC_CLK_ENABLE();

     

    B