internal oscillator

Thread Starter

ratan.pic

Joined Mar 6, 2009
1
hi,
I am using pic 12f675 8-pin Ic and I want to use all 6 i/o pins for my application .
I am using MPlAB IDE 8.2 and my program is in .asm so I want to know how can I configure to use internal oscillator in use as I don't want to use any external crystal or RC circuit on the available pins. please send source code if possible.
 

Gert

Joined Mar 19, 2009
6
Hi

Try this:
__CONFIG _INTRC_OSC_NOCLKOUT

I hop that this will help.(not entyerty sure but I think that it will work)
Just a the rest of the configerations afterwardes.

Gert
 

thatoneguy

Joined Feb 19, 2009
6,359
Here is the config line to use all IO on the 12F675, and disable the watchdog timer with MPLAB Assembler:

__CONFIG _MCLRE_OFF&_CP_OFF&_WDT_OFF&_IntRC_OSC_NO_CLKOUT

Also pay special attention to SgtWookie's post above, and the datasheet.
 
Top