OSCCAL for 16F88 help?


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    cooper66's Avatar
    cooper66 Guest

    Default OSCCAL for 16F88 help?

    I'm fairly new to this, but have built a few things with the 16F84 and 877, I'm now going to try to modify one of my creations to make use of the 16F88's extra memory, but I don't know how to set the internal oscillator for different clock speeds. If
    DEFINE OSCCAL_1K is for 1000 word chips and 2K is for 2000 word chips, can someone tell me how to define the OSCCAL for the 8 different frequency's that the F88 can be set to? I'm using PICBasic Pro and MeLabs EPIC plus programmer and the PM assembler. I have the updated versions that support the 16F88 but have no idea how to make use of the internal oscillator.
    thnx in advance for any help,
    dan

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    This has been touched only a couple of weeks back.

    A search on 16F88 would have found...

    http://www.picbasic.co.uk/forum/show...ghlight=thread

    Define OSCCAL is really only for the 12 series PICs and does not set the frequency 'per se', but loads the factory calibration values to trim the simple 4MHz internal oscillator as close as it gets.

    Don't forget to tell PBP the Oscillator setting you've switched into... see Define OSC in the PBP manual.

Similar Threads

  1. 12C671 & Osccal register - I am confused
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th December 2009, 06:03
  2. How to Reset Osccal Value
    By greensasquatch in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 1st September 2008, 03:11
  3. 12f509 and OSCCAL
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 20th October 2007, 01:35
  4. 16F630 OSCCAL value warning - PICKit2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd September 2007, 19:12
  5. Problem DEFINE OSCCAL and PBP 2.46
    By David in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd April 2005, 17:19

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