Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Zebryk; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    3,103

    Re: 125KHz HW PWM Output

    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
  2. Replies
    9
    Views
    3,103

    Re: 125KHz HW PWM Output

    Ioannis,

    Thanks for the feedback!

    I have been using the attached calculator from Mister E.

    9245
    ...
  3. Replies
    9
    Views
    3,103

    Re: 125KHz HW PWM Output

    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 =...
  4. Replies
    9
    Views
    3,103

    125KHz HW PWM Output

    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...
Results 1 to 4 of 4