cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with MotionDI library initialization

Alps
Associate

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

 

 

1 REPLY 1
Petr S
ST Employee

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