Skip to main content
SGian.1
Associate III
March 19, 2022
Solved

STM32G031FX Timer

  • March 19, 2022
  • 2 replies
  • 649 views

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

This topic has been closed for replies.
Best answer by SGian.1

Hi there !

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

Thanks Sergio

2 replies

SGian.1
SGian.1AuthorBest answer
Associate III
March 19, 2022

Hi there !

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

Thanks Sergio

Technical Moderator
March 22, 2022

Hello @SGian.1​ ,

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

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks