2021-05-27 01:07 PM
I've added motionFX to my project, which is an STM32F446, and i2c attached LSM6DSOX.
I can read/write to the IMU using traditional methods (I2c) but I wanted to utilize the motionFX library, and when I initialize, the debugger hangs at the initialize function.
I did read that CRC needed to be enabled, so I went back into the CubeMX project and enabled CRC. But alas, still hangs.
2021-06-08 07:28 AM
Hi @Community member ,
can you check exactly which part of the initialization returns an error?
by "hangs" you mean it returns a hard fault?
Niccolò
2021-06-21 10:36 AM
Yes, and I believe I figured out why. Came back here in case someone else finds this. The device I was using with CubeMX was not LSM6DSOX. I chose one of the other LSM6D devices accidentally. This caused the hardware to not initialize correctly.