cancel
Showing results for 
Search instead for 
Did you mean: 

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?

Nsg1987
Senior
 
1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

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.

View solution in original post

2 REPLIES 2
Sarra.S
ST Employee

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
Senior

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?