Resolved! STM32G491 restarts when using I²C
Hi, I am having a problem with a unexpected restart.The first time I use the I²C bus by invoking HAL_I2C_Master_Transmit, the MCU restarts after reaching this line:line 7276 of stm32g4xx_hal_i2c.c/* update CR2 register */MODIFY_REG(hi2c->Instance->CR...