AnsweredAssumed Answered

TimeBase example in stm32f3discovery_fw

Question asked by spiezia.andrea on Oct 17, 2013
Latest reply on Oct 18, 2013 by spiezia.andrea
Hi all,
the TimeBase example in stm32f3discovery_fw reports the next code in main.c file:

CCR1_Val = 40961;
TIM_TimeBaseStructure.TIM_Period = 65535;
TIMx->ARR = TIM_TimeBaseInitStruct->TIM_Period ;

What I really don't understand is the comment reported below: 

CC1 update rate = TIM3 counter clock / CCR1_Val = 1757.77 Hz
==> Toggling frequency = 878.88 Hz

Can someone help me?
Thanks and regards



                                              

Outcomes