Skip to main content
Asantos
Associate III
October 21, 2020
Solved

STM32H723 STM32CubeMX Clock Configuration

  • October 21, 2020
  • 4 replies
  • 2504 views

Hi,

STM32CubeMX allows to configure STM32H743 SYSCLK to 400MHZ, D1CPRE Prescaler to /2 and HPRE Prescaler to /1. (CPU CLK = 200MHZ and HCLK = 200MHZ)

But this configuration is not allowed for the STM32H723. The HCLK box turns red and shows a message that HCLK clock must be <= 150MHZ. But HCKL max = 275MHZ for the H723.

Is this a limitation of the STM32H723 or is it a STM32CubeMX bug?

This topic has been closed for replies.
Best answer by Khouloud OTHMAN

Linked below you will find a corrected .ioc.

4 replies

Khouloud OTHMAN
Associate
October 21, 2020

Hello Asantos,

Could you please share your .ioc file for further check ?

Regards,

Khouloud.

Asantos
AsantosAuthor
Associate III
October 21, 2020

Khouloud,

ioc file in attachment. This same configuration is allowed for the H743.

Khouloud OTHMAN
Associate
October 22, 2020

Hello Asantos,

This issue is due to wrong value of Power Regulator Voltage Scale. Actually if you go back to the Pinout & Configuration view and select RCC from the component list, in RCC Configuration Panel, the Power parameter is set to Power Regulator Voltage scale 2 which isn't correct since HCLK clock frequency exceeds 150 MHz. Please refer to STM32H723xE/G Data Sheet :

0693W0000058zXCQAY.pngIf you select Power Regulator Voltage scale 1, the issue will no longer appear.

Regards,

Khouloud.

Khouloud OTHMAN
Khouloud OTHMANBest answer
Associate
October 22, 2020

Linked below you will find a corrected .ioc.

Asantos
AsantosAuthor
Associate III
October 22, 2020

Khouloud,

Thanks. This solve my issue.

Khouloud OTHMAN
Associate
October 22, 2020

Please select my post as Best is answered your question, so that thread is marked as solved.

Thanks.