Solved
STM32L4 HAL I2C driver not working anymore after update
I recently update my STM32L4 HAL library from 1.9 to 1.13. After that, using the
HAL_I2C_Mem_Write_IT
function, I got stuck in an error routine because TCR flag was set and that shouldn't happen:

When I looked at the changes in the HAL library, I saw that the HAL function changed the transfermethod to RELOAD
instead of the AUTOEND that it used in the old library version when the amount of bytes was less than 256:

I think this is a mistake. The I2C transfer should always be using AUTOEND
unless the amount of bytes exceeds 255.
Am I overlooking something here?
Ewout Boks
