2022-02-04 05:10 AM
This is my first time working with STM32H7B3IIT6 MCU. I wanted to make a led blink application, but the program is HAL_Delay(); it goes into an infinite loop and doesn't exit.
2022-02-04 05:15 AM
Like you didn't start SysTick, or other interrupt source, or you're blocking in an interrupt or callback.
Check HAL_Init()
2022-02-04 05:23 AM
I did not set any other parameters. No interrupts or other code. The program hangs at the following place.
2022-02-04 05:26 AM
I am uploading same code to STM32H7B3LIH6QU mcu. It's working. All settings are the same.
2022-02-04 06:38 AM
There aren't any issues with the code you presented. Unlikely that the code you've linked is hanging. There is no complicated or blocking logic within there. My guess is you're stuck in an IRQ which prevents the main loop from making progress.
2022-02-04 06:49 AM
I am not using any IRQ. I am using it with default settings. It works fine with STM32H7B3LIH6QU MCU.
2022-03-07 11:11 AM
If you are using FreeRTOS HAL_Delay(); not works. Use osDelay(200) instead