Skip to main content
Visitor II
July 31, 2025
Solved

A problem about the I2C Fast mode plus of STM32H750VBT6

  • July 31, 2025
  • 1 reply
  • 282 views
I configured SYSCLK to 480 MHz and set the I2C1 peripheral clock frequency to 120 MHz. For I2C1's timing settings, I selected Fast Mode Plus (1 MHz) and applied the timing register value 0x0050174F, the setting about maximum output speed of SDA and SCL are Very High.However, when observing the I2C1_SCL line with a logic analyzer, the actual output clock frequency is only 890 kHz.
    This topic has been closed for replies.
    Best answer by TDK

    I2C clock speed is not a guarantee. It has to wait for edges to happen, so the actual clock you get is not exact like it is with SPI. This is expected and unavoidable.

    1 reply

    PKB404Author
    Visitor II
    July 31, 2025

    I tested this with 1 , 1.2 kΩ, and 2.2 kΩ pull-up resistors, but the SCL frequency remained unchanged at 890 kHz. Has anyone encountered this issue? Any insights would be appreciated.

    TDKAnswer
    Super User
    July 31, 2025

    I2C clock speed is not a guarantee. It has to wait for edges to happen, so the actual clock you get is not exact like it is with SPI. This is expected and unavoidable.