2025-09-17 8:45 PM
I have enable the hfmpi2c1 in STM32CubeMX tools, but I can find the
2025-09-18 6:16 AM
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/+.