Skip to main content
Visitor II
June 9, 2024
Question

Issue with MotionDI library initialization

  • June 9, 2024
  • 1 reply
  • 905 views

I have added Digital Inclinometer application of X-Cube-MEMS1(9.6.0) on stm32f777zit6 wherein I want to read the rotation(angle) from LSM6DSL device. I have added all the required component files and Motion_DI library to the workspace.

Reference taken from: X-Cube-MEMS1>>9.6.0>>Projects>>Nucleo_F401RE>>Application>>IKS01A2>>DigitalInclinometer

 

I am successfully able to configure the LSM6DSL with i2c1 of stm32f777zit6 and able to read the "who am i".

But my MotionDI library is not getting initialised. During debug, my code gets stuck at function MotionDI_manager_init((int)ALGO_FREQ);.  Code is not working after this.

Kindly suggest what can be the issue??

 

Regards

ALPS

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    June 18, 2024

    Hi @Alps, have you enabled CRC? It's needed for ST processor identification.