Skip to main content
mridul_xalten
Associate II
February 4, 2025
Solved

Not able to make STM32H745i Disco board running after a modification from SMPS to LDO

  • February 4, 2025
  • 3 replies
  • 988 views

New question from this thread.

So in order to use both SMPS and LDO, given in board schematics,
I mounted SB6 and SB17 (SB44, SB46, L4 already mounted)
and removed SB5 and SB18 (rest already not mounted).

After than i flashed it with keeping the following settings.

mridul_xalten_0-1738672691392.png

Im still getting the same error. 

 

Best answer by mridul_xalten

Thanks,
It was indeed the issue i guess. It is working fine when i chose 

HAL_PWREx_ConfigSupply(PWR_SMPS_2V5_SUPPLIES_LDO); 

/** Configure the main internal regulator output voltage */
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE0);

instead of 

HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY); 

/** Configure the main internal regulator output voltage */
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE0);

3 replies

LCE
Principal II
February 4, 2025

> So basically the HW is configured in SMPS.
> So in order to obtain 480MHz, what changes should i do to the hardware.
> Or is there any way i could do it without changing the hardware?

 

I think the SMPS is there exactly for using the maximum CPU speed of 480 MHz, because usually at fmax the power consumption is the highest, and the SMPS should have lower loss and thus heat generation than the internal LDO.

So my guess: after using the LDO the MCU is getting warmer than with SMPS.

mƎALLEm
Technical Moderator
February 4, 2025

@LCE wrote:

I think the SMPS is there exactly for using the maximum CPU speed of 480 MHz,


No. SMPS is not available in VOS0 (maximum 480Mhz). See this thread.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
LCE
Principal II
February 4, 2025

Thanks for the info!

Very interesting, why's that so? Any internal interference between SMPS and CPU at that clock rate?

@mƎALLEm  

mƎALLEm
Technical Moderator
February 4, 2025

Check the VCORE voltage.

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Visitor II
February 5, 2025

Iam facing the same problem as the OP, Could you please elaborate further on measurement of Vcore and or any other things i should be wary of?

Visitor II
February 5, 2025

The issue was resolved when the supply source was changed from LDO only to LDO and SMPS.

mridul_xalten
mridul_xaltenAuthorBest answer
Associate II
February 5, 2025

Thanks,
It was indeed the issue i guess. It is working fine when i chose 

HAL_PWREx_ConfigSupply(PWR_SMPS_2V5_SUPPLIES_LDO); 

/** Configure the main internal regulator output voltage */
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE0);

instead of 

HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY); 

/** Configure the main internal regulator output voltage */
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE0);