I am working with LPC2136 I am getting PWM o/P from PWM5 with following setting PINSEL1 |= 0x00000400;//EnableP0.21 PWMPR =0;//each pclk cycl incriment PWM_TC PWMPCR =0x0; //single edge mode. PWMPCR |=0x2000;//PWMENA5 enabled. PWMMCR =0x0002;//PWM_TC will be reset if PWM_MR0 matches it. PWMMR0 = 11719;//3M/11719 =256hz PWMMR5 = 5859; // PWM_MR0/2 PWMLER = 0x21; //new MR0 & MR5 values will be effective PWMTCR =0x02;//TC & PC reset PWMTCR =0x09;// Countre enable & PWM enable. But i could not get PWM 4 out put with following setting Can any one help on . am i missing any thing.. I cant find the usage of PWMEMR PINSEL0 &= 0x00018000; // Enable pwm4 PINSEL0 |= 0x00010000; // Enable P0.8 PMW4 PWMPR =0;//each pclk cycl incriment PWM_TC PWMPCR =0x0;//single edge mode. PWMPCR |=0x1000;//PWMENA4 enabled. PWMMCR =0x0000;//PWM_TC will be reset if PWM_MR0 matches it. PWMMR0 = 11719; //3M/11719 =256hz PWMMR4 = 5859; // PWMMR0/2 PWMLER = 0x0011;//new MR0 & MR4 values will be effective PWMTCR =0x02;//TC & PC reset PWMTCR = 0x09;// Countre enable & PWM enable. Any one help on this? Best Regards K.murale