2025-03-06 12:28 AM - last edited on 2025-03-06 3:57 AM by mƎALLEm
Hi,
am new to STM32 and i am trying to configurate my Nucleo but i don't understand my problem i am trying to setup a basic blink code with the basic structure (serial port communication with putty , debugger stlinkv3 and communication between cores but i can manage to ger it right thank you for any help or advises)
my problem is i cant manage to setup a basic ioc files configuration for my stm32h755zi-q in the stmcubeide 1.18 i have a basic blink code using both core that work but when i try to setup whit other clock parameters configuration i cant manage to start the program (stlink v3 on the bord look like i cant connect)
Solved! Go to Solution.
2025-03-06 12:41 AM - edited 2025-03-06 2:07 AM
Hello,
In your project you set the HSE in Crystal/Ceramic Resonator
While it should be set in Bypass mode:
With Input frequency set to 8MHz:
From the schematics, there is no external crystal mounted on the board:
And the frequency is generated by the STLINK MCO.
See this article.
Attached a project where the two LEDs green and red are toggling. Each led is toggling with a core.
Hope that helps.
2025-03-06 12:41 AM - edited 2025-03-06 2:07 AM
Hello,
In your project you set the HSE in Crystal/Ceramic Resonator
While it should be set in Bypass mode:
With Input frequency set to 8MHz:
From the schematics, there is no external crystal mounted on the board:
And the frequency is generated by the STLINK MCO.
See this article.
Attached a project where the two LEDs green and red are toggling. Each led is toggling with a core.
Hope that helps.
2025-03-06 1:04 AM
thank you for your help i am still new to this
i made the changes in the ioc like you told me
i change some multipliers to get 400mhz , 200 and 100
but i get this error when i try to start for infos i use the configs from
" Getting started with projects based on dual-core STM32H7 microcontrollers
in STM32CubeIDE"
i get this error now like last time
2025-03-06 1:41 AM - edited 2025-03-06 1:46 AM
i think my problem come from this i am trying on hse 8.33 if this work i will "Accept as Solution" in your reply if it works
thank you
edit
i change the mco output
and got this error
2025-03-06 2:08 AM
Just updated my previous post to attach a project where the two LEDs green and red are toggling. Each led is toggling with a core.
Hope that helps.
2025-03-06 2:45 AM
thank you for the program this help a lot
do i use the good stlink config?
do i use this
or this configuration?
also do i use your config or the one provided by :
" Getting started with projects based on dual-core STM32H7 microcontrollers
in STM32CubeIDE"
thank you for your help and time
2025-03-06 3:01 AM
You need to use this configuration for this board as we set the input frequency in CubeMx to 8Mhz:
Meanwhile, in your case and to not complicate the things, as an external clock source is not needed (for example CAN or USB usage), you are just toggling a LED, so you can simply use HSI with PLL:
Hope that helps
2025-03-06 3:05 AM
Hello,
There is no HSE crystal on the Nucleo except if you have soldered one.
So just use the default configuration for STLink default configuration as said above => MCO output = HSI/2.
Double core is a bit tricky when you begin. As a first step, try to get your application work with the default configuration as indicated in the application note.
Best regards
2025-03-06 3:13 AM
thank you for your informations i am trying to setup a good clock that will be use in my project to generate clocks and signals for a CCD sensors as well as gathering data in real live. i am trying to setep the microcontrolers in the best seteup before ading the timers and gpio
2025-03-06 3:16 AM
Hello @William133467 ,
Did you test my project?
Did you succeed the toggling?