Internal Osc question.


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216

    Default Internal Osc question.

    Hi everyone.
    I am using an 'F819 for a little thing I am doing.
    I am doing some serial stuff using DEBUG at 600baud.
    This works perfectly when using XT osc with a crystal, but as soon as I go over to INTOSC and define osc 4, the sent stuff turns into junk. I am viewing these items on the PBP terminal view.
    This begs the question, just how accurate is the internal oscillator on these (& other) PICs. It's just going to be a pain to have to use a crystal, since I have already done the PCB for the project, or at least pinched one from another project that doesn't use serial coms.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

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


    Did you find this post helpful? Yes | No

    Wink

    Hi, Peter

    I did some measurements on the intOscs ( not '819 ...)

    16F84 ... +/- 20% is to consider for the EXT RC osc ... ( includes components tolerance )

    16F628(A) ... +/- 10 % of nominal freq is to consider

    16F88 ... +/- 2 to 3 % of nominal freq to consider.


    But you have the "OscTune" register to play with ... The use of MPLAB + ICD2 could be helpful here !!!

    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
    Join Date
    Aug 2008
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Can you try to use 2400 for DEBUG_BAUD. I'm using other PIC, and it is working fine with internal OSC.
    Last edited by Pic2008; - 31st August 2008 at 14:06.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    For what it is worth, I have never been able to use the internal reliably to serial. It may work on the test bench some, but move it someplace else (different temperature ?) and it will start sending "junk".

    At least if you use a crystal with built in caps (resonator) it can be pretty much placed anywhere on the PCB with jumpers and super glue
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    Thanks folks.
    No, the speed must be 600 'cos that's what the receiving device wants. I will probably end up using a resonator, just 'cos I can!
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

Similar Threads

  1. Internal vs. external osc for comms
    By mtripoli in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th January 2010, 14:58
  2. Replies: 2
    Last Post: - 7th October 2009, 00:06
  3. 16F88 bootlader with Internal OSC
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 2nd August 2009, 10:15
  4. 18F4520 and internal osc & PLL
    By pwhitt in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th September 2008, 06:38
  5. 12f675 internal osc question.....
    By Gabe@SPdFtsh in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th January 2004, 06:33

Members who have read this thread : 1

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