Recovering from a failed I2C transfer
I am using HAL_I2C_Master_Transmit(). That generally works well. However, I sometimes run into an issue when the slave device is not responding. HAL_I2C_MasterTransmit() obviously returns an error after running into timeout, as it should. But then I ...