You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Wait until data is received
while (!GET_BIT(MEM_MAPS[m_module]->S, I2C_S_IICIF_SHIFT))
{
if (GET_BIT(MEM_MAPS[m_module]->SMB, I2C_SMB_SLTF_SHIFT))
{
LOG_DL("i2c scl timeout");
return false;
}
}
The interrupt flag in I2C status register was 0. The if statement was false.
The I2C interrupt enable flag in I2C control register 1 was found being 0.
Trying to simply set the I2C interrupt flag to 1 if it is 0 to fix this problem.
The text was updated successfully, but these errors were encountered:
The interrupt flag in I2C status register was 0. The if statement was false.
The I2C interrupt enable flag in I2C control register 1 was found being 0.
Trying to simply set the I2C interrupt flag to 1 if it is 0 to fix this problem.
The text was updated successfully, but these errors were encountered: