Hi,
That implies one needs to set the Duty Cycle to 80 to get a 4uS On / 4uS Off square wave?
(This does not make sense to me.)
Thanks,
Jay Zebryk
Type: Posts; User: Zebryk; Keyword(s):
Hi,
That implies one needs to set the Duty Cycle to 80 to get a 4uS On / 4uS Off square wave?
(This does not make sense to me.)
Thanks,
Jay Zebryk
Ioannis,
Thanks for the feedback!
I have been using the attached calculator from Mister E.
9245
...
I found this:
https://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html
Which produces this:
PR2 = 0b00001001 ;
T2CON = 0b00000101 ;
CCPR1L = 0b00000100 ;
CCP1CON =...
Greetings!
Having problems generating a clean 50% duty cycle hardware PWM @125KHz using a PIC16F628 with a 20MHz crystal.
The below is from a 2002 Microchip AppNote: (Which specified a 16F628 in...