2018-01-24 08:10 AM
I am trying to add MotionAR library to a DataLogger sample application running on SensorTile. I manager to compile the library and program my chip with it. Near the top of my main() I added simple MotionAR_Initialize() and MotionAR_GetLibVersion() function calls. It seems that PC is getting stuck in a loop inside of the init function as shown below.
I can break out of this beq.n and b.n loop my moving the PC to the ldr line (080070e8) and the program continues fine. I am able to retrieve the version string from the GetLibVersion function.
Any idea what the init function is waiting for?
#sensortile #stm32l4 #motion #st-memsSolved! Go to Solution.
2018-01-24 08:21 AM
Please enable clock forthe CRC module in STM32 microcontroller, it is needed for Initialize function.
You can also check following topic
2018-01-24 08:21 AM
Please enable clock forthe CRC module in STM32 microcontroller, it is needed for Initialize function.
You can also check following topic
2018-01-24 07:00 PM
Ahhh, lovely. My pain and suffering solved in one line of code. Thank you!
__CRC_CLK_ENABLE();
2020-03-25 05:54 PM
Thank you very much ! I had exactly the same problem with execution stuck in MotionEC_Initialize or in MotionMC_Initialize and this solved my problem :grinning_face: