I am using STM32F401RB controller. Iam using external oscillator of 8MHz. The HSE and PLL mode is used. When i try to run the program, it hangs and no output. When I configure the internal oscillator it works fine. Please let me the solution for this.
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...