Forum: ARM programming with GCC/GNU tools PWM Timer Interrupt firing only once

Author: Anand Bhavikatti (Company: Self) (abhavikatti)
Posted on:
Attached files:

Rate this post
0 useful
not useful

I have configured LPC2129 to generate PWM4 output (Single edge) at the 
required rate as seen in the code.I have set up a ISR for MR0 register 
reset.I see that Interrupt is firing only once and thereafter no more 
interrupts.I acknowledge the interrupt in ISR

I see on the scope prperly thePWM4 output

Attached is the code.Please tell me why the interrupt is firing only 
once .

Best Regards


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.