How to setup hfmpi2c1 using STM32F446
I have enable the hfmpi2c1 in STM32CubeMX tools, but I can find the



I have enable the hfmpi2c1 in STM32CubeMX tools, but I can find the



Hello and welcome to the ST community,
I didn't really understood the issue.
I just generated a code with the latest CubeMx version 6.15.0 with I2C in Fast mode + and FMPI2C_HandleTypeDef is defined.
In the main, this is what I get:
/* Private variables ---------------------------------------------------------*/
FMPI2C_HandleTypeDef hfmpi2c1;
If I compile the project I don't have any error.
This is my configuration:

For your last question, I didn't really understand the meaning! Do you mean the number of instances available on that device? if yes, this information is available in the datasheet:

4xI2C instances are available on that device, only I2C1 features Fast mode/+.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.