Generation problem


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    28


    Did you find this post helpful? Yes | No

    Default

    Have you got your oscillator mode set right? I think it is HS for crystal..don't have my documaentation in front of me but I have had trouble with forgetting this.

  2. #2
    Join Date
    Jul 2006
    Location
    Surrey, BC, Canada
    Posts
    31


    Did you find this post helpful? Yes | No

    Default Generation problems

    Hello, thank you everybody for replies.
    Yes, I downloaded program into PIC controller, and I‘m 100% sure there is not generation , because if I use external source of oscillation controller wakes up and works properly. I think my prototype PCB isn’t good and there are some parasitic influence between components. What are there general rules exist for placing components around PIC controller?
    Vladimir

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Lazy Oscillator

    Hi Vladimir,
    Running at 4 MHZ you should not have too many RF issues as the frequency is so low. When you program the chip - make sure the programmer is set to " XT " for 4 mhz if it is set to " HS "or " RC" it will not oscillate with a resonator or crystal. Since 4 MHZ is the default speed for this chip I do not believe you need to DEFINE it in the code, I never have for 4 mhz and they always work. Also make sure no other loads are attached to pins 15 or 16, just the crystal and 22pf caps.
    I Hope this helps.
    JS

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 01:08

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