cancel
Showing results for 
Search instead for 
Did you mean: 

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

nedpavel
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
nedpavel
Associate

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

View solution in original post

1 REPLY 1
nedpavel
Associate

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