Skip to main content
Pavel A.
December 22, 2020
Solved

I2C speed mode is defined only by timing?

  • December 22, 2020
  • 3 replies
  • 931 views

When I2C "Speed mode" changes in CubeMX/IDE from Standard to Fast, it seems that only the Init.Timing value changes in generated code.

This value goes into TIMINGR register of the I2C .

Am I missing anything or this value defines the "speed mode" entirely?

That's, the "speed mode" exists only in the Cube's GUI?

The chip is STM32H743/753

Thanks,

Pavel A

This topic has been closed for replies.
Best answer by Piranha

In addition the SYSCFG_PMCR register has I2CxFMP and PBxFMP bits for Fast-mode plus (Fm+).

3 replies

waclawek.jan
Super User
December 22, 2020

> Am I missing anything or this value defines the "speed mode" entirely?

I2C Fast -mode is defined in chapter 5.1 of the I2C specification.

JW

Pavel A.
Pavel A.Author
December 23, 2020

Yes, in the RM there are no other register bits related to the "speed mode", only the TIMINGR value.

-- pa

Piranha
PiranhaBest answer
Principal III
December 24, 2020

In addition the SYSCFG_PMCR register has I2CxFMP and PBxFMP bits for Fast-mode plus (Fm+).