Maverickmax
Advanced Member level 1
Hi
I have been reading the data sheet regarding the PWM duty cycle and Im not entirely 100 percent sure about it because I could not calculated the value of maximum duty cycle in order to determine (1F) 25% duty cycle.
The detail of code c an be found in page 14-14 from this link:
https://ww1.microchip.com/downloads/en/DeviceDoc/31014a.pdf
I would appreicate someone explain me how to calculate the PWM duty cycle at the 78.125kHz.
Regards
MM
PS If the 25% duty cycle is used, the value should be 3F instead of IF?
Cuz the maximum resolution is 8 bits??
I have been reading the data sheet regarding the PWM duty cycle and Im not entirely 100 percent sure about it because I could not calculated the value of maximum duty cycle in order to determine (1F) 25% duty cycle.
The detail of code c an be found in page 14-14 from this link:
https://ww1.microchip.com/downloads/en/DeviceDoc/31014a.pdf
I would appreicate someone explain me how to calculate the PWM duty cycle at the 78.125kHz.
Regards
MM
PS If the 25% duty cycle is used, the value should be 3F instead of IF?
Cuz the maximum resolution is 8 bits??