2021-07-08 02:14 AM
Dear ST community,
there seems to be a bug in the latest version of the initialization code creator. I'm using STM32Cube IDE Version: 1.6.1 Build: 9958_20210326_1446 (UTC) with the included STM32CubeMX 6.2.1.20210324. The firmware package is STM32Cube FW_H7 V1.9.0 and the MCU reference is STM32H7A3ZITx. The particular MCU is STM32H7A3ZIT6 (not the Q version with integrated SMPS)
The bug: Every time when creating the code from STM32CubeMX, the supply is configured to use the SMPS instead of the LDO:
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
This flag does not exist and I need to manually correct it to
HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
It only happens since i updated to the latest version of STM32CubeMX.
Does anyone experience the same? I cannot find a relevant setting in the STM32CubeMX GUI.
Solved! Go to Solution.
2021-07-08 03:18 AM
Setting is available under RCC configuration.
2021-07-08 03:18 AM
Setting is available under RCC configuration.
2021-07-08 04:11 AM
Thank you very much! Indeed it is there.