cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H723 STM32CubeMX Clock Configuration

Asantos
Senior

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Linked below you will find a corrected .ioc.

View solution in original post

6 REPLIES 6

Hello Asantos,

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

Regards,

Khouloud.

Asantos
Senior

Khouloud,

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

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.

Linked below you will find a corrected .ioc.

Asantos
Senior

Khouloud,

Thanks. This solve my issue.

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

Thanks.