eblc1388
Active Member
I can't understand how the 5.5 bit resolution result in the image is calculated.
For PR2=0x17, that's 10111 in binary. Adding the two bits in CCP1CON to the right results in 1011111, which is the max possible value for duty cycle.
Therefore the possible value of duty cycle ranges from 0 to 1011111. But why is this 5.5 bit resolution?
For PR2=0x17, that's 10111 in binary. Adding the two bits in CCP1CON to the right results in 1011111, which is the max possible value for duty cycle.
Therefore the possible value of duty cycle ranges from 0 to 1011111. But why is this 5.5 bit resolution?