I'm using STM32u575ZI-Q Hardfault is triggering in debug mode when it hits a breakpoint. I'm facing this on implementing IWDG. May I know what might be the issue and resolution?
Here is my code for IWDGLL_IWDG_EnableWriteAccess(IWDG); // Set the prescaler value of 8 to the IWDG LL_IWDG_SetPrescaler(IWDG, LL_IWDG_PRESCALER_8); // Specify the IWDG down-counter reload value LL_IWDG_SetReloadCounter(IWDG, 2000); ...