2025-09-21 10:46 PM
Hi,
We are using the LSM6DSO in our project to find the euler angles.we are new to this motionfx in stm32. please tell us from where we have to start to find the euler angles.Do we need to add any of the files in the stm32?
please tell us from the beginning.
2025-09-22 2:54 AM
Hi @TejasK ,
From the STM32Cube firmware package, locate the LSM6DSO sensor driver and add the driver files to your project. Then initialize the sensor in your code.
Add MotionFX files to your project and include MotionFX headers in your main code. Initialize the MotionFX library with sensor parameters (set sensor data rates and full scales matching your sensor configuration).
Store raw data in the format expected by MotionFX. Call the MotionFX processing function with raw sensor data. MotionFX will output orientation data, including quaternions and Euler angles.
Here are some useful links:
2025-09-22 5:40 AM
Thank you for the reply.
I have one more question regarding this?
do we need to upload any firmware related to this ?
is there any examples related to the gyroscope and acclerometer?