max_imum2000
New Member
hello
i was reading pic18F4331 datasheet for using power PWM module
i came across this and i dont really understand is it possible.
they say that period is controlled by PTPERL (8bits) and PTPERH(4bits)
and duty cycle is controlled by PDC0L (8bits) and PDC0H (6bits)
if i set all bits to 1
how come the duty cycle is more than the period ? is it possible
and if i set the period to 255 and the duty cycle to 255 will i get the max pwm duty cycle for that period
thanks
i was reading pic18F4331 datasheet for using power PWM module
i came across this and i dont really understand is it possible.
they say that period is controlled by PTPERL (8bits) and PTPERH(4bits)
and duty cycle is controlled by PDC0L (8bits) and PDC0H (6bits)
if i set all bits to 1
how come the duty cycle is more than the period ? is it possible
and if i set the period to 255 and the duty cycle to 255 will i get the max pwm duty cycle for that period
thanks