Skip to main content
Yong Cai
Associate
Question

MotionFX Initialization Failed

Posted on October 11, 2017 at 10:55

Hello,

I'm a noob on stm32 and keil, I'm not sure the problem is my operation in keil or my configuration about stm32 and x-cube-mems1. Please help with the details.

I successfully run the DataLogFusion example in Nucleo-F401RE and X-NUCLEO-IKS01A2. But when I try to use MotionFX lib in my custom board project, I get this issue.

In debug session, the program could not STEP OVER the function - MotionFX_initialize().

Using

1. Custom board using STM32F401CEUx

2. MotionFX V2.0.0, included MotionFX200_CM4F_Keil_ot.lib

3. Code generated by STM32 CubeMX 4.22, STM32Cube FW_F4 V1.16.0

    This topic has been closed for replies.

    8 replies

    ST Employee
    Posted on October 11, 2017 at 11:00

    Hello,

    please enable clock for CRC unit in the microcontroller, it is needed for the algorithm initialization.

    Yong Cai
    Yong CaiAuthor
    Associate
    Posted on October 11, 2017 at 11:56

    Yes, it works by adding __CRC_CLK_ENABLE();