AnsweredAssumed Answered

HAL and I2c problem

Question asked by askari.nima on Jan 16, 2015
Latest reply on Jan 22, 2015 by askari.nima
I connect mpu6050 to i2c3 and make a project with stm32cube and enable i2c3.
but cant detect sensor.

for(i=0 ; i<255 ; i++)
    {
        test = HAL_I2C_IsDeviceReady(&hi2c3,i,10,100);
        if(test == HAL_OK)
            break;
    }


return always HAL_BUSY 
my board is stm32f4discovery

Outcomes