04-07-2023 12:25 PM
Hi everyone, we are using stm32f405rgt6 microcontroller in our robot, when we are using i2c for reading data from BNO055 module suddenly the device get out of the i2c line or maybe can not read the data,
Here are some more details:
we pulled up our i2c lines with 10k resistors.
And this photo that I mentioned is our BNO055 module:
Also, I configured the I2C2 with the following details:
04-07-2023 04:17 PM
04-08-2023 10:05 PM
I checked this and used the same method to read the module but understood that I have some wired issues with getting readings from the BNO055 sensor using an STM32F405 microcontroller.
I start reading the sensor data from 0x1A but after several readings, the sensor turns back to 0 as the angle.
This mode will continue until the sensor supply voltage is disconnected and reconnected again.
05-11-2023 04:28 AM
Hi smhn24,
Did you refer previous example code on STM32 and get chip ID in Init_BNO055() function?