It appears T3CON which at first glance appears to be concerned with TMR3 but T3CCP bits determin the clock sources for all the CCP/ECCP modules. Hmmm On 05/01/2015 5:49 PM, "Justin Richards" wrote: > I have this working well on PIC16F887 but now I am trying to run it > on PIC18F67J60 (PIC-MICRO-WEB). > > I am using TMR2 interrupt to update the CCP4 module. > > PR2 =3D255 > PR4 =3D 99 > > Debugging appears to shows that the duty cycle is dependant on CCPR4L and > PR2. > > The manual implies PR4 and CCPR4L determine the duty cycle. > > If I set PR2 to 99 and CCPR4L to 100 i get full power but TMR2 interrupts > too often. PR4 seems to have nil effect. > > As always I am clearly doing something wrong but I am baffled > > Currently lost 2 of the 3 phases (40+ degree day so lots of aircons > running in the hood) so debugging has ground to a halt. > Justin > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .