So that means directly writing to the correct ports might do what I want? I didn't start testing yet. I did purchase an LED 3 channel 8-bit PWM driver to try (TLC59731DR). I thought it was SPI, but it isn't, and It also controls duty cycle. There are plenty of external devices available that look like they might work, but I'll wait until after I rule out the 16F1938 as an option.

Thanks

Quote Originally Posted by HenrikOlsson View Post
That's a very valid point, one that I totally missed when reading Jims initial post, sorry about that!

That limitation comes from the fact that the CCP module(s) are (historically) tied to the same timebase so they need to have the same output frequency. Thankfully things have changed over the years and the CCP modules on the 16F1938 can individually be assigned any of TMR2/TMR4/TMR6 as their timebase. It does however mean that HPWM is out (at least I Think it is) and you'll need to setup the CCP modules manually.

/Henrik.