• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Proteus ISIS PIC 18F processor speed setting problem

Mosaic

Well-Known Member
Thread starter #1
Hello All:
Using an 18F26J50, no matter what processor speed setting (processor properties) I try, it is running at 4Mhz.
With a 16F886...it runs at any speed I set properly.

Any advice on this?
 

Mosaic

Well-Known Member
Thread starter #2
Ok figured it out. Needed to setup the following:
OSC = INTOSCPLL, PLLDIV=2 . & IESO =ON config bits.
Then setup the OSCCON to 8MHz and enable the PLLEN & INTSRC bits in OSCTUNE in the code.
83nS per instruction = 12MIPS @48Mhz.
 

Latest threads

EE World Online Articles

Loading

 
Top