16 bit PWM using CCP1


Results 1 to 40 of 61

Threaded View

  1. #10
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    PIC18F2331/2431/4331/4431:

    FOSC 40 MHz
    MIPS 10
    PWM Resolution 14 bits
    PWM Frequency 2.4 kHz

    14 bit to slow for CD quality music.
    10 bit sounds good though.

    A dsPIC would be ideal.

    On my first post my code included saving the state of the critical registers.
    Would this be required in a longer program?

    Norm
    Last edited by Normnet; - 14th December 2009 at 05:57.

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  3. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  4. How to tell which PICs can handle 16 bit variables?
    By MikeTamu in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st August 2005, 08:44
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 2

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