cancel
Showing results for 
Search instead for 
Did you mean: 

Tim2 and Tim3

qbarry
Associate II
Posted on April 26, 2009 at 08:39

Tim2 and Tim3

2 REPLIES 2
qbarry
Associate II
Posted on May 17, 2011 at 09:58

Hi

I have a problem, I have set up TIM2 and it runs at a 10mS interval for internal timing. I now want to set up TIM3 to run at a 1 Sec interval, but all I get is an extremely fast interrupt that prevents any other task from executing. My CPU is running at 96MHz. My prescaler is 48-1 and my pulse length is 2500.

Can anyone help me please?

Quentin

joemccarr
Senior
Posted on December 10, 2016 at 19:21

Are you clearing the interrupt flag in the interrupt service routine. If you dont it will just keep interrupting.