How to setup internal regulator with CubeMX on STM32H755
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
Power
-
STM32CubeMX
-
STM32H7 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-10 12:45 PM
The setting is in System Core -> RCC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-10 12:45 PM
The setting is in System Core -> RCC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-10 12:50 PM
Thank you TDK, that is exactly what I was looking for.
