PDA

View Full Version : 12F629 int clk



gammablok
- 19th October 2009, 20:34
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

mackrackit
- 19th October 2009, 21:32
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 :)

gammablok
- 23rd October 2009, 01:41
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

mackrackit
- 23rd October 2009, 02:37
Can you explain exactly what you are trying to do and who or what you are doing it to?