I have called the three functions as: HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); HAL_GPIO_WritePin(GPIOC, GPIO_PIN_6, GPIO_PIN_SET);when debugging it either jumps to hard fault or hangs.The SystemClock_Config() is as follows:void Syste...
I have checked with HSE enable and PLL disabled state. This state gives me the 8MHz output when checked on the scope.The PLL doesn't work with internal oscillator too.Please provide the solution.
Thanks for the reply.I have tried your solution but facing the problem as:While using the debugger it jumps to HardFault_Handler from the funtion "HAL_RCC_GetSysClockFreq".Hence the HSE with PLL doesn't work.I have checked the external oscillator whi...