Re: Slow starting up
These hex values match the 16F818 as expected.
from your code..........................
'osccon values for 16f818/819:
'OSCCON = $00 'for 31.25 khz
'OSCCON = $10 '125khz
'OSCCON = $20 '250khz
'OSCCON = $30 '500khz
'OSCCON = $40 '1mhz
'OSCCON = $50 '2mhz
OSCCON = $60 '4mhz 'set int osc to 4mhz
'OSCCON = $70 '8mhz
from the data sheet.....................
bit 6-4 IRCF2:IRCF0: Internal Oscillator Frequency Select bits
111 = 8 MHz (8 MHz source drives clock directly)
110 = 4 MHz
101 = 2 MHz
100 = 1 MHz
011 = 500 kHz
010 = 250 kHz
001 = 125 kHz
000 = 31.25 kHz (INTRC source drives clock directly)
I don't understand the issue?
Dave Purola,
N8NTA
EN82fn
Bookmarks