I am trying to toggle the GPIO port 8 with:
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_SET);
HAL_Delay(1000);
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_RESET);
When I debug the application I can see, that the HAL_Delay
does not work. I'm not sure if I missed a configuration option in the STM32CubeIDE to enable the SysTick.
Does anyone use STM32CubeIDE and can give me a hint?
HAL_Delay
does not work" is not much of a problem description. Does your code get stuck inHAL_Delay
, or does it appear to simply skip overHAL_Delay
? \$\endgroup\$