16F628A and 37 KHZ internal clock


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Location
    Brasil, Sao Paulo, Campinas
    Posts
    54


    Did you find this post helpful? Yes | No

    Default Re: 16F628A and 37 KHZ internal clock

    Look Henrik,
    14.3 Special Feature: Dual Speed
    Oscillator Modes
    A software programmable Dual Speed Oscillator mode
    is provided when the PIC16F62X is configured in either
    ER or INTRC Oscillator modes. This feature allows
    users to dynamically toggle the oscillator speed
    between 4 MHz and 37 kHz. In ER mode, the 4 MHz
    setting will vary depending on the value of the external
    resistor. Also in ER mode, the 37 kHz operation is fixed
    and does not vary with resistor value. Applications that
    require low current power savings, but cannot tolerate
    putting the part into SLEEP, may use this mode.
    The OSCF bit in the PCON register is used to control
    Dual Speed mode. See Section 3.2.2.6, Register 3-4.

    And Archangel, I will test it, thanks!

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: 16F628A and 37 KHZ internal clock

    Hi,
    But that's the thing. You're quoting "the same" paragraph of the datasheet as I was but in "your" datasheet it says 37kHz, while in "mine" it says 48kHz. One of them is wrong or they've changed the silicon (unlikely). I'm not saying mine's correct and your's wrong (actually perhaps I am....) just that there is an inconsistency and that the 37kHz you might think you're running at might not be 37kHz.

    The one I'm reading is called DS40044F and is dated 2007. Is it possible that you're looking at either an old version (prior to revision C is my guess) of the datasheet OR perhaps a version for the 16F628 (non A version?)

    Anyway, good luck with the project!

    /Henrik.

  3. #3
    Join Date
    Dec 2006
    Location
    Brasil, Sao Paulo, Campinas
    Posts
    54


    Did you find this post helpful? Yes | No

    Default Re: 16F628A and 37 KHZ internal clock

    Hi Henrik,

    Thanks for your help.
    I solved the problem using internal OSC config ( the noise finished using 37/48KHZ or 4 MHZ).
    I don't remember where I downloaded the datasheet, but I perceved that was very slow speed. Maybe was 16f628 as you said.
    Thank you again my friend.

Similar Threads

  1. Configure Internal Oscillator 16F628A
    By scasale in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 27th February 2012, 06:11
  2. LED CLOCK using 16F628A
    By bentech4u in forum mel PIC BASIC
    Replies: 7
    Last Post: - 4th November 2008, 21:27
  3. external clock / internal clock
    By grounded in forum General
    Replies: 4
    Last Post: - 31st May 2008, 17:44
  4. counter/ internal clock
    By jimbobjones in forum General
    Replies: 10
    Last Post: - 30th April 2007, 13:28
  5. 16F628 Internal clock
    By srob in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th February 2007, 18:46

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