2025-05-08 8:07 AM
We've implemented an example program based on UM2220 using an lsm6dsox IMU sensor on an STM32U575 microcontroller. We're trying to use MotionFX for orientation calculation from 6 axis measurement, configured with accelerometer and gyro. The IMU sensor is configured to sample at 12.5Hz. Pitch and roll are extracted and printed to a terminal
What we're seeing is that the output data is stable for a short period of time, however after an indeterminate period of time, pitch and roll become corrupted, spewing (seemingly) random data out
We'd really appreciate any assistance on why this may be happening! We've already tried doubling the stack size of the thread, with no luck