12F629 int clk


Closed Thread
Results 1 to 4 of 4

Thread: 12F629 int clk

  1. #1
    Join Date
    Oct 2009
    Location
    Vancouver
    Posts
    2

    Default 12F629 int clk

    Hey hey,
    Can the internal clk on a 12F629 be output to a pin?
    I need to check the stability for driving a RF PLL
    thanks

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

    Default

    Welcome to the forum.

    The pin OSC2 if the configuration bits are set for it will output Fosc/4.
    Check the data sheet for all the sorted details
    Last edited by mackrackit; - 19th October 2009 at 21:37.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Oct 2009
    Location
    Vancouver
    Posts
    2

    Default

    Hey thanks mackrackit

    Got the I2C to write to a PLL chip but works correctly only on the first write

    FM = $1D
    FL = $74
    C1 = $A0
    C0 = $40
    addr=$CA
    I2CWRITE SDA, SCL, addr, [C1,C0,FM,FL]

    Above works great

    FM = $1E
    FL = $3D
    C1 = $A0
    C0 = $40
    addr=$CA
    I2CWRITE SDA, SCL, addr, [C1,C0,FM,FL]

    This second write sends erroneous coefficients to the PLL

    Any ideas?
    Cheers, John

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

    Default

    Can you explain exactly what you are trying to do and who or what you are doing it to?
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Instant Int and encoder (Elect. Gearing)
    By boroko in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th November 2009, 02:29
  2. help: TMR0 interrupts disabling PORTAchange interrupts???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th August 2008, 15:10
  3. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 02:37
  4. strange int behaviour
    By tom in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2005, 15:41
  5. Servo control with 12F629
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd June 2005, 23:34

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