This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using timer as PWM in LPC1768!

Dear all,
The number of PWM signals I want to use in my project is more than what LPC1768 generally has (6PWM + 3MCPWM). This is where I think I should use timers to generate PWM pulses. Since the frequency is so high, I cannot use timer interrupts to do my job.
I tried to use external match registers, but it gives me a square signal (duty cycle cannot be changed.) the problem is that on each MATn.m, only one bit of EMR works.
Is there any way I can generate PWM signals whith variable duty cycle (frequency is constant)using timer unit?

thanks in advance for helping

0