AnsweredAssumed Answered

PWM in LPC2378

Question asked by Vivek John on Apr 8, 2019
Latest reply on Apr 9, 2019 by Vivek John

I have a custom board designed based on LPC2378. I want to use the PWM module with 6 single edged PWM outputs. I am able to generate the PWM waveforms. However, the PWM program is free running now i.e it starts and then runs continuously. I want to have control to start, stop, & restart/reset PWM based on some other triggers like software/hardware interrupt, matching some conditions in the code etc. 
I want to know how to start the PWM when some event occurs.
I want to know how to stop the PWM when some event occurs. (before the MR0 value matches)
i want to know how to restart the PWM counter when some event occurs.

Outcomes