Internal osc config PIC12F609


Closed Thread
Results 1 to 5 of 5
  1. #1
    Pedro Pinto's Avatar
    Pedro Pinto Guest

    Default Internal osc config PIC12F609

    Hello

    For the PIC12F509 i have this command on the top of the code
    DEFINE OSCCAL_1K 1

    and now i want to use the PIC12F609 and i'm not sure if must change
    the command to DEFINE OSCCAL_1K 2

    Thanks for information

    Regards
    Pedro

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


    Did you find this post helpful? Yes | No

    Default

    There's no OSCCAL register for this PIC, but OSCTUNE. The internal OSC is factory calibrated... well by the datasheet section 3.4.1.1.
    Steve

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

  3. #3
    Pedro Pinto's Avatar
    Pedro Pinto Guest


    Did you find this post helpful? Yes | No

    Default

    Hello

    Sorry, correct is
    I use the pic 12F508 and want use the pic12F509
    What is correct on top from code

    DEFINE OSCCAL_1K 1
    or
    DEFINE OSCCAL_1K 2


    Thanks
    Regards
    Pedro

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


    Did you find this post helpful? Yes | No

    Default

    Ah now that's different.. yes DEFINE OSCCAL_2K 1 is the right one for a 12F509
    Steve

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

  5. #5
    Pedro Pinto's Avatar
    Pedro Pinto Guest


    Did you find this post helpful? Yes | No

    Default

    Hello Mister_e

    Thank you

    Regards
    Pedro

Similar Threads

  1. Internal vs. external osc for comms
    By mtripoli in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th January 2010, 15:58
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd November 2008, 00:51
  3. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 18:20
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 16:26
  5. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 04:56

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