2020-12-10 06:38 PM
I'm using the STM32H743 and the it will not allow me to choose fast mode for a 400kHz clock speed. Is that a bug in the IDE?
Solved! Go to Solution.
2020-12-10 07:12 PM
The reference manual lists max SMBus frequency as 100kHz so CubeMX is probably just respecting that.
This presentation says it works at higher speeds:
So probably if you changed the clock initialization manually it would work. But it's not going to work with HAL due to this define:
#define IS_SMBUS_CLOCK_SPEED(SPEED) (((SPEED) > 0U) && ((SPEED) <= 100000U))
2020-12-10 07:12 PM
The reference manual lists max SMBus frequency as 100kHz so CubeMX is probably just respecting that.
This presentation says it works at higher speeds:
So probably if you changed the clock initialization manually it would work. But it's not going to work with HAL due to this define:
#define IS_SMBUS_CLOCK_SPEED(SPEED) (((SPEED) > 0U) && ((SPEED) <= 100000U))