lpcware

PWM ISR Firing only once

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by abhavi on Thu Apr 17 10:42:50 MST 2014
Hi

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 see on the scope prperly thePWM4 output

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

Best Regards
Anand

Original Attachment has been moved to: PWM.c.zip

Original Attachment has been moved to: blinky.c.zip

Outcomes