cancel
Showing results for 
Search instead for 
Did you mean: 

Can't change HAL timer source from SysTick to TIM

Ranjitha
Associate II

Ranjitha_0-1779779373400.png

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?

3 REPLIES 3
mƎALLEm
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Ranjitha
Associate II

IMAGE:1 Screenshot 2026-05-27 105143.png

IMAGE 2: Screenshot 2026-05-27 104333.png

Thank you for your response.

However, the reply is not related to my question.

I have attached two images:

  1. Before enabling the timer

  2. 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.


@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 Screenshot 2026-05-27 105143.png

IMAGE 2: Screenshot 2026-05-27 104333.png

 


 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.