Skip to main content
Visitor II
October 11, 2017
Question

MotionFX Initialization Failed

  • October 11, 2017
  • 1 reply
  • 2032 views
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.

    1 reply

    ST Employee
    October 11, 2017
    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 CaiAuthor
    Visitor II
    October 11, 2017
    Posted on October 11, 2017 at 11:56

    Yes, it works by adding __CRC_CLK_ENABLE();