angiey
Junior Member level 1
Hello all,
I'm using LPC1115 controller and getting PWM signal at PIO1_9
by varying prescaler register and keeping the values constant of MR3,
so I had set a time and pulses generated continuously and stopped within that time,
and for this I used a delay loop within this loop the pulses generated
randomly.
But the problem is, I need to use a 16bit IRQ handler in the code,
and within this function I need to pass the PWM generation and stop
it for the specific count with the time set.
But the 16bit IRQ is not invoking in my current code, how to check whether
IRQ is invoked or not?? and how to set/count the PWM pulses[say 500 to
1000 pulses] and stop it within the set time using interrupt handler.
Kindly give some suggestion on this.
I'm using LPC1115 controller and getting PWM signal at PIO1_9
by varying prescaler register and keeping the values constant of MR3,
so I had set a time and pulses generated continuously and stopped within that time,
and for this I used a delay loop within this loop the pulses generated
randomly.
But the problem is, I need to use a 16bit IRQ handler in the code,
and within this function I need to pass the PWM generation and stop
it for the specific count with the time set.
But the 16bit IRQ is not invoking in my current code, how to check whether
IRQ is invoked or not?? and how to set/count the PWM pulses[say 500 to
1000 pulses] and stop it within the set time using interrupt handler.
Kindly give some suggestion on this.