cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G031FX Timer

SGian.1
Senior

Hi there!

i try to configurate TIM14 for generate one interuupt every 1000ms just for try but dosent't work . the frequency is 16Mhz i setup a prescaler 1600-1 and the Counter period 10000, but i diden't receive any interrupt. Before the while i turn on the timer HAL_TIM_Base_Start(&htim14).

Please some one can help me ?

thanks Sergio

1 ACCEPTED SOLUTION

Accepted Solutions
SGian.1
Senior

Hi there !

i fix the problem i need the use HAL_TIM_Base_Start_IT(&htim14).

Thanks Sergio

View solution in original post

2 REPLIES 2
SGian.1
Senior

Hi there !

i fix the problem i need the use HAL_TIM_Base_Start_IT(&htim14).

Thanks Sergio

Imen.D
ST Employee

Hello @SGian.1​ ,

Glad to know the issue has been solved, and thank you for your update.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen