[stm32l1] [i2c] Hanging on I2C error #5735
Labels
State: duplicate
State: The issue/PR is a duplicate of another issue/PR
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Hello everyone,
It's possible to overhaul current STM32L1's I2C peripheral driver code to remove the
from the I2C error ISR?
Due to this stub, the application code freezes if any I2C bus error occurs. That obviously makes an application less robust.
The current implementation code is like this:
My suggestion is to replace this hanging stub to the routine which rising an error flag somewhere instead. It will make possible to handle bus errors on application side and gives more control over the situation.
Best regards,
Cr0s
The text was updated successfully, but these errors were encountered: