Skip to main content
LSet.1
Associate
May 6, 2021
Solved

If I try to change frequency to 400 MHz then IDE show popup window: "Frequency searched for is out of range for this VOS range".

  • May 6, 2021
  • 11 replies
  • 4907 views

The maximum frequency I can set is 200 MHz.

STM32H743VIT6

CubeIDE 1.6.1

This topic has been closed for replies.
Best answer by MEdgerton

I looked this up and found that changing the RCC setting Power Regulator Voltage scale to 0 fixed this.

It appears to be a new setting in STM32CuveIDE (I started on 1.3.1). It appears to default to the wrng setting..... correct me if this is wrong as there is no documentation, only what I read elsewhere.

Mark

11 replies

TDK
May 6, 2021

You can change it manually. Change DIVN1 to 64 and adjust DxPPREx to respect max timings.

"If you feel a post has answered your question, please click ""Accept as Solution""."
LSet.1
LSet.1Author
Associate
May 7, 2021

Thank you! It's works. It seems to me that in the previous version of IDE these indicators were set automatically.

waclawek.jan
Super User
May 7, 2021

And what is your VOS setting?

JW

LSet.1
LSet.1Author
Associate
May 7, 2021

Sorry I'm a newbie in STM32 and may misunderstand the acronyms. If it's register PWR_D3CR_VOS, then VOS_0 = 1 and VOS_1 = 1.

I have "DevEBox" development board. ST-LINK conntect by SWD mode.

waclawek.jan
Super User
May 7, 2021

And are these values somehow set in CubeMX, too?

Maybe the "Power regulator voltage sc." in the picture you've posted.

I don't use CubeMX.

JW

Tesla DeLorean
Guru
May 7, 2021

DevEBox / WeAct boards here certainly run up to 400-480 MHz when coded in HAL directly.

CubeMX/IDE clock fitter blocking would seem like an app level issue, and missing some settings somewhere.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MEdgerton
MEdgertonBest answer
Associate III
May 8, 2021

I looked this up and found that changing the RCC setting Power Regulator Voltage scale to 0 fixed this.

It appears to be a new setting in STM32CuveIDE (I started on 1.3.1). It appears to default to the wrng setting..... correct me if this is wrong as there is no documentation, only what I read elsewhere.

Mark

LSet.1
LSet.1Author
Associate
May 11, 2021

Yes, it works!

But there is one feature.

The "Power Regulator Voltage" (System Core, RCC) was in "Power Regulator Voltage 1" mode after setting the clock frequency to 400 MHz.

If I change the frequency to 200 MHz, then the Cube automatically calculate the settings. ОК, but it also switch the "Power Regulator Voltage" to "Power Regulator Voltage 3".

Now if I try again to specify the frequency of 400 MHz, then the Cube show popup window: "Frequency searched for is out of range for this VOS range".

If I return the "Power Regulator Voltage" back to "Power Regulator Voltage 1" mode and set the frequency at 400 MHz, then the Cube automatically calculates the settings again.

The Cube did not keep the first setting value "Power Regulator Voltage 1", although it was available for these frequencies.

waclawek.jan
Super User
May 8, 2021

> there is no documentation

The relationship between the VOS setting and maximum frequency is documented in the Datasheet.

JW

torgeirs
Associate
August 30, 2021

For H753 it is documented like this:

3.5.3 Voltage regulator The same voltage regulator supplies the 3 power domains (D1, D2 and D3). D1 and D2 can be independently switched off. Voltage regulator output can be adjusted according to application needs through 6 power supply levels: • Run mode (VOS0 to VOS3) – Scale 0: boosted performance (available only with LDO regulator) – Scale 1: high performance – Scale 2: medium performance and consumption – Scale 3: optimized performance and low-power consumption.

To reach max freq, this MUST be used: Scale 0: boosted performance (available only with LDO regulator)

Mark and JW pointed us to where to set this in CubeMX.

Thank you. I had the same newbee problem