Skip to main content
Asantos
Associate III
Oct 21, 2020 12:53 AM UTC
Solved

STM32H723 STM32CubeMX Clock Configuration

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.
Khouloud OTHMAN
Khouloud OTHMANBest answer
Associate
Oct 22, 2020 9:35 AM UTC

Linked below you will find a corrected .ioc.

6 replies

Khouloud OTHMAN
Associate
Oct 21, 2020 10:53 AM UTC

Hello Asantos,

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

Regards,

Khouloud.

Asantos
AsantosAuthor
Associate III
Oct 21, 2020 9:46 PM UTC

Khouloud,

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

Khouloud OTHMAN
Associate
Oct 22, 2020 9:32 AM UTC

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
Oct 22, 2020 9:35 AM UTC

Linked below you will find a corrected .ioc.

Asantos
AsantosAuthor
Associate III
Oct 22, 2020 12:31 PM UTC

Khouloud,

Thanks. This solve my issue.

Khouloud OTHMAN
Associate
Oct 22, 2020 1:12 PM UTC

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

Thanks.