Question
Watchdog reset while changing CLock frequency
Posted on October 14, 2015 at 16:13
I have configured my stm32f427 microcontroller, Sysclk to run in a clock frequency of 60mhz(HSI and PLL). I have reduced it to 16mhz (Sysclk directly from HSI). While executing this code watchdog resets.
Below mentioned the code I have used to change the clock frequency.RCC_HSICmd(ENABLE);
while(RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET); RCC_HCLKConfig(RCC_SYSCLK_Div1); /* Configure HCLK same as SYSCLK */ RCC_PCLK1Config(RCC_HCLK_Div2); RCC_PCLK2Config(RCC_HCLK_Div2);Please help me in solving in this issue.Thanks in Advance