Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

Problem with timer interrupts

Hi, following code starts the timer (checked with debugger TIM0->CNTR) but does not lead to an interrupt;
using STR711FR2, Keil uVision, ULink2, 16MHz external Clock

RCCU_MCLKConfig(RCCU_DEFAULT);
RCCU_FCLKConfig(RCCU_RCLK_2);
RCCU_PCLKConfig(RCCU_RCLK_8);
RCCU_PLL1Config(RCCU_PLL1_Mul_24, RCCU_Div_4); RCCU_Div2Config(ENABLE);
while (RCCU_FlagStatus(RCCU_PLL1_LOCK) == RESET); RCCU_RCLKSourceConfig(RCCU_PLL1_Output);

/* timer initialization */

/* initialize the TIM0 peripheral */
TIM_Init(TIM0);
/* set internal clock source */
//TIM_ClockSourceConfig(TIM0, TIM_INTERNAL);
/* set prescaler value */
TIM_PrescalerConfig(TIM0, PRESCALER_100_MS);
/* enable the timer overflow, interupt */
TIM_ITConfig(TIM0, TIM_TO_IT, ENABLE);

/* Timer 0 */
/* configure IRQ interruptswith EIC */
/* enable channel */
EIC_IRQChannelConfig(T0TIMI_IRQChannel, ENABLE);
/* set priority for channel */
EIC_IRQChannelPriorityConfig(T0TIMI_IRQChannel , 1);
/* enable interrupts */
EIC_IRQConfig(ENABLE);

expected ISR
void T0TIMI_IRQHandler(void) {...}

Thanks werner