I found the library x-cube-smbus, but it is support only the STM32F0 and STM32F3.
And in the example in the file readme.txt it is written that:
"- This example has been tested with STM32F3-Discovery boards and can be
easily tailored to any other supported device and development board."
In the datasheet on STM32F4, it is also said that I2C supports the protocol SMBus v2.0. I still have not seen a single example or a hint that this library is implemented in STM32F4.
I ask anyone who has information on this question to answer:
How things really are? Is it possible to do this?