Hi,
In the PWM properties channel selector only 8 channels are listed, but there are 12 available on this device.
Regards,
Martin.
dsPIC33EP512GM710 missing PWM channels
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: dsPIC33EP512GM710 missing PWM channels
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 55
- Joined: Mon Apr 06, 2015 6:30 pm
- Has thanked: 20 times
- Been thanked: 22 times
Re: dsPIC33EP512GM710 missing PWM channels
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.
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.