Thanks for the help on this. For some reason I am not getting the=20 PICLIST in my email now but saw on the archives that some have replied.=20 The main problem was as someone suggested I wasn't setting the source=20 for Timer2 . Also for the benefit of others there is an error in the=20 datasheet RxyPPS for PWM10 shows as 011110 when I found it should be=20 01110 . I notified Microchip of the error. Now I am having trouble with=20 the duty cycle registers. For some reason whenever I set bits 6 or 7 in=20 PWMxDCL the PWM output goes to 100% This should be the LSBs of the 10=20 bit duty cycle register. PWMxDCH works as expected. Below is my=20 initialization code and an example when PWM output goes high. Any=20 thoughts whats up here? LATA=3D0; TRISA=3D0xFF; PWM10CON=3D0x00; T2PR=3D0x52; // period register PWM9DCL =3D 0x00; PWM9DCH =3D 0x00; PIR1bits.TMR2IF =3D 0; T2CLKCON=3D0b00000010; // osc/4 internal T2CON =3D 0x00; T2CON=3D0b10100000; // prescale 4 timer on while (!PIR1bits.TMR2IF); TRISA=3D0xF0; RA3PPS=3D0b00011100; ; PWM10CON =3D 0x80; PWM10DCH=3D 0x25; // Using these 2 lines the duty cycle is as expected PWM10DCL=3D0x00; PWM10DCH=3D 0x25; // Using these 2 lines the duty cycle is 100% PWM10DCL=3D0xC0; Jim --=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 .