AnsweredAssumed Answered

STM32CubeF7 assertion bug (with fix)

Question asked by Lanconelli.Claudio on Oct 30, 2015
Latest reply on Nov 4, 2015 by Nesrine M
Hi,
I think the line 2577 of Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_rcc_ex.h should be:

#define IS_RCC_PLLSAIP_VALUE(VALUE) ((VALUE) == RCC_PLLSAIP_DIV2) || (VALUE) == RCC_PLLSAIP_DIV4 || (VALUE) == RCC_PLLSAIP_DIV6 || (VALUE) == RCC_PLLSAIP_DIV8)

instead of

#define IS_RCC_PLLSAIP_VALUE(VALUE) ((2 <= (VALUE)) && ((VALUE) <= 8))

Outcomes