STM32G051G6U6 IWDG not refreshing
Hi,
I am facing an issue with IWDG in STM32G051G6U6.
HAL_IWDG_Refresh(&hiwdg); not refreshing IWDG and the core resets after IWDG overflow time.
IWDG overflow is set at 13Sec (varying wrt prescaler) and I am refreshing it at every 1 sec.
Counter prescaler 128, window value 4095, down counter 4095, Core Frq 40Mhz
Only few test program lines are loaded to toggle an led @ 1 Hz with the help of two HAL_Delay (500); gpio toggle followed by HAL_IWDG_Refresh(&hiwdg);
Another problem noticed was, TIM17( APB bus frq 40Mhz) was not running or ISR (NVIC enabled) is not serving when I deactivate IWDG.
I think i missed something else as the same board worked perfectly with all peripherals. Only change I made was Cube IDE update.
