2023-09-04 02:15 AM - edited 2023-09-04 02:16 AM
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:
also my RCC configuration:
pls I need your help :)
thanks
Solved! Go to Solution.
2023-09-04 06:31 AM - edited 2023-09-04 06:33 AM
Hello @Mz.1,
The maximum allowed SPI frequency :
VOS 0 : 200MHz
VOS 1 : 200MHz
VOS 2 : 150MHz
VOS 3 : 100MHz
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.
2023-09-04 02:37 AM
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.
2023-09-04 04:21 AM
@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
2023-09-04 06:31 AM - edited 2023-09-04 06:33 AM
Hello @Mz.1,
The maximum allowed SPI frequency :
VOS 0 : 200MHz
VOS 1 : 200MHz
VOS 2 : 150MHz
VOS 3 : 100MHz
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.
2023-09-04 12:13 PM - edited 2023-09-04 12:47 PM
@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?
2023-09-05 01:37 AM
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.