Question
I2C connection is not established to BNO080 dev board
I am trying to run the demo code provided by for nucleo 411RE to BNO080. I am running it in the STM32CubeIDE , but the code was written for IAR IDE.....
I tried running that code after adding necessary file but when I try
ret = HAL_I2C_IsDeviceReady(&hi2c1,0x4A<<1, 1, 100);
the ret value is always 1. i.e the connection is not established .
SW2-0
SW4-0
SW6-0
I have set all the values to 0 for i2c communication.
Suggest me some idea?