2017-05-07 10:08 PM
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;2017-05-08 02:03 AM
Hi,
Could you please share your .ioc file and precise which CubeMx version are you using ?
Thanks
Imen
2017-05-08 06:03 AM
Hi,
I am using keil-5 IDE. Sorry I should have mentioned it prior. Let me know if you need to provide some extra information.
2017-05-28 09:52 PM
Hi, Sorry for the delayed reply. I used STM32 cube to generate the code and a simple blinky program seems to work without any problem. I would like to thank you all for your support.