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 a3e6302 commit 789e1d2Copy full SHA for 789e1d2
drivers/i2c/i2c_ll_stm32_v2.c
@@ -631,10 +631,14 @@ int i2c_stm32_error(const struct device *dev)
631
goto end;
632
}
633
634
+ /* Don't end a transaction on bus error in master mode
635
+ * as errata sheet says that spurious false detections
636
+ * of BERR can happen which shall be ignored.
637
+ * If a real Bus Error occurs, transaction will time out.
638
+ */
639
if (LL_I2C_IsActiveFlag_BERR(i2c)) {
640
LL_I2C_ClearFlag_BERR(i2c);
641
data->current.is_err = 1U;
- goto end;
642
643
644
#if defined(CONFIG_SMBUS_STM32_SMBALERT)
0 commit comments