cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot set the maximum CPU frequency for STM32H743ZIT to 480 MHz

HA87
Associate III

Hi,

I have migrated an old project of mine based on STM32H743ZIT MCU from

STM32CubeIDE v1.5.1 to v1.11.0. When I opened the IOC configuration, the clock configuration showed an error stating that I could not set the CPU clock to a value greater than 200 MHz despite the MCU supporting 480 MHz. This exact configuration worked on CubeIDE 1.5.1 The error that I get is:

D1CPRE clock must be <= 200 MHz

Here is a snapshot of my clock configuration.

0693W00000Y8BLHQA3.png 

So I started another empty project based on STM32H743ZIT MCU in Cube IDE 1.11.0 to test if this issue is due to the migration of the project, however, I found that I still have the same error there. I searched ST Community and I found some people have reported the same problem/bug:

https://community.st.com/s/question/0D53W00000hPphXSAS/stmh743zi2-cubemx-clock-setup-max-frequency-not-allowed

https://community.st.com/s/question/0D53W00001B11UhSAJ/stm32hz-mx-clock-configuration-480mhz

Based on the discussion in the previous questions, the solution to their problem was to change the VOS value in the RCC Power Estimation which I do not have in my configuration. Here is a snapshot of what I see:

0693W00000Y8BL7QAN.png 

So is there a bug in the latest CubeIDE? How can I solve this issue or shall just ignore it and make CubeMX generate the code?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

For the STM32H743 , we have 3 revision ( Screenshot from Eratta sheet)

0693W00000Y8BccQAF.png 

Use silicon revision V devices to reach a maximum frequency of 480 MHz.

For revision Y :

CSI Calibration Value 16

HSI Calibration Value 32

For revision V :

CSI Calibration Value 32

HSI Calibration Value 64

Foued

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

6 REPLIES 6
Foued_KH
ST Employee

Hello @HA87​ ,

Please check this link ,you have the same issue as reported.

Foued

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.

HA87
Associate III

@KHALSI_Foued​ Thanks for your fast reply. Indeed, I see the clock error disappears with the solution that you provided in the link.

One question, when I changed the HW revision from rev Y to rev. V. I see that CSI and HSI calibration values have changed to these values:

CSI Calibration Value 32

HSI Calibration Value 64

In the old STM project, they used to be as follows:

CSI Calibration Value 16

HSI Calibration Value 32

So which one should I choose?

Regards,

The CSI and HSI Calibration Value depending on Product revision

Foued

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.

Yes, in principle those values are product revision dependent. However, this revision option was not available in the older version of STM32, and the values were 16 and 32. But now to bypass this bug, I had to choose rev V and these calibration values changed automatically. So the confusion that I have did the old STM32 CubeIDE to consider that there is only one revision and it is V? Or choosing this revision is just a workaround for this bug?

For the STM32H743 , we have 3 revision ( Screenshot from Eratta sheet)

0693W00000Y8BccQAF.png 

Use silicon revision V devices to reach a maximum frequency of 480 MHz.

For revision Y :

CSI Calibration Value 16

HSI Calibration Value 32

For revision V :

CSI Calibration Value 32

HSI Calibration Value 64

Foued

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.

So in the MX configurator, I now see that after setting up a H743 project its necessary to go to Pinout & Configuration, RCC then set the revision of the chip being used has to be set to Product rev. Rev. V, and the the CSI and HSI values!  That really needs to be highlighted or promoted when creating a project!  Even better if it was in the Clock configuration section too, or at least a warning!