PiC12F675 w/10Mhz Xtal, any special consideration?


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Location
    Sao Paulo - Brazil
    Posts
    16

    Default PiC12F675 w/10Mhz Xtal, any special consideration?

    Hi,

    I ever use internal osc, is there any special consideration (hardware or software) in use a PIC12F675 with a external Xtal?
    I'm using a propic2 programmer and IC-Prog 1.05D (XT oscillator) to burn the PIC.

    I've tried all combinations I Knew without success.

    Can anyone help me with this ?

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


    Did you find this post helpful? Yes | No

    Lightbulb Datasheet !!!

    MHHHHHHH ...

    10 Mhz needs HS Setting Oscillator ... first of all !

    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 " !!!
    *****************************************

  3. #3
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default Hardware

    One thing to check is the value of capacitors used with the 10 Mhz crystal. Page 53 of the datasheet states a value of 15-30 pF. Generally I use 22pf for most of my PIC projects when using external crystals.

    As Alain stated, using a 10Mhz crystal requires HS setting and not XT

  4. #4
    Join Date
    Feb 2007
    Location
    Sao Paulo - Brazil
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    I tried to use HS as external oscillator and connected 22 pF caps, but still it didn't work.
    Is there any other setup to do in IC-Prog or other hardware recomendation?

    Tks

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Did you defined the HS osc mode in your code?
    Code:
        @ __CONFIG _HS_OSC & _WDT_OFF & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON
        DEFINE OSC 8
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    I don't know if IC-PROG program automatically those config fuses setting, but in their Command menu they have a Program Config (F4) option.
    Last edited by mister_e; - 9th March 2007 at 16:16.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Cool The good question ...

    Hi,ewand

    Did you check the clock w/ a scope ( 1/10 probe !!! ) on its output pin ???

    ... just a thought ...

    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. PIC12F675 problem with port 5
    By NL2TTL in forum mel PIC BASIC
    Replies: 2
    Last Post: - 5th June 2009, 01:23
  2. SERIN with a PIC12F675
    By ewandeur in forum Serial
    Replies: 4
    Last Post: - 30th July 2007, 15:04
  3. PIC12F675 trouble
    By russman613 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th February 2006, 18:40

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