Why does RCC_APB1ENR:TIM2_EN get cleared in Stop Mode when DBGMCU is set?
We noticed that our TIM2 did not count after our STM32L152 went to Stop Mode and woke up again.When we analyzed the problem, we found that our debug probe set DBGMCU to DBG_STANDBY | DBG_STOP | DBG_SLEEP. When we power cycled the µC or set DBGMCU to ...