2Mhz oscillator not allowed?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    41

    Default 2Mhz oscillator not allowed?

    Like the subject says, does PBP3 not allow for 2Mhz oscillator speeds? I found one post from 2006 claiming this. I have a 16F722A set for 2Mhz but trying to compile anything gives this error
    Code:
    Error[101]   C:\PBP3\PBPPIC14.LIB 104 : ERROR: (Invalid OSC Define.)
    Error[113]   C:\PBP3\PBPPIC14.LIB 6350 : Symbol not previously defined (PAUSEUSL)

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,610


    Did you find this post helpful? Yes | No

    Default Re: 2Mhz oscillator not allowed?

    I'll just quote the manual:
    There are a limited number of valid numbers that can be used: 3 (3.58MHz), 4, 8, 10, 12, 16, 20, 24, 25, 32, 33, 40, 48, 64. These are the only frequencies for which PBP is able to accurately calibrate its timing. If you use a system clock that runs at a frequency that isn't listed here, your timing will be scaled when the program executes.
    That's pretty clear to me.

    /Henrik.

Similar Threads

  1. Trying to generate 2MHz PWM with PIC18F25K22
    By TimHeff in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2012, 05:08
  2. How many volts/amps are allowed outside?
    By The Master in forum Off Topic
    Replies: 4
    Last Post: - 26th April 2009, 22:47
  3. Using PIC16F88 oscillator as oscillator for other ICs
    By Torael_7 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 30th March 2008, 12:58
  4. RC Oscillator
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd September 2007, 19:27
  5. Holidays Allowed Here ???
    By Acetronics2 in forum Forum Requests
    Replies: 2
    Last Post: - 21st September 2006, 18:57

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