AnsweredAssumed Answered

Timer Interrupt for 1ms

Question asked by verma.ruchi on Mar 30, 2015
Latest reply on Mar 31, 2015 by Clive One
I am using STM32F207 VG controller for my learning.I have few following doubts.

I want to use timer for up counting.Timer clock is set to 36 MHz.I want to generate timer interrupt for every 1 ms.
With what values i need to set up "TIM_TimeBaseInit" funstions.I mean to ask what should be the value of following parameters.
uint16_t TIM_Prescaler;        
  uint32_t TIM_Period;      
  uint16_t TIM_ClockDivision;    
  uint8_t TIM_RepetitionCounter;


Thanks in advance :) !!!

Outcomes