Page 1 of 1

CCP8 Why can't compile HEX file in dspic33FJ32MC204!

Posted: Wed Feb 27, 2013 12:48 pm
by nnnnff
CCP8 Why can't compile HEX file in dspic33FJ32MC204!Please help me.
Flowcode1.fcf_pic16
(8 KiB) Downloaded 209 times

Re: CCP8 Why can't compile HEX file in dspic33FJ32MC204!

Posted: Wed Feb 27, 2013 3:49 pm
by Benj
Hello,

From the datasheet there are only two standard PWM channels on this device not eight. I will update the FCD file so that it reduces the available count from 8 to 2.

Compiling with any channel set other then 1 or 2 causes the same compilation errors because the required CCP (capture compare) registers are not there on the device.

Would software PWM based on a timer interrupt be any good to you?