cancel
Showing results for 
Search instead for 
Did you mean: 

Missing SCALE3 for Power Regulator V scale in CubeMX for STM32H730

MRick.2
Associate II

In the manual RM0468 for the STM32H730 say that the reg "PWR_D3CR" bits "VOS" has

00: Scale 0

01: Scale 3 (default)

10: Scale 2

11: Scale 1

Also in the code defines in "stm32h7xx_hal_pwr.h"

#define PWR_REGULATOR_VOLTAGE_SCALE0 (0U)

#define PWR_REGULATOR_VOLTAGE_SCALE1 (PWR_D3CR_VOS_1 | PWR_D3CR_VOS_0)

#define PWR_REGULATOR_VOLTAGE_SCALE2 (PWR_D3CR_VOS_1)

#define PWR_REGULATOR_VOLTAGE_SCALE3 (PWR_D3CR_VOS_0)

But in CubeMX Version "6.6.1" Lib version "1.10.0"

Only Scale 0,1,2 is selectebel. Se image

1 ACCEPTED SOLUTION

Accepted Solutions
Aziz BRIGUI
ST Employee

Hello @MRick.2​,

To enable VOS3 on an STM32H730, the core frequency Fcpu must be at most 170 MHz. I suppose that in your STM32CubeMX project, the core frequency is in the interval ]170MHz, 300MHz].

For further details, I suggest you refer to DS13315 page 108.

I hope you find this helpful !

Aziz


In order 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.

View solution in original post

1 REPLY 1
Aziz BRIGUI
ST Employee

Hello @MRick.2​,

To enable VOS3 on an STM32H730, the core frequency Fcpu must be at most 170 MHz. I suppose that in your STM32CubeMX project, the core frequency is in the interval ]170MHz, 300MHz].

For further details, I suggest you refer to DS13315 page 108.

I hope you find this helpful !

Aziz


In order 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.