Using CubeIDE code breaks with HAL_Delay() at uwTick on HAL_GetTick
I'm using a custom board with a STM32L431RCT6 MCU and I need to activate the Ultra Low Power modes on it. I'm trying to use HAL_Delay before HAL_PWR_EnterSTANDBYMODE() and that's where the code breaks. Does anyone have any sugestion on how to fix the problem?
I'm a beginner using CubeIDE and using microcontrollers in general.
