Pls How can I make 16F877A use 15MHz Xtal


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Las Vegas, Nevada, USA
    Posts
    27


    Did you find this post helpful? Yes | No

    Default 15MHz on 16F877A

    No need to edit your INC file. Just add a line of assembler to your program:

    @ DEVICE HS_OSC

    Then add a line of PIC Basic:

    DEFINE OSC 20

    I don't believe Pic Basic Pro can use 15MHz properly. See page 170 of Compiler manual: "The acceptable oscillator definitions are: . . . 12, 16, 20 . . ." If you use "DEFINE OSC 15", I believe PIC Basic will default to 4MHz, but then you have changed "DEVICE XT_OSC" to "DEVICE HS_OSC", so it may not work at all.

  2. #2
    Join Date
    Jul 2006
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    Hey, what's wrong with "condensers," I always thought it made sense...just cram (condense) those little electrons in there until no more will fit. ;-)

    As for "resonators," the more I learn about "resonance," the more methinks the numbers have a "little" something to do with harmonics. I'll stick with what the design specs state.

    Got a few laughs from this thread.


    Chris Helvey

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


    Did you find this post helpful? Yes | No

    Talking

    Hi, Chris

    a Condenser is something generally used to change physical phase ( from gas state to liquid state ... see how to make bad Whisky or alcohol ... i.e ... or how your climate works).

    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 " !!!
    *****************************************

  4. #4
    Join Date
    Jul 2006
    Posts
    36


    Did you find this post helpful? Yes | No

    Wink

    I was being tongue and cheek, of course. But really, there is a part on my air conditioner full of Freon that must be 10,000uF! It runs hot though...

Similar Threads

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