2021-11-10 12:43 PM
I'm using CubeMX 6.3.0 with a STM32H755 micro. The cube mx generated code assumes a HAL_PWREx_ConfigSupply( ) setting that is not correct for my hardware. Is there a place to configure this setting? I notice PWR is setup under Power and Thermal but it doesn't look like there is a spot to pick SMPS or LDO there.
My hardware requires it set to HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY) and this is very important. When set for SMPS, which my hardware doesn't support, the core shuts down and not even the JTAG interface is working at that point. There is a work around to do a mass erase to recover but it isn't obvious.
Solved! Go to Solution.
2021-11-10 12:45 PM
The setting is in System Core -> RCC.
2021-11-10 12:45 PM
The setting is in System Core -> RCC.
2021-11-10 12:50 PM
Thank you TDK, that is exactly what I was looking for.