2026-05-26 12:14 AM - last edited on 2026-05-26 2:24 AM by Andrew Neil
I am not able to set the HAL timer source from SysTick to TIM configuration in STM32CubeIDE.
I checked the configuration, but the option is not getting updated properly. Could you please help me with the correct way to configure the timer-based time source?
2026-05-26 2:18 AM - edited 2026-05-26 2:18 AM
Hello,
It seems you are using an old version of CubeIDE as the MCU configuration is no more available in CubeIDE but with CubeMx.
Please refer to STM32CubeIDE 2.0.0 workflow tutorial
So please use CubeMx tool as a starting point.
2026-05-26 10:28 PM
IMAGE:1
IMAGE 2:
Thank you for your response.
However, the reply is not related to my question.
I have attached two images:
Before enabling the timer
After enabling the timer
Before enabling the timer, only SysTick is available in the Time Base Source option, which indicates that no timer is enabled.
My question was regarding the HAL time source configuration. To set the HAL time source to any timer, the corresponding timer must be enabled first. Only after enabling the timer configuration will it be available for selection as the time source.
2026-06-01 3:18 AM - edited 2026-06-01 4:12 AM
@Ranjitha wrote:
However, the reply is not related to my question.
It does as we are no more supporting old versions of CubeIDE. The latest version is CubeIDE 2.1.1.
So the question here: are the below screen shots you shared are taken from the standelone CubeMx tool or from an old version of CubeIDE?
@Ranjitha wrote:
IMAGE:1
IMAGE 2:
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.