Skip to main content
qbarry
Associate II
April 26, 2009
Question

Tim2 and Tim3

  • April 26, 2009
  • 2 replies
  • 807 views
Posted on April 26, 2009 at 08:39

Tim2 and Tim3

This topic has been closed for replies.

2 replies

qbarry
qbarryAuthor
Associate II
May 17, 2011
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
Associate III
December 10, 2016
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.