1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

18F2431 CLKO

Discussion in 'Oshonsoft' started by camerart, Nov 29, 2015.

  1. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,304
    Likes:
    11
    Location:
    Dorset UK.
    Hi,

    Does anyone have experience with a PIC internal oscillator stalling?

    Is it possible to check the internal oscillator with CLKO?

    Camerart.
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,141
    Likes:
    907
    Location:
    Rochdale UK
    ONLINE
    If you use the INTIO1 setting there will be a FOSC/4 output on RA6.....
     
  3. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,304
    Likes:
    11
    Location:
    Dorset UK.
    Hi Ian,

    I think that means 'the clock frequency divided by 4' I'll try that.

    In the mean time, I've been moving 'RB = 1-7' down the program, to see which ones are 5v, when it stops. I think I've found the line where the program stops.

    I have to use these methods as the program is written in Oshonsoft and for certain reasons, in this case will not simulate.

    Thanks. C.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,304
    Likes:
    11
    Location:
    Dorset UK.

    Hi again Ian,

    As I need RC6 and 7 as TX and RX for testing using Terminals, I won't be able to try INTIO.

    Cheers, C.
     
  6. Mity Eltu

    Mity Eltu Member

    Joined:
    Apr 1, 2014
    Messages:
    49
    Likes:
    0
    Location:
    Tennessee, USA
    I think maybe you misunderstood what he typed. Port A6 is used as an output for the clock if INTIO1 is used. This will not interfere with the function of Port C6 or C7. These pins can still be used as tx/rx.
     
  7. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,304
    Likes:
    11
    Location:
    Dorset UK.
    Hi Mity,

    A spot of dyslexia! I keep doing that, thanks.

    C.
     

Share This Page