2021-11-02 04:42 AM
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
2021-11-02 07:02 AM
Hello,
could you please share the .ioc file ?
2021-11-02 07:26 AM
2021-11-02 07:49 AM
Thank you,
Ticket entered.
Internal ticket number: 116845 (PS: This is an internal tracking number and is not accessible or usable by customers)
2021-11-02 02:03 PM
Is it required to specify the speed of alternate function pins for modern STM32s too, or only for F1?