Question
SystemClock_Config initialization error.
Posted on May 08, 2017 at 07:08
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.PLLSource = RCC_PLLSOURCE_HSE;RCC_OscInitStruct.PLL.PLLM = 25;RCC_OscInitStruct.PLL.PLLN = 360;RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;RCC_OscInitStruct.PLL.PLLQ = 7;