And that appears to be a hard task - most MCUs as I've checked from datasheet, have "synchronised" PWM outputs, which mostly mirror each other, and also they all run same frequency....
And that appears to be a hard task - most MCUs as I've checked from datasheet, have "synchronised" PWM outputs, which mostly mirror each other, and also they all run same frequency....
Take look at SPWM from DT. Or better MIBAM.
Mike, that means a PIC should have different CCPxCON registers. As many as the different channels, so the user can define the duty of each independently.
For example, the 16F887 has two and 16F1939 has four CCPxCON registers.
Ioannis
Last edited by Ioannis; - 21st January 2020 at 16:04. Reason: typo
Bookmarks