AnsweredAssumed Answered

TIMx become slow when enable ULP (STM32L071RB)

Question asked by dz huang on May 31, 2018
Latest reply on Jun 1, 2018 by dz huang

My current project using STM32L071RB chip, and now encounter a strange issue, when I enable PWR_CR ULP bit thr "HAL_PWREx_EnableUltraLowPower()", the systick (Using TIM2 as timebase) become slow. and if I disable ULP bit, systick will be back to normal.  


following is my power method, before enter STOP mode, I will call this method, and after wake-up from STOP, the HAL_getTick() will become very slow.


static void SystemPower_Config(void)
/* Enable Power Control clock */
/* Enable Ultra low power mode */
/* Select HSI as system clock source after Wake Up from Stop mode */


Don't know the root-cause.