Guys I have used the PWM module & I have some basic knowledge.
I'm working according to below formulas.
PWM period = [(PR2) + 1] • 4 • TOSC • (TMR2 prescale value)
PWM duty cycle = (DCxB9 : DCxB0 bits value) • Tosc • (TMR2 prescale value)
My question is datasheet says when you go for higher PWM frequency you must decrease the resolution so I cannot use full 10 bits resolution.
Why is that?
I'm working according to below formulas.
PWM period = [(PR2) + 1] • 4 • TOSC • (TMR2 prescale value)
PWM duty cycle = (DCxB9 : DCxB0 bits value) • Tosc • (TMR2 prescale value)
My question is datasheet says when you go for higher PWM frequency you must decrease the resolution so I cannot use full 10 bits resolution.
Why is that?