Hello,
does anybody know the usage of CCP1(PWM) modul in PIC16F876?
I have some problems, which I can not solve by myself.
1. I can reach frequency 100Hz on channel 1 only by 455KHZ resonator (HPWM pin,var,850). Does it exist some software solution (i.e. with timer settings by 4 MHZ clock)?
2. I would like to synhronize beginning of PWM pulse with outside frequency 50 HZ. Can CCP modul be activated with outside pin (INT)? I have tried to set register CCP1CON=11, but times of activation were not constant.
Can anybody explain all other settings for HPWM?
Thank you for your help in advance.
Samo, Slovenia
Bookmarks