External osc defines


Results 1 to 21 of 21

Threaded View

  1. #14
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Try the attached .hex file with your oscillator connected to RA7. This is your code compiled
    with EC oscillator settings I posted previously.

    If it doesn't work I would guess you have a bad PIC, oscillator, or both. Or your programmer
    is not using the config options embedded in the .HEX file.

    This @config_EXTCLK_OSC is not valid, so it does nothing to set EC mode. Whatever config
    options you're getting programmed into the PIC are the defaults in 16F628a.inc. Normally osc
    is set to XT in the defaults. In this mode, OSC2 provides the drive for an external crystal circuit
    like the one shown in first diagram on the link you posted.
    Attached Files Attached Files
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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. Replies: 1
    Last Post: - 28th January 2010, 22:15
  3. 18F1320 with external osc
    By Mugelpower in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th February 2008, 22:32
  4. How to use an external oscillator
    By Mugelpower in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th February 2008, 14:19
  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 : 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