I2C clock configuration issue on STM32F746ZG
I've been working with I2C on STM32s for some time and I noticed an issue while probing my signals with an oscilloscope.
I set my project with CubeMX and usse Atollic TrueStudio as an IDE. Everything works fine. However, I've noticed that the real frequency of I²C is always slightly below the frequency set on CubeMX. I'm using the NucleoF746ZG
For example, if I set the I²C to run at 100 kHz, the real frequency will be around 92 kHz. If I set the I²C to run at 400 kHz, the real frequency would be around 307 kHz, etc.
If I'm probing the clock frequency, it's sharp on 8 MHz, as it should be (MCO coming from ST-Link).
I was working with STM32F4 before and I dont remember having this issue as I've already probed the signals and it was exactly 100 kHz, 400 kHz or 1 MHz.
Is there something I am missing with the clock configuration for this particular peripheral on this MCU ?
