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

Trouble with clock configuration

Hello,
When I feed TIM0 with PCLK, I do get interrupts upon overflow, as required. But, I want to feed to clock with MSTR (master clock) so I did the following:

SCU_TIMCLKSourceConfig(SCU_TIM01, SCU_TIMCLK_EXT) ;
.
.
.
TIM0->CR1 = 0x8001 ; // enable counter, external source to allow a larger prescale

With this setup, I do not get timer overflow interrupts (note: changing 0x8001 to 0x8000 makes it all work as the timer is clocked by PCLK).

Where am I wrong?

0