I have seen the following formula for dpsic30f4011 formula for PDC duty cycle resolution calculation. What is the significance of this formula? Why should i do this calculation. I am asking this as i want to arrive the value from PTPER period register which is simple i assume. Do I need to do this calculation? please suggest. Another doubt i have is suppose if i want pwm frequency of 1KHz. The formula is Fcy/Fpwm - 1, so it is 20Mhz/1k -1 = 19999 PTPER value. So every count value corresponds to 0.05 Hz?