User Activity

After entering in Stop mode 2, it wakes up by RTC or EXTI2 using those functions:   __HAL_RCC_RTCAPB_CLKAM_ENABLE(); HAL_SuspendTick(); HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI); SystemClock_Config(); HAL_ResumeTick();   When I load the program w...