Question
STM32L4P5G-DK Clock Config Error
When I try to run code using the default clock settings sometimes I get an error at the line:
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
I'm confused because sometimes I get an error here and sometimes I do not and nothing changes in the code. I have attached my clock configuration below.

