I2C stuck after some time
I'm working with STM32L0 and use the I2C to read some registers of a bms by TEXAS.
I perform some I2C reading once every seconds using HAL_I2C_Master_Transmitand HAL_I2C_Master_Receive and everything work well maybe for hours. Then unexpectedly something goes wrong and I2c get stuck.
In these condition SCL is always LOW ( it rises no more ) and the the BUSY is ON. Every other reading fails and I don't know how to recover from this situation.
Anybody can help me?
Thanks
