
PIC16C505
DS40192D-page 16
1999-2012 Microchip Technology Inc.
4.5
OSCCAL Register
The Oscillator Calibration (OSCCAL) register is used to
calibrate the internal 4 MHz oscillator. It contains six
bits for calibration
After you move in the calibration constant, do not
Note:
Please note that 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 repro-
grammed correctly later.
REGISTER 4-3:
OSCCAL REGISTER (ADDRESS 05h) PIC16C505
R/W-1
R/W-0
U-0
CAL5
CAL4
CAL3
CAL2
CAL1
CAL0
—
R
= Readable bit
W = Writable bit
U
= Unimplemented bit,
read as ‘0’
- n = Value at POR reset
bit7
bit0
bit 7-2:
CAL<5:0>: Calibration
bit 1-0:
Unimplemented read as ‘0’