AnsweredAssumed Answered

TIMER (Duty and OCActive)

Question asked by siqueira.erisson on Jul 11, 2012
Latest reply on Jul 13, 2012 by siqueira.erisson
Hi,

I would like to know why in TIM_OCMode_PWM1, I can calculate the frequency
'Duty cicle'

                        TIM_CLK / (TIM_Period + 1)                36MHz/(999+1)
 Frequencia  =  --------------------------------    Logo, ------------------ = 18KHz
                                (TIM_Prescaler + 1)                               (1+1)

(see attached file)

And in TIM_OCMode_Timing the period was set with 65535???? 'OCActive'
(see attached file)

Attachments

Outcomes