AnsweredAssumed Answered

SystemClock_Config initialization error.

Question asked by p.shravan on May 8, 2017
Latest reply on May 29, 2017 by p.shravan

Hello all,

After flash/erase of my custom board(STM32F429ZET6), I have a weird behavior of a simple blinky code not working, when I checked with the code I found that control is lost in this following line of stm32f4xx_hal_rcc.c file. 

/* Get Start Tick*/
tickstart = HAL_GetTick();


Where HAL_GetTick() returns system ticks value.


My PPL configurations are as follows and I have used 25MHz crystal (HSE)


/*Initializes the CPU, AHB and APB busses clocks*/

RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLM = 25;
RCC_OscInitStruct.PLL.PLLN = 360;
RCC_OscInitStruct.PLL.PLLQ = 7;