cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 6.9.1/ STM32H743ZI / Clock Configuration issue

Mz.1
Associate III

Hi,

I'm using STM32H743ZI with STM32CubeMX 6.9.1.

I used to work with an really old STM32CubeMX , and I decided to move to the latest version of both IDE and MX

so I had to configure the IOC file from scratch manually - since migrate wasn't possible (too old)

I copied the same configuration like the old IOC file , and the same for the clock configuration - but in the clock configuration I saw an issue - I can set the SPI123 to <=200 MHz while the max size is 480 MHz

so I searched online and saw few solutions that didn't work such as:

https://community.st.com/t5/stm32cubemx-mcu/stmh743zi2-cubemx-clock-setup-max-frequency-not-allowed/m-p/148775

https://community.st.com/t5/stm32cubemx-mcu/cubemx-stm32h753iikx-clock-configuration/m-p/98576#M2796

this is my clock configuration:

Mz1_0-1693818711958.png

also my RCC configuration:

Mz1_1-1693818734941.png

pls I need your help 🙂

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Foued_KH
ST Employee

Hello @Mz.1

The maximum allowed SPI frequency : 
VOS 0 : 200MHz
VOS 1 : 200MHz
VOS 2 : 150MHz
VOS 3 : 100MHz

Foued_KH_0-1693834290308.png

 

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

5 REPLIES 5
Foued_KH
ST Employee

Hello @Mz.1 , 

You can refer to this article : How to reach 480MHz for STM32H7xx MCUs ? - STMicroelectronics Community

Hope it helps!
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.

@Foued_KH - thank you for your answer!!!

I did checked the datasheet and the errata and the print screens in the link you sent.

tried to do the same but still same issue.

if you'll see in the images I sent above - it happens only in the SPI123 so maybe it's different issue? I don't know
it worked with the old STM32CubeMX so it's version related for sure.

this is the device info:
ST-LINK SN : 003D00263438511734313939
ST-LINK FW : V3J12M3
Board : NUCLEO-H743ZI
Voltage : 3.28V
SWD freq : 8000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x450
Revision ID : Rev V
Device name : STM32H7xx
Flash size : 2 MBytes
Device type : MCU
Device CPU : Cortex-M7
BL Version : 0x90



thanks

 

Foued_KH
ST Employee

Hello @Mz.1

The maximum allowed SPI frequency : 
VOS 0 : 200MHz
VOS 1 : 200MHz
VOS 2 : 150MHz
VOS 3 : 100MHz

Foued_KH_0-1693834290308.png

 

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.

@Foued_KH - thanks for the answer but this is odd...

when I used an old version of STM32CubeMX (6.5.0) I could set up the SPI123 clock up tp 480 MHz.. or it wasn't actually true?

Hello @Mz.1 , 

I think the problem is fixed in the new STM32CubeMx version 

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.