PDA

View Full Version : PiC12F675 w/10Mhz Xtal, any special consideration?



ewandeur
- 7th March 2007, 10:13
Hi,

I ever use internal osc, is there any special consideration (hardware or software) in use a PIC12F675 with a external Xtal?
I'm using a propic2 programmer and IC-Prog 1.05D (XT oscillator) to burn the PIC.

I've tried all combinations I Knew without success.

Can anyone help me with this ?

Acetronics2
- 7th March 2007, 10:42
MHHHHHHH ...

10 Mhz needs HS Setting Oscillator ... first of all !

Alain

malc-c
- 7th March 2007, 10:59
One thing to check is the value of capacitors used with the 10 Mhz crystal. Page 53 of the datasheet states a value of 15-30 pF. Generally I use 22pf for most of my PIC projects when using external crystals.

As Alain stated, using a 10Mhz crystal requires HS setting and not XT

ewandeur
- 9th March 2007, 16:05
I tried to use HS as external oscillator and connected 22 pF caps, but still it didn't work.
Is there any other setup to do in IC-Prog or other hardware recomendation?

Tks

mister_e
- 9th March 2007, 16:09
Did you defined the HS osc mode in your code?

@ __CONFIG _HS_OSC & _WDT_OFF & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON
DEFINE OSC 8
http://www.picbasic.co.uk/forum/showthread.php?t=543

I don't know if IC-PROG program automatically those config fuses setting, but in their Command menu they have a Program Config (F4) option.

Acetronics2
- 10th March 2007, 10:50
Hi,ewand

Did you check the clock w/ a scope ( 1/10 probe !!! ) on its output pin ???

... just a thought ...

Alain