16F88 and external Oscillator


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    Hello all around!
    I tried to put a EAGLE schematic attachment into this and I got the answer "Invalid file". How do I convert an Eagle document? I have to save PBP docs into txt format to post them. Is there anything like for EAGLE ?
    regards
    Mugel

  2. #2
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    In EC mode the clock out on RA6 is FOSC/4, so with 20MHz on CLKI, CLKO will be 5MHz

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    To post the schematic, either make a screen dump and post the image or print/export to .pdf and post that.

    I was going to say exactly what tumbleweed just did so now I won't, but I'll say this:
    Is it an actual oscillator (not a crystal or resonator) then you should be able to drive both PICs directly from the output of the oscillator but check the datasheet for the oscillator, I believe you can use either HS or EC mode for this.

    /Henrik.

  4. #4
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    Hello Henrik,
    Iīll try to get the image. No didnīt work, had 8MB Picture max is 1 MB.

  5. #5
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    Old Farts and Computers,

    here we go...Name:  18F1320+16F88.bmp
Views: 1347
Size:  345.8 KB

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    OK, so it is a proper oscillator.
    Then just drive both PICs directly from it it. The way you have it now the second PIC will run at 1/4 the speed of the first one.

    Use .png instead of .bmp for images like this, much better!

    /Henrik.

  7. #7
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: 16F88 and external Oscillator

    Made several mistakes, killed one 18F1320 donīt know how , destroyed my PICKIT operating system, had to desolder and solder one 18F1320, BIG Mistake in the schematic: I had to use the lower 4 bits of PORTA and these begin at PORTA0 not PORTA1 . Put a resistor between 74HC14 and RB1 otherwise the PIC may be grilled.
    Changed config:
    #CONFIG
    CONFIG OSC = HS ;Clock out on RA6 :1/1 CLKI
    #ENDCONFIG
    now the second PIC gets the same frequency out of the first PIC. Checked it with a scope.

    Hardware seems to work (if nothing else is grilled) and I can jump into software.Name:  TESTBOARD1.png
Views: 1318
Size:  445.7 KBName:  TESTBOARD2.png
Views: 1370
Size:  463.9 KB

Similar Threads

  1. 20MHZ External Oscillator Settings
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 27th October 2011, 01:44
  2. how to configure external oscillator
    By itsssyam in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2011, 12:15
  3. A question on defining the external oscillator
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2009, 14:31
  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 oscillator and startup
    By RussMartin in forum General
    Replies: 4
    Last Post: - 17th March 2007, 01: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