external clock / internal clock


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2005
    Location
    down south
    Posts
    90

    Default external clock / internal clock

    I'm trying to go from using the internal clock to using a external clock
    on a 16f676 using MCS/PBP /MPASM not sure what all I need to do

    thinking I replace _INTRC_OSC_NOCLKOUT with this _XT_OSC
    and do I still need to DEFINE OSC 4
    thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Yep, DEFINE what ever speed the external is running at.

    Could be XT or HS.

    What are you going to use for the external?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2005
    Location
    down south
    Posts
    90


    Did you find this post helpful? Yes | No

    Default

    thanks
    I'm adding a 4 mhz crystal
    I'm trying to do some PIC to PC comm. using DEBUG.
    Melanie's Communications Example : PC to PIC bi-directional dialogue
    and with the internal I was having the problem she talked about hoping the external will solve it

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    If you are using one with built in capacitors use HS.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2005
    Location
    down south
    Posts
    90


    Did you find this post helpful? Yes | No

    Default

    thanks again
    I used ext caps so I guess that would be XT

Similar Threads

  1. Internal vs. external osc for comms
    By mtripoli in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th January 2010, 14:58
  2. Data Out From External Clock
    By Quin in forum Serial
    Replies: 2
    Last Post: - 25th October 2008, 09:11
  3. Setting up internal clock correctly?
    By JohnM in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th March 2008, 20:29
  4. 16F688 Internal clock and MCLR
    By manxman in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th August 2007, 18:38
  5. External clock
    By Firegod in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2007, 00:53

Members who have read this thread : 1

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