2024-12-10 04:06 AM
Hello,
I am working on stm32h7s78-dk board and I m running a simple LED toggle code in while loop. So, the MCU is getting stuck and my LED is blinking continuously. So, anyone has any solution for this please give your inputs on this.
Thanks,
2024-12-10 05:41 AM
Hello @harshpanchal_6 ,
Did you get stuck in the HAL_Delay() ? Make sure the delay is not too long.
Also, check the clock settings and systicks if correctly handled. Then, erase your board and try again.
If you still need some getting started resources, I suggest you refer to this ST wiki page: STM32StepByStep:Step2 Blink LED - stm32mcu
2024-12-10 07:56 AM
Hello,
This is confusing statement:
I m running a simple LED toggle code in while loop. So, the MCU is getting stuck and my LED is blinking continuously.
You need to toggle a LED in while loop (I assume endless loop) but your problem is that your LED is getting toggled continuously?! Could you please clarify that point?