2024-09-06 12:47 AM
Hi, everyone.
I cut the stlink board from my Nucleo-F722ZE board.
And I supplied 5V power through E5V of CN11 And JP3 was set to E5V.
I confirmed that the PWR LED was on.
But the embedded program did not run.
I confirmed that this Nucleo-F722ZE board receives MCO input from the STlink board. But now there is no stlink board on my Nucleo.
So, I decided to use the HSI clock rather than the HSE clock.
I set "HSE not used" according to the manual.
- SB148 and SB163 ON
-SB112 and SB149(MCO) OFF
-SB8 and SB9 removed
And I enabled HSI in cubeIDE's clock setting.
My embedded program on my nucleo runs. But it stops at HAL_Delay().
What part is the problem?
Is the way I did it correct?
Solved! Go to Solution.
2024-09-06 02:17 AM
Thanks,
Just disable USB and all goes fine.
PS: USB needs to use HSE with an external crystal. That's why you are having this message.
2024-09-06 01:48 AM - edited 2024-09-06 01:49 AM
Hello @chulhoolim-nnftech and welcome to the community.
According to the image you shared there is something going wrong in your RCC config. You have an error in the configuration:
What message do you get when you pass the mouse cursor on the red square of HSI selection?
2024-09-06 02:02 AM
Thank you for your reply.
The message is "PLL Mux should have HSE as input"
But My nucleo board doesn't have an input oscillator.
Can't I use that "HSE not used"?
2024-09-06 02:06 AM
Could you please share your ioc file?
2024-09-06 02:14 AM
2024-09-06 02:17 AM
Thanks,
Just disable USB and all goes fine.
PS: USB needs to use HSE with an external crystal. That's why you are having this message.
2024-09-06 02:20 AM
Oh my.
I need USB.
If I use to USB, What do I do?
Is it necessary to connect an external crystal?
2024-09-06 02:22 AM - edited 2024-09-06 02:23 AM
@chulhoolim-nnftech wrote:
If I use to USB, What do I do?
Is it necessary to connect an external crystal?
Indeed, this is what I was saying.
Now, if you disable the USB and run the application, do you get the issue you described in the original post?
2024-09-06 02:25 AM
Ah. I pressed wrong " Accept as Solution" button. Sorry.
Anyway Thank you very much!
2024-09-06 02:27 AM
You can also use the ST-LINK MCO to feed the MCU HSE in Bypass mode but you need to ensure that your ST-LINK output is HSE/X using STSW-LINK007.