09-04-2023 04:27 PM
I have designed the schematic for a project I am currently working on, and I have received the PCB. However, I'm confused about the software part of using the STM32F103C8T6 microcontroller and the BNO055 IMU sensor. I've looked at some example projects, but I'm having trouble with reading data from the sensor. The libraries used in the example projects seem quite complex, and I'm not sure which parts I should select. The C source file for the sensor is even more complicated. Do you have any suggestions on what I should do? Thank you very much.
Solved! Go to Solution.
09-05-2023 10:46 AM
09-06-2023 07:58 AM
Is the code you provided ready for use or does it require any additional modifications or additions?
09-07-2023 03:10 AM
Hi DoganSamil,
The reference works well on STM32F401.
For your host platform STM32F103C8T6 microcontroller, you only need to initialize the I2C on the host side and implement the callback functions for write, read, and delay_msec, so the reference code will work.
09-07-2023 07:52 AM
Can I learn how the main code works without defining any registers in the "BNO055_task.h" file?"