Skip to main content
Nsg1987
Associate III
May 22, 2023
Solved

I am working on STM32G474. I want to synchronize timer 1 and timer 2. But the frequency of timer 1 is 1 kHz whereas, timer 2 is 2 kHz. How to synchronize both the timers?

  • May 22, 2023
  • 2 replies
  • 1050 views

..

This topic has been closed for replies.
Best answer by Sarra.S

Hello @Nsg1987​,

Please check AN4776 paragraph 6.1

Also there is an example in STM32Cube package following this path : Examples\TIM\TIM_CascadeSynchro,\TIM_ExtTriggerSynchro\TIM_Synchronization

and \TIM_ParallelSynchro

I hope that helps!

2 replies

Sarra.SBest answer
ST Employee
May 22, 2023

Hello @Nsg1987​,

Please check AN4776 paragraph 6.1

Also there is an example in STM32Cube package following this path : Examples\TIM\TIM_CascadeSynchro,\TIM_ExtTriggerSynchro\TIM_Synchronization

and \TIM_ParallelSynchro

I hope that helps!

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.
Nsg1987
Nsg1987Author
Associate III
May 23, 2023

Thanks Sarra.

The example gave idea about the same. But facing issue when Timer2 operates at 800 Hz and Timer 3 at 100 Hz. Output of Timer 3 remains high.

Is there any way to achive this?