Crystal Signal? Where is it???


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Post

    Hi Netjammer,

    I think that I misunderstood your question. I thought that the problem was that your program would not execute.
    Are you trying to messure directly on the crystal?

    Regards
    Sharky
    *Let's do it*

  2. #2
    Join Date
    Oct 2004
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Sharky
    Hi Netjammer,

    I think that I misunderstood your question. I thought that the problem was that your program would not execute.
    Are you trying to messure directly on the crystal?

    Regards
    Sharky
    Hi Sharky,
    I'm measuring on the actual pins (13/14) with an O-scope probe. Please see my latest response, the 16F877 that has the temp code loaded has a clock signal on Pin 14 but not on 13. I'm trying to find the original code that I loaded to see if there is an INCLUDE or DEFINE that causes this.

    Thanks again!
    Netjammer-

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I see in your picture you are using an ATS040 crystal.

    That is an AT Strip Cut type crystal, and may need to have a series resistor.

    See Figure 12-1 in the 877 datasheet.

    Just another possibility,
    Darrel

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    Sharky, When you are probing the osc. pin 13 can you confirm that the code is running? Pin 13 is the osc. input and you could be loading it down with the scope probe. This will stop the crystal from oscillating and the micro pin will look as if there is no activity. Taking the probe off, the oscillator will then start again. Probing the oscillator output pin, There is enough drive to overcome the added capacitance of the probe.

    Dave Purola,
    N8NTA

  5. #5
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Post

    Hi Dave,

    I'm not the one that is trying to messure on pin 13

    Well I agree on that you could stop the oscillator with your scope prope,
    that's why I asked Netjammer if he was messuring directly on the osc pins.

    I don't know the LAB X1 board, but when I read about it, it says that it has a crystal oscillator that can be set to different frequencies.

    So as you say Dave you can not messure directly on the pins when using a crystal and 2 caps hooked up to the PIC because the capacity from the skop prope wil stop the oscillation, but it is possible to messure the output on a "extern" oscillator like the one I think is on the LAB X1 board.

    Puuh, I hope you understand me english, writing is absolut not what I like most!

    Regards
    Sharky
    *Let's do it*

  6. #6
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Netjammer,

    it could also be a problem wit the breadboards capacitance.

    This has been discussed several times on the forum.

    search for "breadboard"
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  7. #7
    Join Date
    Oct 2004
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Hi Everyone, just wanted to say thanks again. I didn't get the crystal work but did use the RC capabilties and the microcontroller worked fine, though at a much slower clock speed. Today I purchased several crystal oscillators ranging from 5, 10, 12, 16MHz. I will give them a try. I'll post my results.

    Thanks again all,
    Netjammer-

Similar Threads

  1. Sharing Crystal with 2 IC's
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th January 2013, 13:33
  2. Replies: 24
    Last Post: - 1st December 2009, 08:01
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  4. 20 Mhz Crystal, simple blinking LED
    By BenjaminsShinob in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th October 2007, 05:06
  5. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36

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