PIC10F200/202/204/206
4.6
OSCCAL Register
The Oscillator Calibration (OSCCAL) register is used to
calibrate the internal precision 4 MHz oscillator. It
contains seven bits for calibration
.
Note:
Erasing the device will also erase the pre-
programmed internal calibration value for
the internal oscillator. The calibration
value must be read prior to erasing the
part so it can be reprogrammed correctly
later.
After you move in the calibration constant, do not
change the value. See
REGISTER 4-3:
R/W-1
CAL6
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-1
OSCCAL REGISTER
R/W-1
CAL5
R/W-1
CAL4
R/W-1
CAL3
R/W-1
CAL2
R/W-1
CAL1
R/W-1
CAL0
R/W-0
FOSC4
bit 0
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
CAL<6:0>:
Oscillator Calibration bits
0111111
= Maximum frequency
•
•
•
0000001
0000000
= Center frequency
1111111
•
•
•
1000000
=Minimum frequency
FOSC4:
INTOSC/4 Output Enable bit
(1)
1
= INTOSC/4 output onto GP2
0
= GP2/T0CKI/COUT applied to GP2
Overrides GP2/T0CKI/COUT control registers when enabled.
bit 0
Note 1:
©
2007 Microchip Technology Inc.
DS41239D-page 21