Question
I2C HAL_I2C_Mem_Read ( ) failed
Hi,
I am working on I2C read EEPROM. The HAL function failed due to the I2C_FLAG_BUSY is always SET.
Is there anything I am missing in init code?
Thx
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY, tickstart) != HAL_OK)
{
return HAL_TIMEOUT;
}
