HPWM limit is as stated in your manual. To reach higher frequency, you need to write the PWM register manually. Use PICMultiCalc to find PR2 and Timer Prescaller value, then plug the DutyCycle values in CCP1CON and CCPR1L registers... double check your datasheet to confirm.
PicMultiCalc download
http://www.picbasic.co.uk/forum/atta...7&d=1225550328





Bookmarks