Skip to main content
MRick.2
Associate II
Sep 27, 2022 12:43 PM UTC
Solved

Missing SCALE3 for Power Regulator V scale in CubeMX for STM32H730

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

This topic has been closed for replies.
Aziz BRIGUI
Aziz BRIGUIBest answer
ST Technical Moderator
Sep 27, 2022 1:40 PM UTC

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.

1 reply

Aziz BRIGUI
Aziz BRIGUIBest answer
ST Technical Moderator
Sep 27, 2022 1:40 PM UTC

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.