This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A question about timer configuration

Hi all,
I am relatively new to the ARM family and I didn't find an answer in the documentation, unfortunately...
I am trying to change the interrupt rate of my STR7's timer 0. I have an 16[Mhz] external oscillator. Could you explain to me why the following setting generates an interrupt every 130[ms]?

// Initialize the Timer
TIM_Init (TIM0);
// Configure Timer 0 Prescaler
TIM_PrescalerConfig (TIM0,0x0F);
// Enable Timer 0 Overflow Interrupt
TIM_ITConfig(TIM0,TIM_TO_IT,ENABLE);

0