Hi All.
PWM on PIC16F1938 has some issue if I adjust the duty cycle on Channel 1 then the duty cycle on Channel 2 changes
the pins in the properties correspond correctly Channel 1 RC2 and Channel 2 is RC1 .
Wrong PWM adjust
- p.erasmus
- Posts: 434
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
-
- Matrix Staff
- Posts: 1940
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 506 times
- Been thanked: 688 times
Re: Wrong PWM adjust
Hello,
Please can you post the program and I'll investigate this for you.
Please can you post the program and I'll investigate this for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Wrong PWM adjust
HI Ben
Here is the FC chart in my opinion CCP1 is Channel 1 and CCP2 is Channel 2 setting Channel 2 Channel one DC changes even on Hardware
Chip pins is CCP1 = RC2 and CCP2 = RC1
Thanks for helping out
Here is the FC chart in my opinion CCP1 is Channel 1 and CCP2 is Channel 2 setting Channel 2 Channel one DC changes even on Hardware
Chip pins is CCP1 = RC2 and CCP2 = RC1
Thanks for helping out
Regards Peter - QME Electronics