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
-
BenR
- Matrix Staff
- Posts: 2305
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 637 times
- Been thanked: 847 times
- 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