wrong HAL_Delay()
hey there
I have a PCB which has a STM32F030C8T6 and a 11.0592MHz crystal on it.
the thing is that when I enable HSE and try to toggle a pin every 500ms it takes way longer than expected, here is the code
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
HAL_GPIO_TogglePin(LED1_GPIO_Port,LED1_Pin);
HAL_Delay(500);
/* USER CODE END 3 */
}pretty simple right? but way wrong results.
but as I set the clock to be HSI 8MHz(inner clock) everything works just fine and crisp!
I have also enabled CSS for clock security but in HSE case I dont see right results. why is that?
