AnsweredAssumed Answered

STM32F030F4P6 Enter in standby mode without SysTick

Question asked by service47.service47 on Feb 24, 2016
When disable:
//if (SysTick_Config(SystemCoreClock/2000-1))
//{ while(1){;} }
Then STM32 entering and exiting in standby mode. When not disable previous code, then STM32 do not enter in standby mode.
When enable previous code and disable SysTick timer before enter in standby mode:
SysTick->LOAD=0x00000000;
SysTick->CTRL=0x00000000; 
SysTick->VAL=0x00000000; 
SysTick->CTRL &= ~(SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk | SysTick_CLKSource_HCLK | SysTick_CLKSource_HCLK_Div8);
//NVIC_SetPriority(SysTick_IRQn, 0);
NVIC_DisableIRQ(SysTick_IRQn);
Then STM32 do not enter in standby mode. How STM32 enter in standby mode with disabled SysTick timer before enter in standby mode?

Outcomes