You probably missed the I2C1 interrupt handler function. I had a similar problem. After I added the interrupt handler function, the problem is fixed. I added the interrupt handler to "stm32f0xx_it.c" file as below. (I use STM32F072RBT6 chip)void I2C1...
You probably missed the I2C1 interrupt handler function. I had a similar problem when executing this function HAL_I2C_Master_Transmit_IT(). After I added the interrupt handler function, the problem was fixed.I added I2C1 interrupt handler in to the "...