Pls How can I make 16F877A use 15MHz Xtal


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    4


    Did you find this post helpful? Yes | No

    Thumbs up Yes PBP will not compile with DEFINE OSC 15

    T.Jackson,
    Yes not to mislead anyone; I typed 15 loosely here. It could have been 8, 16 20 etc; I simply couldnt get any crystal (8, 20, 16 etct) to work. OF course PBP will not compile with DEFINE OSC 15. But it did compile with the listed frequecies 16MHz, 24MHz etc. However at the time I entered this thread I did not know that PBP wil not work with 15
    However Thanks to the forum I now know better and I am actually using a 24MHz crystal;-)

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Hi Ozzie,

    Now that everything is fine, it is not. This time you need to check the datasheet. You will see that 24MHz is beyond the specified limit of DC-20MHz. You are "overclocking" the PIC and performance is not implied.


    Hi Alain, you quoted skimask's reply from post#4 and then wrote this

    geeeee !!! What a wonderful forum is has become these days ...

    after all these years, I didn't know there was a DEFINE OSC 15 ...

    12 or 16 only available ... too bad !!! ( Manual p. 170 ... )
    for clarification, skimask did not suggest using DEFINE OSC 15, the OP did (post#3). Skimask hinted that the OP might want to check the manual (post#4).

    in otherwords, skimask asked him to fish (post#4), I baited the hook (post#5), and you gave him a fish (post#13).

    EDIT: and I had a little fun with the m M thing along the way (Trent also noted the 20MHz top limit above)
    Last edited by paul borgmeier; - 19th April 2007 at 21:27. Reason: see EDIT:
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  3. #3
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ozzie1st View Post
    T.Jackson,
    Yes not to mislead anyone; I typed 15 loosely here. It could have been 8, 16 20 etc; I simply couldnt get any crystal (8, 20, 16 etct) to work. OF course PBP will not compile with DEFINE OSC 15. But it did compile with the listed frequecies 16MHz, 24MHz etc. However at the time I entered this thread I did not know that PBP wil not work with 15
    However Thanks to the forum I now know better and I am actually using a 24MHz crystal;-)
    I'm unaware of any variant of the 877a that can be clocked as high as 24MHz.
    Last edited by T.Jackson; - 20th April 2007 at 01:22.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    I'm unaware of any variant of the 877a that can be clocked as high as 24MHz.
    Maybe I'll send you my special one that was clocked at 32Mhz for awhile.
    I don't know why it worked, but it did. Would it work under all conditions, using all modules, under all combinations of code? Probably not, but it worked for me.
    (Yes, I know it's a one-off situation and they're only rated for 20Mhz)

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking rocket pics ...

    Hi, Skimask

    ALL the pics I use are "overclocked" to their max. "µChip" freq. ... my old 16F84-04, 16F628-04, 16F876-04, 16F877-04 and else happily run @ 20 mhz.
    32 Mhz is not really surprising nor, I often read about !!!

    this fact is well known, also well known those chips have not being TESTED over the whole voltage, temp. and freq. range !!!

    Just keep in mind those overclocked chips are not guaranteed by µChip ... that's the only point to care with when professionnal use !!!

    May be we also might point out that , these days, "Non Rohs" devices are sold at a really fair price ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by skimask View Post
    Maybe I'll send you my special one that was clocked at 32Mhz for awhile.
    I don't know why it worked, but it did. Would it work under all conditions, using all modules, under all combinations of code? Probably not, but it worked for me.
    (Yes, I know it's a one-off situation and they're only rated for 20Mhz)
    Nah I'll be right. Not in the habit of challenging large teams of professional engineers. The data sheet says 20 - that's as far as I go.

Similar Threads

  1. 16F877A with 20MHz XTAL not working?
    By ustredna in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th August 2011, 15:04
  2. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  3. Clock connection to DS1802 from 16F877A
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd January 2006, 18:52

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