Is there anyway to put the pwm outputs out of phase. E.g. if I'm using two pwm pins and want a 50% duty cycle on each, then is there a way to set it up so that the first pwm pin is on for the first 50% of the period and the 2nd pwm pin on for the last 50% of the period?
Look through the user guide of LPC1768, it's possible, but my brains hasn't got enough coffee, to see a clear solution. Possibly something with double edge something... Goodnight brains!
I tried a small program last night, and from what i learned, it wasn't possible to create the phase "misplacing" simple. But I will continue, and succeed! Will return with answers later.
Lerche
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Is there anyway to put the pwm outputs out of phase. E.g. if I'm using two pwm pins and want a 50% duty cycle on each, then is there a way to set it up so that the first pwm pin is on for the first 50% of the period and the 2nd pwm pin on for the last 50% of the period?