Hi mananoza,
Your code did not refer to the example in the previous attachment. We suggest that you strictly refer to the example in the previous attachment and try again.
... View more
Hi mananoza,
In BHI260AP firmware, it integrates the BSX fusion library.
You can refer to BHI260AP sensor API & example code https://github.com/boschsensortec/BHY2-Sensor-API
I also upload example code on STM32F4 for your reference.
... View more