2020-01-23 09:33 PM
CubeMX 5.5.0
STM32Cube_FW_F7_V1.15.0
STM32F767IG
Assert Failed: FILE - ../Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c, LINE - 602
RCC_OscInitStruct.PLL.PLLR is not assigned a value, therefore = 0, which fails above assert
Adding following code resolves issue
/* CUBEMX BUG FIX
* PLLR not initialized to a valid value
* PLLR >=2 && <= 7
* Initialize to 2 (reset value)
*/
RCC_OscInitStruct.PLL.PLLR = 2;
Andy
2020-01-24 07:36 AM
Hello @svcguy
Could you please send me your .ioc file to check the issue .
Regards,
Nesrine
2020-01-24 02:29 PM
2020-02-03 02:02 AM
Hello @svcguy
You have to check if it's being used by a device. If not, it should be grayed out.
Best regards,
Nesrine
2020-02-03 06:34 AM
Correct, it should be greyed out on this device as it doesn’t have DSI, but the clock config code that it generates still fails an assert without a way for the user to change it every time the code is regenerated.