16F887 20Mhz External Clock Problems


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Thanks Joe & Skimask

    I almost always prototype my designs piece by piece on solderless breadboards. That is probably why I am getting dodgy results with fast resonators.

    If the solderless version does not work I am most reluctant to build a pcb on the wish that it might with a better layout. I also use a couple of general purpose boards like those from OLIMEX and my own designs but these all have crystals.

    thanks
    BrianT

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


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Some idea here ???


    4.6 Clock Switching
    The system clock source can be switched between
    external and internal clock sources via software using
    the System Clock Select (SCS) bit of the OSCCON
    register.
    4.6.1 SYSTEM CLOCK SELECT (SCS) BIT
    The System Clock Select (SCS) bit of the OSCCON
    register selects the system clock source that is used for
    the CPU and peripherals.
    • When the SCS bit of the OSCCON register = 0,
    the system clock source is determined by
    configuration of the FOSC<2:0> bits in the
    Configuration Word Register 1 (CONFIG1).
    • When the SCS bit of the OSCCON register = 1,
    the system clock source is chosen by the internal
    oscillator frequency selected by the IRCF<2:0>
    bits of the OSCCON register. After a Reset, the
    SCS bit of the OSCCON register is always
    cleared
    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 " !!!
    *****************************************

Similar Threads

  1. Data Out From External Clock
    By Quin in forum Serial
    Replies: 2
    Last Post: - 25th October 2008, 10:11
  2. external clock / internal clock
    By grounded in forum General
    Replies: 4
    Last Post: - 31st May 2008, 18:44
  3. Problems with driving external EEPROM M24256
    By Kristjan in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 10th February 2008, 12:34
  4. External clock
    By Firegod in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2007, 01:53
  5. How to set external clock source in PBP
    By TurboLS in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 19th February 2005, 16:56

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