Page 1 of 1

dsPIC33EP512GM710 missing PWM channels

Posted: Mon Jan 07, 2019 3:21 pm
by lexicon
Hi,

In the PWM properties channel selector only 8 channels are listed, but there are 12 available on this device.

Regards,
Martin.

Re: dsPIC33EP512GM710 missing PWM channels

Posted: Mon Jan 07, 2019 5:18 pm
by Benj
Hi Martin,

Our PWM outputs are based on the OC (output compare) peripherals and not the high speed PWM peripherals.

Mainly because they are far more stable from device to device and across the entire range.

If you need more PWM channels then you can access the high speed PWM registers directly by using C code icons.

Re: dsPIC33EP512GM710 missing PWM channels

Posted: Tue Jan 08, 2019 11:21 am
by lexicon
OK, thanks Ben.
You have actually told me that before - memory's getting carp these days!

The thing that threw me about this is that the datasheet only mentions the 12 high speed PWM channels. It doesn't say the OC modules also have a PWM mode.
Only when you read the OC control register info does it become apparent that you have another 8 'simple' PWM outputs as well.


Regards,
Martin.