Adjusting PWM frequency


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Thumbs up Thanks a lot

    It's very clear now.

    Thanks for your explanations.
    Roger

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    It's very clear now.
    Thanks for your explanations.
    It's a bit confusing...
    The FREQ of the PWM can only be (X) and you might not be able to set it to (X+1) because the 'setter' of the FREQ is a divisor of Fosc. The duty cycle of that particular frequency of the PWM can be practically anything.
    There are other ways to get an exact PWM frequency with an exact duty cycle at that exact frequency...but they go quite a bit further than a standard PIC.

Similar Threads

  1. SLA battery charging with PWM but which frequency
    By showtime in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 13th June 2017, 11:41
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  4. PWM - Dutycycle affecting frequency?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 18th May 2007, 09:32
  5. inaccurate frequency using TMR1 PI18F452
    By nkarpovich in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 14th October 2006, 16:22

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts