PWM ISR Firing only once

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PWM ISR Firing only once

1,101件の閲覧回数
lpcware
NXP Employee
NXP Employee
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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

916件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by abhavi on Fri Apr 18 18:06:24 MST 2014
I have cleared the interrpt in ISR as seen in PWM.c file(Attached in first mail)
I suspect any particular.compiler option to be set. I am using ARM GCC compiler set up

Have attached my crt0.s and LD file.Please guide me.
0 件の賞賛
返信

916件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Apr 17 11:09:02 MST 2014
Clear the interrupt?
0 件の賞賛
返信