cancel
Showing results for 
Search instead for 
Did you mean: 

AN4776 questions?

SWenn.1
Senior III

These questions are wrt to synchronization section 2 AN4776 and CubeMX settings:

When a timers input is selected as ITR0 and trigger/reset/gated mode is selected such that the timer is a slave....

Is the clock of this timer it's own internal clock or does the clock drive for the slave clock come from the master? (AppNote 4013 under section 3.3 seems to suggest that only External Clock 1 uses an external source for clocking the slave timer and that all other selections are derived from the slaves own clock)

ST seems careless in throwing the word External around wrt to Timers.....Does this mean External to the chip or External to the slave timer module??

In CubeMX if I set up a timer to run in slave mode using ITR0 and something OTHER than External Clock Mode 1 what happens if I do NOT check the box for internal clock???

1 REPLY 1
FBL
ST Employee

Hello @SWenn.1​,

Would you please specify the STM32 product? Please, provide more details of the use case application so that we can help you.

As described in AN4013, the slave timer can be configured to use the master timer's clock as its clock source. For example, when using one timer as prescaler for another timer, you can check examples provided such as TIM_ExtTriggerSynchro

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.