We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9cfcfc commit b87f832Copy full SHA for b87f832
drivers/i2c/i2c_ll_stm32_v2.c
@@ -639,11 +639,15 @@ int i2c_stm32_error(const struct device *dev)
639
data->current.is_arlo = 1U;
640
goto end;
641
}
642
-
+ /*
643
+ * Don't end a transaction on bus error in master mode
644
+ * as errata sheet says that spurious false detections
645
+ * of BERR can happened which shall be ignored
646
+ * If a real Bus Error occurs, transaction will time out
647
+ */
648
if (LL_I2C_IsActiveFlag_BERR(i2c)) {
649
LL_I2C_ClearFlag_BERR(i2c);
650
data->current.is_err = 1U;
- goto end;
651
652
653
#if defined(CONFIG_SMBUS_STM32_SMBALERT)
0 commit comments