Question
There is an error in the HAL_I2C_MspInit() function generated by CubeMX.
I2C did not work, so I was looking for the cause, and found that there was a missing part in the HAL_I2C_MspInit() function of the stm32f1xx_hal_msp.c file automatically generated by CubeMX, unlike the previous version.
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
If I insert the above code, it works normally.
Below is the version information.
CubeMX V6.3.0
MCU Package STM32F1 Series V1.8.4
MCU STM32F103C6Tx
