cancel
Showing results for 
Search instead for 
Did you mean: 

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

mridul_xalten
Associate II

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. 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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);

View solution in original post

8 REPLIES 8
LCE
Principal

> 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
ST Employee

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

@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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

Thanks for the info!

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

@mƎALLEm  

Frankly, I don't have that information but VOS0 came after in rev V and it was not available in older die revisions like rev Y which have maximum CPU freq at 400MHz at VOS1.

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

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?

aniruddh
Associate

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

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);