CCP8 Why can't compile HEX file in dspic33FJ32MC204!
Moderator: Benj
-
- Posts: 107
- Joined: Tue Oct 04, 2011 8:55 am
- Has thanked: 3 times
- Been thanked: 6 times
- Contact:
CCP8 Why can't compile HEX file in dspic33FJ32MC204!
CCP8 Why can't compile HEX file in dspic33FJ32MC204!Please help me.
- 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: CCP8 Why can't compile HEX file in dspic33FJ32MC204!
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?
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?
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